CMS: Unknown
Server IP: 162.214.74.50
Root:
/home/iideug/public_html/harshils.iideug.com
Directory:
home
/
iideug
/
public_html
/
mithil.iideug.com
/
wp-admin
/
includes
File: /home/iideug/public_html/mithil.iideug.com/wp-admin/includes/class-theme-upgrader-skin.php
<?php /** * Upgrader API: Theme_Upgrader_Skin class * * @package WordPress * @subpackage Upgrader * @since 4.6.0 */ /** * Theme Upgrader Skin for WordPress Theme 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 Theme_Upgrader_Skin extends WP_Upgrader_Skin { /** * Holds the theme slug in the Theme Directory. * * @since 2.8.0 * * @var string */ public $theme = ''; /** * Constructor. * * Sets up the theme upgrader skin. * * @since 2.8.0 * * @param array $args Optional. The theme upgrader skin arguments to * override default options. Default empty array. */ public function __construct( $args = array() ) { $defaults = array( 'url' => '', 'theme' => '', 'nonce' => '', 'title' => __( 'Update Theme' ), ); $args = wp_parse_args( $args, $defaults ); $this->theme = $args['theme']; parent::__construct( $args ); } /** * Performs an action following a single theme update. * * @since 2.8.0 */ public function after() { $this->decrement_update_count( 'theme' ); $update_actions = array(); $theme_info = $this->upgrader->theme_info(); if ( $theme_info ) { $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 ); $customize_url = add_query_arg( array( 'theme' => urlencode( $stylesheet ), 'return' => urlencode( admin_url( 'themes.php' ) ), ), admin_url( 'customize.php' ) ); if ( get_stylesheet() === $stylesheet ) { if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { $update_actions['preview'] = sprintf( '<a href="%s" class="hide-if-no-customize load-customize">' . '<span aria-hidden="true">%s</span><span class="screen-reader-text">%s</span></a>', esc_url( $customize_url ), __( 'Customize' ), /* translators: Hidden accessibility text. %s: Theme name. */ sprintf( __( 'Customize “%s”' ), $name ) ); } } elseif ( current_user_can( 'switch_themes' ) ) { if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { $update_actions['preview'] = sprintf( '<a href="%s" class="hide-if-no-customize load-customize">' . '<span aria-hidden="true">%s</span><span class="screen-reader-text">%s</span></a>', esc_url( $customize_url ), __( 'Live Preview' ), /* translators: Hidden accessibility text. %s: Theme name. */ sprintf( __( 'Live Preview “%s”' ), $name ) ); } $update_actions['activate'] = sprintf( '<a href="%s" class="activatelink">' . '<span aria-hidden="true">%s</span><span class="screen-reader-text">%s</span></a>', esc_url( $activate_link ), _x( 'Activate', 'theme' ), /* translators: Hidden accessibility text. %s: Theme name. */ sprintf( _x( 'Activate “%s”', 'theme' ), $name ) ); } if ( ! $this->result || is_wp_error( $this->result ) || is_network_admin() ) { unset( $update_actions['preview'], $update_actions['activate'] ); } } $update_actions['themes_page'] = sprintf( '<a href="%s" target="_parent">%s</a>', self_admin_url( 'themes.php' ), __( 'Go to Themes page' ) ); /** * Filters the list of action links available following a single theme update. * * @since 2.8.0 * * @param string[] $update_actions Array of theme action links. * @param string $theme Theme directory name. */ $update_actions = apply_filters( 'update_theme_complete_actions', $update_actions, $this->theme ); if ( ! empty( $update_actions ) ) { $this->feedback( implode( ' | ', (array) $update_actions ) ); } } }
Name
Size
Modify
Permissions
Actions
admin-filters.php
7.8 kb
2025-10-21 13:46:24
644
U
E
O
D
ajax-actions.php
148.3 kb
2025-08-15 11:01:30
644
U
E
O
D
class-automatic-upgrader-skin.php
3.6 kb
2023-06-22 14:36:26
644
U
E
O
D
class-bulk-plugin-upgrader-skin.php
2.5 kb
2024-05-02 17:20:10
644
U
E
O
D
class-bulk-theme-upgrader-skin.php
2.6 kb
2024-05-02 17:20:10
644
U
E
O
D
class-bulk-upgrader-skin.php
6.6 kb
2024-05-02 17:20:10
644
U
E
O
D
class-file-upload-upgrader.php
4.1 kb
2024-03-07 05:58:16
644
U
E
O
D
class-ftp-pure.php
5.3 kb
2019-11-01 14:57:02
644
U
E
O
D
class-language-pack-upgrader-skin.php
2.8 kb
2024-05-02 17:20:10
644
U
E
O
D
class-plugin-upgrader-skin.php
3.2 kb
2023-06-14 06:34:28
644
U
E
O
D
class-theme-installer-skin.php
12.8 kb
2025-11-10 21:08:06
644
U
E
O
D
class-theme-upgrader-skin.php
4.1 kb
2024-02-26 20:35:08
644
U
E
O
D
class-walker-category-checklist.php
5 kb
2024-08-13 23:37:16
644
U
E
O
D
class-walker-nav-menu-checklist.php
5.6 kb
2026-03-10 14:01:32
644
U
E
O
D
class-wp-ajax-upgrader-skin.php
4.1 kb
2023-06-22 14:36:26
644
U
E
O
D
class-wp-application-passwords-list-table.php
6.8 kb
2024-02-16 21:47:12
644
U
E
O
D
class-wp-comments-list-table.php
32.4 kb
2026-01-27 02:19:34
644
U
E
O
D
class-wp-community-events.php
18.2 kb
2025-06-02 15:00:28
644
U
E
O
D
class-wp-links-list-table.php
9 kb
2024-07-17 15:43:16
644
U
E
O
D
class-wp-list-table-compat.php
1.5 kb
2020-11-14 16:54:08
644
U
E
O
D
class-wp-media-list-table.php
25.3 kb
2025-03-17 18:54:28
644
U
E
O
D
class-wp-ms-sites-list-table.php
21.6 kb
2025-06-27 15:09:32
644
U
E
O
D
class-wp-ms-themes-list-table-schema.php
358 b
2024-05-02 17:20:10
644
U
E
O
D
class-wp-ms-themes-list-table.php
27.8 kb
2025-03-10 18:16:28
644
U
E
O
D
class-wp-ms-users-list-table.php
15.4 kb
2025-02-27 00:09:24
644
U
E
O
D
class-wp-plugin-install-list-table.php
24.5 kb
2025-07-31 22:49:34
644
U
E
O
D
class-wp-plugins-list-table.php
56.4 kb
2025-09-08 20:58:38
644
U
E
O
D
class-wp-post-comments-list-table.php
1.4 kb
2022-10-04 03:47:16
644
U
E
O
D
class-wp-posts-list-table.php
63.7 kb
2025-07-25 15:17:22
644
U
E
O
D
class-wp-privacy-data-export-requests-list-table.php
5.4 kb
2022-03-10 19:22:02
644
U
E
O
D
class-wp-privacy-data-removal-requests-list-table.php
5.6 kb
2023-09-08 09:32:24
644
U
E
O
D
class-wp-privacy-policy-content.php
31.9 kb
2025-08-27 10:34:28
644
U
E
O
D
class-wp-site-health-auto-updates.php
14 kb
2024-11-04 15:25:18
644
U
E
O
D
class-wp-site-health.php
121.9 kb
2025-11-04 08:50:36
644
U
E
O
D
class-wp-site-icon.php
6.3 kb
2024-03-02 20:15:14
644
U
E
O
D
class-wp-terms-list-table.php
20.7 kb
2025-07-23 17:00:42
644
U
E
O
D
class-wp-theme-install-list-table.php
15.2 kb
2025-01-21 21:49:22
644
U
E
O
D
class-wp-themes-list-table.php
10.1 kb
2025-08-27 10:34:28
644
U
E
O
D
class-wp-upgrader-skin.php
6.9 kb
2024-05-02 17:20:10
644
U
E
O
D
class-wp-upgrader-skins.php
1.4 kb
2019-10-08 17:19:04
644
U
E
O
D
class-wp-users-list-table.php
18.6 kb
2024-01-10 11:57:16
644
U
E
O
D
continents-cities.php
20.1 kb
2022-09-19 23:24:12
644
U
E
O
D
credits.php
5.7 kb
2024-12-19 03:44:24
644
U
E
O
D
edit-tag-messages.php
1.4 kb
2021-12-07 12:20:02
644
U
E
O
D
media.php
116.3 kb
2025-12-01 14:26:32
644
U
E
O
D
ms-admin-filters.php
1.3 kb
2022-09-20 02:51:10
644
U
E
O
D
noop.php
1.1 kb
2023-09-21 01:27:26
644
U
E
O
D
translation-install.php
10.8 kb
2024-09-11 12:08:20
644
U
E
O
D