[wp-trac] [WordPress Trac] #29820: Smooth installation and updating of plugins and themes

WordPress Trac noreply at wordpress.org
Fri Jan 30 22:10:52 UTC 2015


#29820: Smooth installation and updating of plugins and themes
-----------------------------+---------------------------------------------
 Reporter:  markjaquith      |       Owner:
     Type:  task (blessed)   |      Status:  new
 Priority:  high             |   Milestone:  4.2
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  ux-feedback      |     Focuses:  ui, javascript, administration
-----------------------------+---------------------------------------------

Comment (by lgladdy):

 Okay! attachment:29820.5.diff provides a couple of fixed for little
 graphical position issues on the buttons and a first stab at adding
 support for plugins to provide a configuration URL, which turns the
 "Installed" button into a "Configure Now" button after installation, if a
 "Configuration URI" is defined in the plugin header.

 For example:

 {{{
 /*
 Plugin Name: Block Pinterest
 Plugin URI: http://wordpress.org/extend/plugins/block-pinterest/
 Description: Adds the required meta tags to stop your blog and image
 content appearing on Pinterest
 Author: Liam Gladdy
 Configuration URI: wp-admin/plugins.php
 Version: 1.0.4
 Author URI: http://www.twitter.com/lgladdy
 */
 }}}

 The configuration URI is always relative to the site root, and if you
 don't add a preceding forward slash, it's automatically added (so in the
 example above, it becomes /wp-admin/plugins.php)

 If you want to test this, you can search for my "Block Pinterest" plugin
 and install it.

 The green tick with "Configure Now" works pretty well I think - and we
 should consider adding the same tick and "configure" button when you see
 the refresh the page and see the disabled "Installed" button that is
 outside the AJAX updating code.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29820#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list