- 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-plugin-upgrader-skin.php
r43598 r45926 21 21 public function add_strings() { 22 22 parent::add_strings(); 23 /* translators: 1: name of plugin being updated, 2: number of updatingplugin, 3: total number of plugins being updated */23 /* translators: 1: plugin name, 2: number of the plugin, 3: total number of plugins being updated */ 24 24 $this->upgrader->strings['skin_before_update_header'] = __( 'Updating Plugin %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 'plugins_page' => '<a href="' . self_admin_url( 'plugins.php' ) . '" target="_parent">' . __( 'Return to Plugins page' ) . '</a>', 48 'updates_page' => '<a href="' . self_admin_url( 'update-core.php' ) . '" target="_parent">' . __( 'Return to WordPress Updates page' ) . '</a>', 48 'plugins_page' => sprintf( 49 '<a href="%s" target="_parent">%s</a>', 50 self_admin_url( 'plugins.php' ), 51 __( 'Return to Plugins 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( 'activate_plugins' ) ) { 51 61 unset( $update_actions['plugins_page'] );
Note: See TracChangeset
for help on using the changeset viewer.