/home/desid573/public_html/magicride.ng/wp-admin/includes
NameSizeModeActions
admin-filters.php68040644editdlrm
admin.php30020644editdlrm
ajax-actions.php1380570644editdlrm
bookmark.php92470644editdlrm
class-automatic-upgrader-skin.php31460644editdlrm
class-bulk-plugin-upgrader-skin.php20560644editdlrm
class-bulk-theme-upgrader-skin.php20910644editdlrm
class-bulk-upgrader-skin.php53060644editdlrm
class-core-upgrader.php144000644editdlrm
class-file-upload-upgrader.php41670644editdlrm
class-ftp-pure.php54000644editdlrm
class-ftp-sockets.php84490644editdlrm
class-ftp.php271250644editdlrm
class-language-pack-upgrader-skin.php23650644editdlrm
class-language-pack-upgrader.php147240644editdlrm
class-pclzip.php1957950644editdlrm
class-plugin-installer-skin.php44590644editdlrm
class-plugin-upgrader-skin.php26810644editdlrm
class-plugin-upgrader.php151830644editdlrm
class-theme-installer-skin.php44300644editdlrm
class-theme-upgrader-skin.php38450644editdlrm
class-theme-upgrader.php202860644editdlrm
class-walker-category-checklist.php42550644editdlrm
class-walker-nav-menu-checklist.php50150644editdlrm
class-walker-nav-menu-edit.php116850644editdlrm
class-wp-ajax-upgrader-skin.php30380644editdlrm
class-wp-automatic-updater.php360270644editdlrm
class-wp-comments-list-table.php277100644editdlrm
class-wp-community-events.php159520644editdlrm
class-wp-debug-data.php442050644editdlrm
class-wp-filesystem-base.php230650644editdlrm
class-wp-filesystem-direct.php164090644editdlrm
class-wp-filesystem-ftpext.php199060644editdlrm
class-wp-filesystem-ftpsockets.php167140644editdlrm
class-wp-filesystem-ssh2.php217220644editdlrm
class-wp-importer.php75220644editdlrm
class-wp-internal-pointers.php43500644editdlrm
class-wp-links-list-table.php77520644editdlrm
class-wp-list-table-compat.php10710644editdlrm
class-wp-list-table.php383700644editdlrm
class-wp-media-list-table.php229110644editdlrm
class-wp-ms-sites-list-table.php158480644editdlrm
class-wp-ms-themes-list-table.php205380644editdlrm
class-wp-ms-users-list-table.php137090644editdlrm
class-wp-plugin-install-list-table.php228650644editdlrm
class-wp-plugins-list-table.php354360644editdlrm
class-wp-post-comments-list-table.php14720644editdlrm
class-wp-posts-list-table.php566250644editdlrm
class-wp-screen.php357010644editdlrm
class-wp-site-health-auto-updates.php125120644editdlrm
class-wp-site-health.php610190644editdlrm
class-wp-site-icon.php61320644editdlrm
class-wp-terms-list-table.php185660644editdlrm
class-wp-theme-install-list-table.php152370644editdlrm
class-wp-themes-list-table.php95330644editdlrm
class-wp-upgrader-skin.php51640644editdlrm
class-wp-upgrader-skins.php14560644editdlrm
class-wp-upgrader.php356580644editdlrm
class-wp-users-list-table.php175410644editdlrm
comment.php60600644editdlrm
continents-cities.php207500644editdlrm
credits.php22080644editdlrm
dashboard.php603480644editdlrm
deprecated.php391730644editdlrm
edit-tag-messages.php14120644editdlrm
export.php234370644editdlrm
file.php946230644editdlrm
image-edit.php347110644editdlrm
image.php229310644editdlrm
import.php66970644editdlrm
list-table.php27790644editdlrm
media.php1102410644editdlrm
menu.php91140644editdlrm
meta-boxes.php611430644editdlrm
misc.php742390644editdlrm
ms-admin-filters.php13700644editdlrm
ms-deprecated.php30300644editdlrm
ms.php347830644editdlrm
nav-menu.php443140644editdlrm
network.php242920644editdlrm
noop.php12310644editdlrm
options.php40970644editdlrm
plugin-install.php338310644editdlrm
plugin.php791270644editdlrm
post.php745120644editdlrm
revision.php156690644editdlrm
schema.php415340644editdlrm
screen.php62140644editdlrm
taxonomy.php79140644editdlrm
template.php879370644editdlrm
theme-install.php65590644editdlrm
theme.php338900644editdlrm
translation-install.php86130644editdlrm
update-core.php577360644editdlrm
update.php279460644editdlrm
upgrade.php1017130644editdlrm
user.php528200644editdlrm
widgets.php106280644editdlrm
Edit: /home/desid573/public_html/magicride.ng/wp-admin/includes/class-theme-installer-skin.php (4430B)
'web', 'url' => '', 'theme' => '', 'nonce' => '', 'title' => '', ); $args = wp_parse_args( $args, $defaults ); $this->type = $args['type']; $this->api = isset( $args['api'] ) ? $args['api'] : array(); parent::__construct( $args ); } /** */ public function before() { if ( ! empty( $this->api ) ) { $this->upgrader->strings['process_success'] = sprintf( $this->upgrader->strings['process_success_specific'], $this->api->name, $this->api->version ); } } /** */ public function after() { if ( empty( $this->upgrader->result['destination_name'] ) ) { return; } $theme_info = $this->upgrader->theme_info(); if ( empty( $theme_info ) ) { return; } $name = $theme_info->display( 'Name' ); $stylesheet = $this->upgrader->result['destination_name']; $template = $theme_info->get_template(); $activate_link = add_query_arg( array( 'action' => 'activate', 'template' => urlencode( $template ), 'stylesheet' => urlencode( $stylesheet ), ), admin_url( 'themes.php' ) ); $activate_link = wp_nonce_url( $activate_link, 'switch-theme_' . $stylesheet ); $install_actions = array(); if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { $customize_url = add_query_arg( array( 'theme' => urlencode( $stylesheet ), 'return' => urlencode( admin_url( 'web' === $this->type ? 'theme-install.php' : 'themes.php' ) ), ), admin_url( 'customize.php' ) ); $install_actions['preview'] = ''; $install_actions['preview'] .= ''; /* translators: %s: theme name */ $install_actions['preview'] .= '' . sprintf( __( 'Live Preview “%s”' ), $name ) . ''; } $install_actions['activate'] = ''; $install_actions['activate'] .= ''; /* translators: %s: theme name */ $install_actions['activate'] .= '' . sprintf( __( 'Activate “%s”' ), $name ) . ''; if ( is_network_admin() && current_user_can( 'manage_network_themes' ) ) { $install_actions['network_enable'] = '' . __( 'Network Enable' ) . ''; } if ( $this->type == 'web' ) { $install_actions['themes_page'] = '' . __( 'Return to Theme Installer' ) . ''; } elseif ( current_user_can( 'switch_themes' ) || current_user_can( 'edit_theme_options' ) ) { $install_actions['themes_page'] = '' . __( 'Return to Themes page' ) . ''; } if ( ! $this->result || is_wp_error( $this->result ) || is_network_admin() || ! current_user_can( 'switch_themes' ) ) { unset( $install_actions['activate'], $install_actions['preview'] ); } /** * Filters the list of action links available following a single theme installation. * * @since 2.8.0 * * @param string[] $install_actions Array of theme action links. * @param object $api Object containing WordPress.org API theme data. * @param string $stylesheet Theme directory name. * @param WP_Theme $theme_info Theme object. */ $install_actions = apply_filters( 'install_theme_complete_actions', $install_actions, $this->api, $stylesheet, $theme_info ); if ( ! empty( $install_actions ) ) { $this->feedback( implode( ' | ', (array) $install_actions ) ); } } }