Changeset 47122 for trunk/src/wp-admin/themes.php
- Timestamp:
- 01/29/2020 12:43:23 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/themes.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/themes.php
r47090 r47122 88 88 $parent_file = 'themes.php'; 89 89 90 // Help tab: Overview 90 // Help tab: Overview. 91 91 if ( current_user_can( 'switch_themes' ) ) { 92 92 $help_overview = '<p>' . __( 'This screen is used for managing your installed themes. Aside from the default theme(s) included with your WordPress installation, themes are designed and developed by third parties.' ) . '</p>' . … … 105 105 ) 106 106 ); 107 } // switch_themes108 109 // Help tab: Adding Themes 107 } // End if 'switch_themes'. 108 109 // Help tab: Adding Themes. 110 110 if ( current_user_can( 'install_themes' ) ) { 111 111 if ( is_multisite() ) { … … 126 126 ) 127 127 ); 128 } // install_themes129 130 // Help tab: Previewing and Customizing 128 } // End if 'install_themes'. 129 130 // Help tab: Previewing and Customizing. 131 131 if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { 132 132 $help_customize = … … 142 142 ) 143 143 ); 144 } // edit_theme_options && customize144 } // End if 'edit_theme_options' && 'customize'. 145 145 146 146 get_current_screen()->set_help_sidebar( … … 171 171 'addNew' => __( 'Add New Theme' ), 172 172 'search' => __( 'Search Installed Themes' ), 173 'searchPlaceholder' => __( 'Search installed themes...' ), // placeholder (no ellipsis)173 'searchPlaceholder' => __( 'Search installed themes...' ), // Placeholder (no ellipsis). 174 174 /* translators: %d: Number of themes. */ 175 175 'themesFound' => __( 'Number of Themes found: %d' ), … … 251 251 continue; 252 252 } 253 // 0 = name, 1 = capability, 2 = file 253 // 0 = name, 1 = capability, 2 = file. 254 254 if ( ( strcmp( $self, $item[2] ) == 0 && empty( $parent_file ) ) || ( $parent_file && ( $item[2] == $parent_file ) ) ) { 255 255 $class = ' current';
Note: See TracChangeset
for help on using the changeset viewer.