Ticket #15718: 15718.diff
File 15718.diff, 1.8 KB (added by , 10 years ago) |
---|
-
wp-admin/includes/class-wp-upgrader.php
1226 1226 function bulk_footer() { 1227 1227 parent::bulk_footer(); 1228 1228 $update_actions = array( 1229 'themes_page' => '<a href="' . admin_url('themes.php') . '" title="' . esc_attr__('Go to themes page') . '" target="_parent">' . __('Return to Themes page') . '</a>',1230 'updates_page' => '<a href="' . admin_url('update-core.php') . '" title="' . esc_attr__('Go to WordPress Updates page') . '" target="_parent">' . __('Return to WordPress Updates') . '</a>'1229 'themes_page' => '<a href="' . self_admin_url('themes.php') . '" title="' . esc_attr__('Go to themes page') . '" target="_parent">' . __('Return to Themes page') . '</a>', 1230 'updates_page' => '<a href="' . self_admin_url('update-core.php') . '" title="' . esc_attr__('Go to WordPress Updates page') . '" target="_parent">' . __('Return to WordPress Updates') . '</a>' 1231 1231 ); 1232 1232 1233 1233 $update_actions = apply_filters('update_bulk_theme_complete_actions', $update_actions, $this->theme_info); … … 1417 1417 unset($update_actions['preview'], $update_actions['activate']); 1418 1418 } 1419 1419 1420 $update_actions['themes_page'] = '<a href="' . admin_url('themes.php') . '" title="' . esc_attr__('Return to Themes page') . '" target="_parent">' . __('Return to Themes page') . '</a>';1420 $update_actions['themes_page'] = '<a href="' . self_admin_url('themes.php') . '" title="' . esc_attr__('Return to Themes page') . '" target="_parent">' . __('Return to Themes page') . '</a>'; 1421 1421 1422 1422 $update_actions = apply_filters('update_theme_complete_actions', $update_actions, $this->theme); 1423 1423 if ( ! empty($update_actions) )