Submit
Path:
F:
/
Inetpub
/
vhosts
/
solasmarine.com.tr
/
httpdocs
/
wp-admin
/
includes
/
File Content:
class-wp-ajax-upgrader-skin.php
<?php /** * Upgrader API: WP_Ajax_Upgrader_Skin class * * @package WordPress * @subpackage Upgrader * @since 4.6.0 */ /** * Upgrader Skin for Ajax WordPress upgrades. * * This skin is designed to be used for Ajax updates. * * @since 4.6.0 * * @see Automatic_Upgrader_Skin */ class WP_Ajax_Upgrader_Skin extends Automatic_Upgrader_Skin { /** * Plugin info. * * The Plugin_Upgrader::bulk_upgrade() method will fill this in * with info retrieved from the get_plugin_data() function. * * @var array Plugin data. Values will be empty if not supplied by the plugin. */ public $plugin_info = array(); /** * Theme info. * * The Theme_Upgrader::bulk_upgrade() method will fill this in * with info retrieved from the Theme_Upgrader::theme_info() method, * which in turn calls the wp_get_theme() function. * * @var WP_Theme|false The theme's info object, or false. */ public $theme_info = false; /** * Holds the WP_Error object. * * @since 4.6.0 * * @var null|WP_Error */ protected $errors = null; /** * Constructor. * * Sets up the WordPress Ajax upgrader skin. * * @since 4.6.0 * * @see WP_Upgrader_Skin::__construct() * * @param array $args Optional. The WordPress Ajax upgrader skin arguments to * override default options. See WP_Upgrader_Skin::__construct(). * Default empty array. */ public function __construct( $args = array() ) { parent::__construct( $args ); $this->errors = new WP_Error(); } /** * Retrieves the list of errors. * * @since 4.6.0 * * @return WP_Error Errors during an upgrade. */ public function get_errors() { return $this->errors; } /** * Retrieves a string for error messages. * * @since 4.6.0 * * @return string Error messages during an upgrade. */ public function get_error_messages() { $messages = array(); foreach ( $this->errors->get_error_codes() as $error_code ) { $error_data = $this->errors->get_error_data( $error_code ); if ( $error_data && is_string( $error_data ) ) { $messages[] = $this->errors->get_error_message( $error_code ) . ' ' . esc_html( strip_tags( $error_data ) ); } else { $messages[] = $this->errors->get_error_message( $error_code ); } } return implode( ', ', $messages ); } /** * Stores an error message about the upgrade. * * @since 4.6.0 * @since 5.3.0 Formalized the existing `...$args` parameter by adding it * to the function signature. * * @param string|WP_Error $errors Errors. * @param mixed ...$args Optional text replacements. */ public function error( $errors, ...$args ) { if ( is_string( $errors ) ) { $string = $errors; if ( ! empty( $this->upgrader->strings[ $string ] ) ) { $string = $this->upgrader->strings[ $string ]; } if ( str_contains( $string, '%' ) ) { if ( ! empty( $args ) ) { $string = vsprintf( $string, $args ); } } // Count existing errors to generate a unique error code. $errors_count = count( $this->errors->get_error_codes() ); $this->errors->add( 'unknown_upgrade_error_' . ( $errors_count + 1 ), $string ); } elseif ( is_wp_error( $errors ) ) { foreach ( $errors->get_error_codes() as $error_code ) { $this->errors->add( $error_code, $errors->get_error_message( $error_code ), $errors->get_error_data( $error_code ) ); } } parent::error( $errors, ...$args ); } /** * Stores a message about the upgrade. * * @since 4.6.0 * @since 5.3.0 Formalized the existing `...$args` parameter by adding it * to the function signature. * @since 5.9.0 Renamed `$data` to `$feedback` for PHP 8 named parameter support. * * @param string|array|WP_Error $feedback Message data. * @param mixed ...$args Optional text replacements. */ public function feedback( $feedback, ...$args ) { if ( is_wp_error( $feedback ) ) { foreach ( $feedback->get_error_codes() as $error_code ) { $this->errors->add( $error_code, $feedback->get_error_message( $error_code ), $feedback->get_error_data( $error_code ) ); } } parent::feedback( $feedback, ...$args ); } }
Edit
Rename
Chmod
Delete
FILE
DIR
INFO
CMD
Name
Size
Permission
Action
admin-filters.php
8034bytes
0666
admin.php
3628bytes
0666
ajax-actions.php
152775bytes
0666
bookmark.php
11678bytes
0666
class-automatic-upgrader-skin.php
3663bytes
0666
class-bulk-plugin-upgrader-skin.php
2590bytes
0666
class-bulk-theme-upgrader-skin.php
2660bytes
0666
class-bulk-upgrader-skin.php
6661bytes
0666
class-core-upgrader.php
15198bytes
0666
class-custom-background.php
21706bytes
0666
class-custom-image-header.php
49183bytes
0666
class-file-upload-upgrader.php
4163bytes
0666
class-ftp-pure.php
5426bytes
0666
class-ftp-sockets.php
8479bytes
0666
class-ftp.php
27343bytes
0666
class-language-pack-upgrader-skin.php
2870bytes
0666
class-language-pack-upgrader.php
15528bytes
0666
class-pclzip.php
196695bytes
0666
class-plugin-installer-skin.php
11947bytes
0666
class-plugin-upgrader-skin.php
3278bytes
0666
class-plugin-upgrader.php
23249bytes
0666
class-theme-installer-skin.php
12974bytes
0666
class-theme-upgrader-skin.php
4176bytes
0666
class-theme-upgrader.php
26783bytes
0666
class-walker-category-checklist.php
5092bytes
0666
class-walker-nav-menu-checklist.php
5781bytes
0666
class-walker-nav-menu-edit.php
14298bytes
0666
class-wp-ajax-upgrader-skin.php
4193bytes
0666
class-wp-application-passwords-list-table.php
6949bytes
0666
class-wp-automatic-updater.php
61902bytes
0666
class-wp-comments-list-table.php
34613bytes
0666
class-wp-community-events.php
18647bytes
0666
class-wp-debug-data.php
71960bytes
0666
class-wp-filesystem-base.php
24410bytes
0666
class-wp-filesystem-direct.php
18607bytes
0666
class-wp-filesystem-ftpext.php
23273bytes
0666
class-wp-filesystem-ftpsockets.php
18497bytes
0666
class-wp-filesystem-ssh2.php
23390bytes
0666
class-wp-importer.php
7823bytes
0666
class-wp-internal-pointers.php
4593bytes
0666
class-wp-links-list-table.php
9514bytes
0666
class-wp-list-table-compat.php
1497bytes
0666
class-wp-list-table.php
53080bytes
0666
class-wp-media-list-table.php
27036bytes
0666
class-wp-ms-sites-list-table.php
22765bytes
0666
class-wp-ms-themes-list-table.php
30227bytes
0666
class-wp-ms-users-list-table.php
15691bytes
0666
class-wp-plugin-install-list-table.php
24974bytes
0666
class-wp-plugins-list-table.php
58107bytes
0666
class-wp-post-comments-list-table.php
1453bytes
0666
class-wp-posts-list-table.php
64983bytes
0666
class-wp-privacy-data-export-requests-list-table.php
5563bytes
0666
class-wp-privacy-data-removal-requests-list-table.php
5715bytes
0666
class-wp-privacy-policy-content.php
32665bytes
0666
class-wp-privacy-requests-table.php
14791bytes
0666
class-wp-screen.php
37440bytes
0666
class-wp-site-health-auto-updates.php
14337bytes
0666
class-wp-site-health.php
131241bytes
0666
class-wp-site-icon.php
6414bytes
0666
class-wp-terms-list-table.php
21071bytes
0666
class-wp-theme-install-list-table.php
15703bytes
0666
class-wp-themes-list-table.php
10339bytes
0666
class-wp-upgrader-skin.php
7064bytes
0666
class-wp-upgrader-skins.php
1477bytes
0666
class-wp-upgrader.php
48366bytes
0666
class-wp-users-list-table.php
19004bytes
0666
comment.php
6231bytes
0666
continents-cities.php
20540bytes
0666
credits.php
5832bytes
0666
dashboard.php
70383bytes
0666
deprecated.php
41753bytes
0666
edit-tag-messages.php
1478bytes
0666
export.php
25976bytes
0666
file.php
97913bytes
0666
image-edit.php
43994bytes
0666
image.php
45171bytes
0666
import.php
6617bytes
0666
list-table.php
3802bytes
0666
media.php
119934bytes
0666
menu.php
9640bytes
0666
meta-boxes.php
66857bytes
0666
misc.php
46443bytes
0666
ms-admin-filters.php
1296bytes
0666
ms-deprecated.php
3770bytes
0666
ms.php
34252bytes
0666
nav-menu.php
49127bytes
0666
network.php
27038bytes
0666
noop.php
1148bytes
0666
options.php
4244bytes
0666
plugin-install.php
39040bytes
0666
plugin.php
93281bytes
0666
post.php
82260bytes
0666
privacy-tools.php
33441bytes
0666
revision.php
16629bytes
0666
schema.php
45583bytes
0666
screen.php
6390bytes
0666
taxonomy.php
8483bytes
0666
template.php
99684bytes
0666
theme-install.php
6990bytes
0666
theme.php
47533bytes
0666
translation-install.php
11075bytes
0666
update-core.php
72771bytes
0666
update.php
34844bytes
0666
upgrade.php
116693bytes
0666
user.php
23950bytes
0666
widgets.php
10546bytes
0666