]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/class-wp-themes-list-table.php
Wordpress 4.6-scripts
[autoinstalls/wordpress.git] / wp-admin / includes / class-wp-themes-list-table.php
index 2426e61223b61dcdc07633c044670a65f1aa08ab..a232cd05b2f64b6b0c0500796092371cb012a9ac 100644 (file)
@@ -42,7 +42,7 @@ class WP_Themes_List_Table extends WP_List_Table {
         * @return bool
         */
        public function ajax_user_can() {
-               // Do not check edit_theme_options here. AJAX calls for available themes require switch_themes.
+               // Do not check edit_theme_options here. Ajax calls for available themes require switch_themes.
                return current_user_can( 'switch_themes' );
        }
 
@@ -104,7 +104,7 @@ class WP_Themes_List_Table extends WP_List_Table {
                        // Else, fallthrough. install_themes doesn't help if you can't enable it.
                } else {
                        if ( current_user_can( 'install_themes' ) ) {
-                               printf( __( 'You only have one theme installed right now. Live a little! You can choose from over 1,000 free themes in the WordPress.org Theme Directory at any time: just click on the <a href="%s">Install Themes</a> tab above.' ), admin_url( 'theme-install.php' ) );
+                               printf( __( 'You only have one theme installed right now. Live a little! You can choose from over 1,000 free themes in the WordPress Theme Directory at any time: just click on the <a href="%s">Install Themes</a> tab above.' ), admin_url( 'theme-install.php' ) );
 
                                return;
                        }