[wp-trac] [WordPress Trac] #17816: WordPress in dev environments should update /wp-content/* again

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 16 13:31:29 UTC 2011


#17816: WordPress in dev environments should update /wp-content/* again
------------------------------------------------+--------------------------
 Reporter:  ocean90                             |       Owner:
     Type:  defect (bug)                        |      Status:  new
 Priority:  normal                              |   Milestone:  Awaiting
Component:  Upgrade/Install                     |  Review
 Severity:  normal                              |     Version:  3.2
 Keywords:  dev-feedback 2nd-opinion has-patch  |  Resolution:
------------------------------------------------+--------------------------
Changes (by ocean90):

 * keywords:  dev-feedback 2nd-opinion => dev-feedback 2nd-opinion has-patch


Comment:

 ''17816.patch''
 The patch adds the option to filter the skip list. I think this is the
 easiest way.

 For example if only the plugins dir should be skipped and themes should be
 updated:
 {{{
 function my_update_core_skip_list( $list ) {
         unset($list);
         $list[] = 'wp-content/plugins';
         return $list;
 }
 add_filter( 'update_core_skip_list', 'my_update_core_skip_list' );
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17816#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list