/home/techb158/public_html/wp-admin/includes
NameSizeModeActions
admin-filters.php80340666editdlrm
admin.php36280666editdlrm
ajax-actions.php1535400666editdlrm
bookmark.php116780666editdlrm
class-automatic-upgrader-skin.php36630666editdlrm
class-bulk-plugin-upgrader-skin.php25900666editdlrm
class-bulk-theme-upgrader-skin.php26600666editdlrm
class-bulk-upgrader-skin.php66610666editdlrm
class-core-upgrader.php151980666editdlrm
class-custom-background.php217500666editdlrm
class-custom-image-header.php492490666editdlrm
class-file-upload-upgrader.php41630666editdlrm
class-ftp-pure.php54260666editdlrm
class-ftp-sockets.php84790666editdlrm
class-ftp.php273420666editdlrm
class-language-pack-upgrader-skin.php28700666editdlrm
class-language-pack-upgrader.php155280666editdlrm
class-pclzip.php1966670666editdlrm
class-plugin-installer-skin.php119470666editdlrm
class-plugin-upgrader-skin.php32780666editdlrm
class-plugin-upgrader.php232490666editdlrm
class-theme-installer-skin.php129740666editdlrm
class-theme-upgrader-skin.php41760666editdlrm
class-theme-upgrader.php267830666editdlrm
class-walker-category-checklist.php50920666editdlrm
class-walker-nav-menu-checklist.php57810666editdlrm
class-walker-nav-menu-edit.php142980666editdlrm
class-wp-ajax-upgrader-skin.php41930666editdlrm
class-wp-application-passwords-list-table.php69490666editdlrm
class-wp-automatic-updater.php619050666editdlrm
class-wp-comments-list-table.php346200666editdlrm
class-wp-community-events.php186470666editdlrm
class-wp-debug-data.php710430666editdlrm
class-wp-filesystem-base.php256220666editdlrm
class-wp-filesystem-direct.php191660666editdlrm
class-wp-filesystem-ftpext.php249260666editdlrm
class-wp-filesystem-ftpsockets.php203560666editdlrm
class-wp-filesystem-ssh2.php258150666editdlrm
class-wp-importer.php82790666editdlrm
class-wp-internal-pointers.php45930666editdlrm
class-wp-links-list-table.php101030666editdlrm
class-wp-list-table-compat.php14970666editdlrm
class-wp-list-table.php548730666editdlrm
class-wp-media-list-table.php277860666editdlrm
class-wp-ms-sites-list-table.php235980666editdlrm
class-wp-ms-themes-list-table.php302660666editdlrm
class-wp-ms-users-list-table.php161880666editdlrm
class-wp-plugin-install-list-table.php250760666editdlrm
class-wp-plugins-list-table.php615490666editdlrm
class-wp-post-comments-list-table.php14530666editdlrm
class-wp-posts-list-table.php684570666editdlrm
class-wp-privacy-data-export-requests-list-table.php60260666editdlrm
class-wp-privacy-data-removal-requests-list-table.php61780666editdlrm
class-wp-privacy-policy-content.php330210666editdlrm
class-wp-privacy-requests-table.php148060666editdlrm
class-wp-screen.php375660666editdlrm
class-wp-site-health-auto-updates.php143370666editdlrm
class-wp-site-health.php1311680666editdlrm
class-wp-site-icon.php64890666editdlrm
class-wp-terms-list-table.php215840666editdlrm
class-wp-theme-install-list-table.php157030666editdlrm
class-wp-themes-list-table.php103390666editdlrm
class-wp-upgrader-skin.php70640666editdlrm
class-wp-upgrader-skins.php14770666editdlrm
class-wp-upgrader.php483670666editdlrm
class-wp-users-list-table.php193510666editdlrm
comment.php94570666editdlrm
continents-cities.php205400666editdlrm
credits.php58320666editdlrm
dashboard.php706160666editdlrm
deprecated.php419600666editdlrm
edit-tag-messages.php14780666editdlrm
export.php259760666editdlrm
file.php984240666editdlrm
image-edit.php441470666editdlrm
image.php451720666editdlrm
import.php66170666editdlrm
list-table.php38020666editdlrm
media.php1201880666editdlrm
menu.php96400666editdlrm
meta-boxes.php668570666editdlrm
misc.php464430666editdlrm
ms-admin-filters.php12960666editdlrm
ms-deprecated.php37700666editdlrm
ms.php359590666editdlrm
nav-menu.php491360666editdlrm
network.php270380666editdlrm
noop.php11480666editdlrm
options.php43030666editdlrm
plugin-install.php391870666editdlrm
plugin.php932950666editdlrm
post.php822290666editdlrm
privacy-tools.php337320666editdlrm
revision.php166290666editdlrm
schema.php455830666editdlrm
screen.php63900666editdlrm
taxonomy.php84830666editdlrm
template.php998300666editdlrm
theme-install.php70100666editdlrm
theme.php475330666editdlrm
translation-install.php110480666editdlrm
update-core.php861420666editdlrm
update.php348290666editdlrm
upgrade.php1166740666editdlrm
user.php239130666editdlrm
widgets.php105460666editdlrm
Edit: /home/techb158/public_html/wp-admin/includes/class-bulk-upgrader-skin.php (6661B)
'', 'nonce' => '', ); $args = wp_parse_args( $args, $defaults ); parent::__construct( $args ); } /** * Sets up the strings used in the update process. * * @since 3.0.0 */ public function add_strings() { $this->upgrader->strings['skin_upgrade_start'] = __( 'The update process is starting. This process may take a while on some hosts, so please be patient.' ); /* translators: 1: Title of an update, 2: Error message. */ $this->upgrader->strings['skin_update_failed_error'] = __( 'An error occurred while updating %1$s: %2$s' ); /* translators: %s: Title of an update. */ $this->upgrader->strings['skin_update_failed'] = __( 'The update of %s failed.' ); /* translators: %s: Title of an update. */ $this->upgrader->strings['skin_update_successful'] = __( '%s updated successfully.' ); $this->upgrader->strings['skin_upgrade_end'] = __( 'All updates have been completed.' ); } /** * Displays a message about the update. * * @since 3.0.0 * @since 5.9.0 Renamed `$string` (a PHP reserved keyword) to `$feedback` for PHP 8 named parameter support. * * @param string $feedback Message data. * @param mixed ...$args Optional text replacements. */ public function feedback( $feedback, ...$args ) { if ( isset( $this->upgrader->strings[ $feedback ] ) ) { $feedback = $this->upgrader->strings[ $feedback ]; } if ( str_contains( $feedback, '%' ) ) { if ( $args ) { $args = array_map( 'strip_tags', $args ); $args = array_map( 'esc_html', $args ); $feedback = vsprintf( $feedback, $args ); } } if ( empty( $feedback ) ) { return; } if ( $this->in_loop ) { echo "$feedback
\n"; } else { echo "

$feedback

\n"; } } /** * Displays the header before the update process. * * @since 3.0.0 */ public function header() { // Nothing. This will be displayed within an iframe. } /** * Displays the footer following the update process. * * @since 3.0.0 */ public function footer() { // Nothing. This will be displayed within an iframe. } /** * Displays an error message about the update. * * @since 3.0.0 * @since 5.9.0 Renamed `$error` to `$errors` for PHP 8 named parameter support. * * @param string|WP_Error $errors Errors. */ public function error( $errors ) { if ( is_string( $errors ) && isset( $this->upgrader->strings[ $errors ] ) ) { $this->error = $this->upgrader->strings[ $errors ]; } if ( is_wp_error( $errors ) ) { $messages = array(); foreach ( $errors->get_error_messages() as $emessage ) { if ( $errors->get_error_data() && is_string( $errors->get_error_data() ) ) { $messages[] = $emessage . ' ' . esc_html( strip_tags( $errors->get_error_data() ) ); } else { $messages[] = $emessage; } } $this->error = implode( ', ', $messages ); } echo ''; } /** * Displays the header before the bulk update process. * * @since 3.0.0 */ public function bulk_header() { $this->feedback( 'skin_upgrade_start' ); } /** * Displays the footer following the bulk update process. * * @since 3.0.0 */ public function bulk_footer() { $this->feedback( 'skin_upgrade_end' ); } /** * Performs an action before a bulk update. * * @since 3.0.0 * * @param string $title */ public function before( $title = '' ) { $this->in_loop = true; printf( '

' . $this->upgrader->strings['skin_before_update_header'] . '

', $title, $this->upgrader->update_current, $this->upgrader->update_count ); echo ''; // This progress messages div gets moved via JavaScript when clicking on "More details.". echo '

'; $this->flush_output(); } /** * Performs an action following a bulk update. * * @since 3.0.0 * * @param string $title */ public function after( $title = '' ) { echo '

'; if ( $this->error || ! $this->result ) { if ( $this->error ) { $after_error_message = sprintf( $this->upgrader->strings['skin_update_failed_error'], $title, '' . $this->error . '' ); } else { $after_error_message = sprintf( $this->upgrader->strings['skin_update_failed'], $title ); } wp_admin_notice( $after_error_message, array( 'additional_classes' => array( 'error' ), ) ); echo ''; } if ( $this->result && ! is_wp_error( $this->result ) ) { if ( ! $this->error ) { echo '
' . '

' . sprintf( $this->upgrader->strings['skin_update_successful'], $title ) . ' ' . '

'; } echo ''; } $this->reset(); $this->flush_output(); } /** * Resets the properties used in the update process. * * @since 3.0.0 */ public function reset() { $this->in_loop = false; $this->error = false; } /** * Flushes all output buffers. * * @since 3.0.0 */ public function flush_output() { wp_ob_end_flush_all(); flush(); } }