- Timestamp:
- 09/01/2019 05:12:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-bulk-theme-upgrader-skin.php
r43598 r45926 21 21 public function add_strings() { 22 22 parent::add_strings(); 23 /* translators: 1: name of theme being updated, 2: number of updating themes, 3: total number of themes being updated */23 /* translators: 1: theme name, 2: number of the theme, 3: total number of themes being updated */ 24 24 $this->upgrader->strings['skin_before_update_header'] = __( 'Updating Theme %1$s (%2$d/%3$d)' ); 25 25 } … … 44 44 public function bulk_footer() { 45 45 parent::bulk_footer(); 46 46 47 $update_actions = array( 47 'themes_page' => '<a href="' . self_admin_url( 'themes.php' ) . '" target="_parent">' . __( 'Return to Themes page' ) . '</a>', 48 'updates_page' => '<a href="' . self_admin_url( 'update-core.php' ) . '" target="_parent">' . __( 'Return to WordPress Updates page' ) . '</a>', 48 'themes_page' => sprintf( 49 '<a href="%s" target="_parent">%s</a>', 50 self_admin_url( 'themes.php' ), 51 __( 'Return to Themes page' ) 52 ), 53 'updates_page' => sprintf( 54 '<a href="%s" target="_parent">%s</a>', 55 self_admin_url( 'update-core.php' ), 56 __( 'Return to WordPress Updates page' ) 57 ), 49 58 ); 59 50 60 if ( ! current_user_can( 'switch_themes' ) && ! current_user_can( 'edit_theme_options' ) ) { 51 61 unset( $update_actions['themes_page'] );
Note: See TracChangeset
for help on using the changeset viewer.