~canonical-sysadmins/wordpress/5.1

« back to all changes in this revision

Viewing changes to wp-admin/options-general.php

  • Committer: Barry Price
  • Date: 2018-03-12 09:10:47 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: barry.price@canonical.com-20180312091047-rhie6qpndx5nwlo1
Merge WP4.9.4 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
158
158
                                'selected'     => $locale,
159
159
                                'languages'    => $languages,
160
160
                                'translations' => $translations,
161
 
                                'show_available_translations' => current_user_can( 'install_languages' ),
 
161
                                'show_available_translations' => current_user_can( 'install_languages' ) && wp_can_install_language_pack(),
162
162
                        ) );
163
163
 
164
164
                        // Add note about deprecated WPLANG constant.