X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/0461a5f2e55c8d5f1fde96ca2e83117152573c7d..9e77185fafaf4e60e2b73821e0e4b9b1a11fb85f:/wp-admin/theme-install.php diff --git a/wp-admin/theme-install.php b/wp-admin/theme-install.php index 088feed4..fd8847c5 100644 --- a/wp-admin/theme-install.php +++ b/wp-admin/theme-install.php @@ -79,7 +79,7 @@ if ( $tab ) { $help_overview = '

' . sprintf(__('You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the WordPress.org Theme Directory. These themes are designed and developed by third parties, are available free of charge, and are compatible with the license WordPress uses.'), 'https://wordpress.org/themes/') . '

' . - '

' . __('You can Search for themes by keyword, author, or tag, or can get more specific and search by criteria listed in the feature filter. Alternately, you can browse the themes that are Featured, Newest, or Recently Updated. When you find a theme you like, you can preview it or install it.') . '

' . + '

' . __('You can Search for themes by keyword, author, or tag, or can get more specific and search by criteria listed in the feature filter. Alternately, you can browse the themes that are Featured, Popular, or Latest. When you find a theme you like, you can preview it or install it.') . '

' . '

' . __('You can Upload a theme manually if you have already downloaded its ZIP archive onto your computer (make sure it is from a trusted and original source). You can also do it the old-fashioned way and copy a downloaded theme’s folder via FTP into your /wp-content/themes directory.') . '

'; get_current_screen()->add_help_tab( array( @@ -108,58 +108,77 @@ include(ABSPATH . 'wp-admin/admin-header.php'); ?>
-

- - - -

+

__( 'Upload Theme' ) ) ); + if ( ! empty( $tabs['upload'] ) && current_user_can( 'upload_themes' ) ) { + echo ' ' . __( 'Upload Theme' ) . ''; + echo ' ' . _x( 'Browse', 'themes' ) . ''; + } + ?>

-
- - - - -
- - +
+
+
-
- - -
+ + + + + +
+ +
+
+ + +
$features ) { if ( $feature_name === 'Features' || $feature_name === __( 'Features' ) ) { // hack hack hack - echo '
'; + echo '
'; } else { - echo '
'; + echo '
'; } $feature_name = esc_html( $feature_name ); - echo '

' . $feature_name . '

'; + echo '

' . $feature_name . '

'; echo '
    '; foreach ( $features as $feature => $feature_name ) { $feature = esc_attr( $feature ); - echo '
  1. '; - echo '
  2. '; + echo '
  3. '; + echo '
  4. '; } echo '
'; echo '
'; } ?> -
+
-
+

@@ -202,16 +221,18 @@ if ( $tab ) {
<# if ( data.installed ) { #> -
+
<# } #>