[wp-trac] [WordPress Trac] #34328: Language pack is not installed when updating a plugin

WordPress Trac noreply at wordpress.org
Wed Oct 21 18:28:59 UTC 2015


#34328: Language pack is not installed when updating a plugin
--------------------------+-------------------------
 Reporter:  johnbillion   |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  I18N          |     Version:  3.7
 Severity:  normal        |  Resolution:  worksforme
 Keywords:                |     Focuses:
--------------------------+-------------------------
Changes (by ocean90):

 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 As discussed in the linked chat this currently works as expected (in
 code). Async​ upgrades are disabled if the install is a VCS checkout, see
 [29694].

 To enable updating you can use the following snippet:
 {{{#!php
 <?php
 add_filter( 'automatic_updates_is_vcs_checkout', function( $val, $context
 ) {
     if ( $context === WP_CONTENT_DIR ) {
         return false;
     }

     return $val;
 }, 10, 2 );
 }}}

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


More information about the wp-trac mailing list