Ticket #60644: 60644.2.patch
File 60644.2.patch, 1.5 KB (added by , 3 months ago) |
---|
-
wp-admin/includes/class-theme-upgrader.php
80 80 $this->strings['no_files'] = __( 'The theme contains no files.' ); 81 81 $this->strings['process_failed'] = __( 'Theme installation failed.' ); 82 82 $this->strings['process_success'] = __( 'Theme installed successfully.' ); 83 $this->strings['return_to_installer'] = sprintf( 84 /* translators: %s: Return link. */ 85 __( '%s' ), 86 '<a href="' . esc_url( admin_url( 'theme-install.php' ) ) . '">' . esc_html__( 'Go to Theme Installer' ) . '</a>' 87 ); 83 88 /* translators: 1: Theme name, 2: Theme version. */ 84 89 $this->strings['process_success_specific'] = __( 'Successfully installed the theme <strong>%1$s %2$s</strong>.' ); 85 90 $this->strings['parent_theme_search'] = __( 'This theme requires a parent theme. Checking if it is installed…' ); -
wp-admin/includes/class-wp-upgrader.php
939 939 940 940 if ( ! method_exists( $this->skin, 'hide_process_failed' ) || ! $this->skin->hide_process_failed( $result ) ) { 941 941 $this->skin->feedback( 'process_failed' ); 942 $this->skin->feedback( 'return_to_installer' ); 942 943 } 943 944 } else { 944 945 // Installation succeeded.