[wp-trac] [WordPress Trac] #14764: "Check for Updates" button
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 11 06:47:05 UTC 2010
#14764: "Check for Updates" button
-----------------------------+----------------------------------------------
Reporter: jane | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.1
Component: Upgrade/Install | Version: 3.0
Severity: normal | Keywords: ux-feedback
-----------------------------+----------------------------------------------
Changes (by simontaotw):
* cc: simontaotw (added)
Comment:
I am new here so please excuse me if I make any mistake...
I tried adding both a string and a refresh button as Andrew suggested in
the previous comment but felt that only adding a button makes the page
look cleaner (see pngs). The intention of the button is fairly clear to
me since it's preceded by an already informative string.
I added one line of code to the file '''update-core.php''' function
'''core_upgrade_preamble'''
{{{
echo '<a href="' . esc_url('update-core.php') . '" class="button">' .
__('Check Again') . '</a> ';
}}}
Not sure if I am following the correct practice on esc_url and string
'Check Again'.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14764#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list