[wp-trac] [WordPress Trac] #18467: Standardize Language on Core Update
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 18 07:52:29 UTC 2011
#18467: Standardize Language on Core Update
-----------------------------+-----------------------------
Reporter: sparkweb | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: 3.2.1
Severity: normal | Keywords:
-----------------------------+-----------------------------
When the plugins and themes are upgraded, there's a helpful menu option to
"Go To WordPress Updates Page". This is a very useful link as it allows me
to get back to the updates page easily. The core upgrade, though, doesn't
have such a link (only Go To Dashboard). I often update a site and it's a
two (or three) step process, updating core, plugins, and themes. It would
be helpful if the updates link appeared on core updates as well.
Proposed Code Change, wp-admin/update-core.php, line 65.
Old Code
{{{
show_message( '<a href="' . esc_url( self_admin_url() ) . '">' . __('Go to
Dashboard') . '</a> ' );
}}}
New Code:
{{{
show_message( '<a href="' . esc_url( self_admin_url() ) . '">' . __('Go to
Dashboard') . '</a> | <a href="' . self_admin_url('update-core.php') . '"
title="' . esc_attr__('Go to WordPress Updates page') . '"
target="_parent">' . __('Return to WordPress Updates') . '</a>' );
}}}
Link copied from ''wp-admin/includes/class-wp-upgrader.php'' line 1202
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18467>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list