[wp-trac] [WordPress Trac] #34937: Language packs for plugins not installed on multisite installation

WordPress Trac noreply at wordpress.org
Wed Dec 9 16:44:10 UTC 2015


#34937: Language packs for plugins not installed on multisite installation
-------------------------+------------------------
 Reporter:  pputzer      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.5
Component:  I18N         |     Version:  4.4
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  multisite
-------------------------+------------------------
Changes (by ocean90):

 * keywords:  reporter-feedback => needs-patch
 * type:  defect (bug) => enhancement
 * milestone:  Awaiting Review => 4.5


Comment:

 Currently the update check uses only the locale of the main site. To get
 updates for all locales you can use this code:

 {{{#!php
 <?php
 function update_check_include_all_locales( $locales ) {
         return array_values( get_available_languages() );
 }
 add_filter( 'plugins_update_check_locales',
 'update_check_include_all_locales' );
 add_filter( 'themes_update_check_locales',
 'update_check_include_all_locales' );
 }}}

 I'm fine with changing the default value, at least for multisite installs.

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


More information about the wp-trac mailing list