Submit
Path:
~
/
home
/
getwphos
/
public_html
/
giulianos
/
wp-content
/
plugins
/
gravityforms
/
includes
/
File Content:
class-gf-background-upgrader.php
<?php /** * Background Upgrader * * Uses https://github.com/A5hleyRich/wp-background-processing to handle DB * updates in the background. * * @class GF_Background_Upgrader * @version 2.3 * @category Class * @author Rocketgenius */ use Gravity_Forms\Gravity_Forms\Async\GF_Background_Process; if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Gravity_Forms\Gravity_Forms\Async\GF_Background_Process' ) ) { require_once GF_PLUGIN_DIR_PATH . 'includes/async/class-gf-background-process.php'; } /** * GF_Background_Upgrader Class. */ class GF_Background_Upgrader extends GF_Background_Process { /** * @var string */ protected $action = 'gf_upgrader'; /** * Returns the data for the background upgrader. * * @since 2.3 * * @return array */ public function get_data() { return $this->data; } /** * Is the queue empty for all blogs? * * @since 2.3 * * @return bool */ public function is_queue_empty() { return parent::is_queue_empty(); } /** * Is the updater running? * @return boolean */ public function is_updating() { return false === $this->is_queue_empty(); } /** * Task * * Override this method to perform any actions required on each * queue item. Return the modified item for further processing * in the next pass through. Or, return false to remove the * item from the queue. * * @param string $callback Update callback function * @return mixed */ protected function task( $callback ) { if ( ! defined( 'GF_UPGRADING' ) ) { define( 'GF_UPGRADING', true ); } if ( is_callable( $callback ) ) { GFCommon::log_debug( sprintf( '%s(): Running callback: %s', __METHOD__, print_r( $callback, 1 ) ) ); $needs_more_time = call_user_func( $callback ); if ( $needs_more_time ) { GFCommon::log_debug( sprintf( '%s(): Callback needs another run: %s', __METHOD__, print_r( $callback, 1 ) ) ); return $callback; } else { GFCommon::log_debug( sprintf( '%s(): Finished callback: %s', __METHOD__, print_r( $callback, 1 ) ) ); } } else { GFCommon::log_debug( sprintf( '%s(): Could not find callback: %s', __METHOD__, print_r( $callback, 1 ) ) ); } return false; } /** * Complete * * Override if applicable, but ensure that the below actions are * performed, or, call parent::complete(). */ protected function complete() { parent::complete(); } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
addon
---
0755
ajax
---
0755
assets
---
0755
async
---
0755
author-select
---
0755
blocks
---
0755
config
---
0755
duplicate-submissions
---
0755
editor-button
---
0755
embed-form
---
0755
environment-config
---
0755
external-api
---
0755
fields
---
0755
form-display
---
0755
form-editor
---
0755
form-switcher
---
0755
honeypot
---
0755
legacy
---
0755
libraries
---
0755
license
---
0755
locking
---
0755
logging
---
0755
merge-tags
---
0755
messages
---
0755
notification
---
0755
orders
---
0755
phpqrcode
---
0755
post-custom-field-select
---
0755
query
---
0755
save-form
---
0755
settings
---
0755
setup-wizard
---
0755
splash-page
---
0755
system-status
---
0755
telemetry
---
0755
template-library
---
0755
templates
---
0755
theme-layers
---
0755
transients
---
0755
updates
---
0755
util
---
0755
webapi
---
0755
wizard
---
0755
api.php
101499 bytes
0644
class-confirmation.php
34714 bytes
0644
class-gf-background-upgrader.php
2408 bytes
0644
class-gf-download.php
7669 bytes
0644
class-gf-osdxp.php
10153 bytes
0644
class-gf-service-container.php
1908 bytes
0644
class-gf-service-provider.php
2659 bytes
0644
class-gf-upgrade.php
74277 bytes
0644
class-gravity-api.php
16408 bytes
0644
class-personal-data.php
40638 bytes
0644
class-translationspress-updater.php
12652 bytes
0644
index.php
27 bytes
0644
trait-redirects-on-save.php
2230 bytes
0644
upload.php
18793 bytes
0644
N4ST4R_ID | Naxtarrr