[wp-trac] [WordPress Trac] #7420: There should be a "Go back" link
after a plugin is automatically upgraded
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 28 11:09:25 GMT 2008
#7420: There should be a "Go back" link after a plugin is automatically upgraded
----------------------------+-----------------------------------------------
Reporter: tabreziqbal | Owner: anonymous
Type: enhancement | Status: new
Priority: low | Milestone: 2.6.1
Component: Administration | Version: 2.6
Severity: trivial | Keywords:
----------------------------+-----------------------------------------------
When a plugin is automatically upgraded from Wordpress admin
page("update.php?action=upgrade-plugin"), the result page shows the
summary of the plugin upgradation process after which the user needs to
either use the back button of the browser or click the "Plugins" link at
the top-right corner. It would be nice to have a "Go back to plugins page"
or some such link on the "Upgrade Plugin" page itself.
wp-admin/update.php:
{{{
else {
//Result is the new plugin file relative to WP_PLUGIN_DIR
show_message( __('Plugin upgraded successfully') );
if( $result && $was_activated ){
show_message(__('Attempting reactivation of the
plugin'));
echo '<iframe style="border:0" width="100%"
height="170px" src="' .
wp_nonce_url('update.php?action=activate-
plugin&plugin=' .
$result, 'activate-plugin_' . $result)
.'"></iframe>';
}
'''//ADD A LINK TO PLUGIN ADMIN PAGE HERE???'''
}
echo '</div>';
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/7420>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list