WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/07/2010 06:01:58 PM (9 years ago)
Author:
ryan
Message:

Fix return the themes links. Props duck_. fixes #15718

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-upgrader.php

    r16699 r16766  
    12271227        parent::bulk_footer();
    12281228        $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>'
    12311231        );
    12321232
     
    14181418        }
    14191419
    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>';
    14211421
    14221422        $update_actions = apply_filters('update_theme_complete_actions', $update_actions, $this->theme);
Note: See TracChangeset for help on using the changeset viewer.