Changeset 51475
- Timestamp:
- 07/22/2021 01:51:58 PM (3 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 54 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/_index.php
r49558 r51475 30 30 } 31 31 32 // Used in the HTML title tag. 32 33 $title = __( 'Dashboard' ); 33 34 $parent_file = 'index.php'; -
trunk/src/wp-admin/about.php
r51473 r51475 10 10 require_once __DIR__ . '/admin.php'; 11 11 12 // Used in the HTML title tag. 12 13 /* translators: Page title of the About WordPress page in the admin. */ 13 14 $title = _x( 'About', 'page title' ); -
trunk/src/wp-admin/admin.php
r51327 r51475 335 335 do_action( "load-importer-{$importer}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 336 336 337 // Used in the HTML title tag. 338 $title = __( 'Import' ); 337 339 $parent_file = 'tools.php'; 338 340 $submenu_file = 'import.php'; 339 $title = __( 'Import' );340 341 341 342 if ( ! isset( $_GET['noheader'] ) ) { -
trunk/src/wp-admin/authorize-application.php
r51463 r51475 63 63 } 64 64 65 // Used in the HTML title tag. 65 66 $title = __( 'Authorize Application' ); 66 67 -
trunk/src/wp-admin/comment.php
r51178 r51475 54 54 55 55 case 'editcomment': 56 // Used in the HTML title tag. 56 57 $title = __( 'Edit Comment' ); 57 58 … … 97 98 case 'trash': 98 99 case 'spam': 100 // Used in the HTML title tag. 99 101 $title = __( 'Moderate Comment' ); 100 102 -
trunk/src/wp-admin/credits.php
r51413 r51475 11 11 require_once __DIR__ . '/includes/credits.php'; 12 12 13 // Used in the HTML title tag. 13 14 $title = __( 'Credits' ); 14 15 -
trunk/src/wp-admin/edit-comments.php
r50999 r51475 139 139 $comments_count = wp_count_comments( $post_id ); 140 140 $draft_or_post_title = wp_html_excerpt( _draft_or_post_title( $post_id ), 50, '…' ); 141 141 142 if ( $comments_count->moderated > 0 ) { 143 // Used in the HTML title tag. 142 144 $title = sprintf( 143 145 /* translators: 1: Comments count, 2: Post title. */ … … 147 149 ); 148 150 } else { 151 // Used in the HTML title tag. 149 152 $title = sprintf( 150 153 /* translators: %s: Post title. */ … … 155 158 } else { 156 159 $comments_count = wp_count_comments(); 160 157 161 if ( $comments_count->moderated > 0 ) { 162 // Used in the HTML title tag. 158 163 $title = sprintf( 159 164 /* translators: %s: Comments count. */ … … 162 167 ); 163 168 } else { 169 // Used in the HTML title tag. 164 170 $title = __( 'Comments' ); 165 171 } -
trunk/src/wp-admin/edit.php
r51163 r51475 233 233 } 234 234 235 // Used in the HTML title tag. 235 236 $title = $post_type_object->labels->name; 236 237 -
trunk/src/wp-admin/export.php
r50001 r51475 16 16 /** Load WordPress export API */ 17 17 require_once ABSPATH . 'wp-admin/includes/export.php'; 18 19 // Used in the HTML title tag. 18 20 $title = __( 'Export' ); 19 21 -
trunk/src/wp-admin/freedoms.php
r51356 r51475 16 16 } 17 17 18 // Used in the HTML title tag. 18 19 $title = __( 'Freedoms' ); 19 20 -
trunk/src/wp-admin/import.php
r48520 r51475 16 16 } 17 17 18 // Used in the HTML title tag. 18 19 $title = __( 'Import' ); 19 20 -
trunk/src/wp-admin/link-add.php
r47198 r51475 14 14 } 15 15 16 // Used in the HTML title tag. 16 17 $title = __( 'Add New Link' ); 17 18 $parent_file = 'link-manager.php'; -
trunk/src/wp-admin/link-manager.php
r49286 r51475 47 47 $wp_list_table->prepare_items(); 48 48 49 // Used in the HTML title tag. 49 50 $title = __( 'Links' ); 50 51 $this_file = 'link-manager.php'; -
trunk/src/wp-admin/link.php
r49193 r51475 109 109 $parent_file = 'link-manager.php'; 110 110 $submenu_file = 'link-manager.php'; 111 // Used in the HTML title tag. 111 112 $title = __( 'Edit Link' ); 112 113 -
trunk/src/wp-admin/media-new.php
r51177 r51475 40 40 } 41 41 42 // Used in the HTML title tag. 42 43 $title = __( 'Upload New Media' ); 43 44 $parent_file = 'upload.php'; -
trunk/src/wp-admin/media.php
r47855 r51475 46 46 // No break. 47 47 case 'edit': 48 // Used in the HTML title tag. 48 49 $title = __( 'Edit Media' ); 49 50 -
trunk/src/wp-admin/ms-delete-site.php
r49078 r51475 36 36 $user = wp_get_current_user(); 37 37 38 // Used in the HTML title tag. 38 39 $title = __( 'Delete Site' ); 39 40 $parent_file = 'tools.php'; 41 40 42 require_once ABSPATH . 'wp-admin/admin-header.php'; 41 43 -
trunk/src/wp-admin/my-sites.php
r50981 r51475 35 35 } 36 36 37 // Used in the HTML title tag. 37 38 $title = __( 'My Sites' ); 38 39 $parent_file = 'index.php'; -
trunk/src/wp-admin/network.php
r47848 r51475 50 50 51 51 if ( is_network_admin() ) { 52 // Used in the HTML title tag. 52 53 $title = __( 'Network Setup' ); 53 54 $parent_file = 'settings.php'; 54 55 } else { 56 // Used in the HTML title tag. 55 57 $title = __( 'Create a Network of WordPress Sites' ); 56 58 $parent_file = 'tools.php'; -
trunk/src/wp-admin/network/index.php
r47198 r51475 18 18 } 19 19 20 // Used in the HTML title tag. 20 21 $title = __( 'Dashboard' ); 21 22 $parent_file = 'index.php'; -
trunk/src/wp-admin/network/settings.php
r50772 r51475 18 18 } 19 19 20 // Used in the HTML title tag. 20 21 $title = __( 'Network Settings' ); 21 22 $parent_file = 'settings.php'; -
trunk/src/wp-admin/network/site-info.php
r49962 r51475 123 123 } 124 124 125 // Used in the HTML title tag. 125 126 /* translators: %s: Site title. */ 126 127 $title = sprintf( __( 'Edit Site: %s' ), esc_html( $details->blogname ) ); -
trunk/src/wp-admin/network/site-new.php
r51189 r51475 175 175 } 176 176 177 // Used in the HTML title tag. 177 178 $title = __( 'Add New Site' ); 178 179 $parent_file = 'sites.php'; -
trunk/src/wp-admin/network/site-settings.php
r49108 r51475 80 80 } 81 81 82 // Used in the HTML title tag. 82 83 /* translators: %s: Site title. */ 83 84 $title = sprintf( __( 'Edit Site: %s' ), esc_html( $details->blogname ) ); -
trunk/src/wp-admin/network/site-themes.php
r49108 r51475 167 167 add_screen_option( 'per_page' ); 168 168 169 // Used in the HTML title tag. 169 170 /* translators: %s: Site title. */ 170 171 $title = sprintf( __( 'Edit Site: %s' ), esc_html( $details->blogname ) ); -
trunk/src/wp-admin/network/site-users.php
r51189 r51475 196 196 add_screen_option( 'per_page' ); 197 197 198 // Used in the HTML title tag. 198 199 /* translators: %s: Site title. */ 199 200 $title = sprintf( __( 'Edit Site: %s' ), esc_html( $details->blogname ) ); -
trunk/src/wp-admin/network/sites.php
r51189 r51475 18 18 $pagenum = $wp_list_table->get_pagenum(); 19 19 20 // Used in the HTML title tag. 20 21 $title = __( 'Sites' ); 21 22 $parent_file = 'sites.php'; -
trunk/src/wp-admin/network/themes.php
r49286 r51475 82 82 } 83 83 84 // Used in the HTML title tag. 84 85 $title = __( 'Update Themes' ); 85 86 $parent_file = 'themes.php'; … … 334 335 ); 335 336 337 // Used in the HTML title tag. 336 338 $title = __( 'Themes' ); 337 339 $parent_file = 'themes.php'; -
trunk/src/wp-admin/network/upgrade.php
r49108 r51475 13 13 require_once ABSPATH . WPINC . '/http.php'; 14 14 15 // Used in the HTML title tag. 15 16 $title = __( 'Upgrade Network' ); 16 17 $parent_file = 'upgrade.php'; -
trunk/src/wp-admin/network/user-new.php
r51189 r51475 99 99 } 100 100 101 // Used in the HTML title tag. 101 102 $title = __( 'Add New User' ); 102 103 $parent_file = 'users.php'; -
trunk/src/wp-admin/network/users.php
r51189 r51475 30 30 if ( $id > 1 ) { 31 31 $_POST['allusers'] = array( $id ); // confirm_delete_users() can only handle arrays. 32 33 // Used in the HTML title tag. 32 34 $title = __( 'Users' ); 33 35 $parent_file = 'users.php'; 36 34 37 require_once ABSPATH . 'wp-admin/admin-header.php'; 38 35 39 echo '<div class="wrap">'; 36 40 confirm_delete_users( $_POST['allusers'] ); 37 41 echo '</div>'; 42 38 43 require_once ABSPATH . 'wp-admin/admin-footer.php'; 39 44 } else { … … 60 65 wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); 61 66 } 67 68 // Used in the HTML title tag. 62 69 $title = __( 'Users' ); 63 70 $parent_file = 'users.php'; 71 64 72 require_once ABSPATH . 'wp-admin/admin-header.php'; 73 65 74 echo '<div class="wrap">'; 66 75 confirm_delete_users( $_POST['allusers'] ); 67 76 echo '</div>'; 77 68 78 require_once ABSPATH . 'wp-admin/admin-footer.php'; 69 79 exit; … … 207 217 exit; 208 218 } 219 220 // Used in the HTML title tag. 209 221 $title = __( 'Users' ); 210 222 $parent_file = 'users.php'; -
trunk/src/wp-admin/options-discussion.php
r48575 r51475 13 13 } 14 14 15 // Used in the HTML title tag. 15 16 $title = __( 'Discussion Settings' ); 16 17 $parent_file = 'options-general.php'; -
trunk/src/wp-admin/options-general.php
r48991 r51475 17 17 } 18 18 19 // Used in the HTML title tag. 19 20 $title = __( 'General Settings' ); 20 21 $parent_file = 'options-general.php'; -
trunk/src/wp-admin/options-media.php
r51075 r51475 14 14 } 15 15 16 // Used in the HTML title tag. 16 17 $title = __( 'Media Settings' ); 17 18 $parent_file = 'options-general.php'; -
trunk/src/wp-admin/options-permalink.php
r50830 r51475 14 14 } 15 15 16 // Used in the HTML title tag. 16 17 $title = __( 'Permalink Settings' ); 17 18 $parent_file = 'options-general.php'; -
trunk/src/wp-admin/options-reading.php
r50702 r51475 14 14 } 15 15 16 // Used in the HTML title tag. 16 17 $title = __( 'Reading Settings' ); 17 18 $parent_file = 'options-general.php'; -
trunk/src/wp-admin/options-writing.php
r49912 r51475 14 14 } 15 15 16 // Used in the HTML title tag. 16 17 $title = __( 'Writing Settings' ); 17 18 $parent_file = 'options-general.php'; -
trunk/src/wp-admin/options.php
r50560 r51475 19 19 require_once __DIR__ . '/admin.php'; 20 20 21 // Used in the HTML title tag. 21 22 $title = __( 'Settings' ); 22 23 $this_file = 'options.php'; -
trunk/src/wp-admin/plugin-editor.php
r50032 r51475 19 19 } 20 20 21 // Used in the HTML title tag. 21 22 $title = __( 'Edit Plugins' ); 22 23 $parent_file = 'plugins.php'; -
trunk/src/wp-admin/plugin-install.php
r48281 r51475 48 48 } 49 49 50 // Used in the HTML title tag. 50 51 $title = __( 'Add Plugins' ); 51 52 $parent_file = 'plugins.php'; -
trunk/src/wp-admin/plugins.php
r49683 r51475 154 154 } 155 155 156 // Used in the HTML title tag. 156 157 $title = __( 'Update Plugins' ); 157 158 $parent_file = 'plugins.php'; … … 598 599 ); 599 600 601 // Used in the HTML title tag. 600 602 $title = __( 'Plugins' ); 601 603 $parent_file = 'plugins.php'; -
trunk/src/wp-admin/privacy.php
r51356 r51475 10 10 require_once __DIR__ . '/admin.php'; 11 11 12 // Used in the HTML title tag. 12 13 $title = __( 'Privacy' ); 13 14 -
trunk/src/wp-admin/revision.php
r49539 r51475 109 109 $h1 = sprintf( __( 'Compare Revisions of “%s”' ), $post_title ); 110 110 $return_to_post = '<a href="' . $post_edit_link . '">' . __( '← Go to editor' ) . '</a>'; 111 // Used in the HTML title tag. 111 112 $title = __( 'Revisions' ); 112 113 -
trunk/src/wp-admin/theme-editor.php
r50032 r51475 19 19 } 20 20 21 // Used in the HTML title tag. 21 22 $title = __( 'Edit Themes' ); 22 23 $parent_file = 'themes.php'; -
trunk/src/wp-admin/theme-install.php
r50813 r51475 22 22 } 23 23 24 // Used in the HTML title tag. 24 25 $title = __( 'Add Themes' ); 25 26 $parent_file = 'themes.php'; -
trunk/src/wp-admin/themes.php
r51177 r51475 124 124 } 125 125 126 // Used in the HTML title tag. 126 127 $title = __( 'Manage Themes' ); 127 128 $parent_file = 'themes.php'; -
trunk/src/wp-admin/tools.php
r50161 r51475 40 40 require_once __DIR__ . '/admin.php'; 41 41 42 // Used in the HTML title tag. 42 43 $title = __( 'Tools' ); 43 44 -
trunk/src/wp-admin/update-core.php
r51185 r51475 1137 1137 $url = wp_nonce_url( $url, 'bulk-update-plugins' ); 1138 1138 1139 // Used in the HTML title tag. 1139 1140 $title = __( 'Update Plugins' ); 1140 1141 … … 1177 1178 $url = wp_nonce_url( $url, 'bulk-update-themes' ); 1178 1179 1180 // Used in the HTML title tag. 1179 1181 $title = __( 'Update Themes' ); 1180 1182 -
trunk/src/wp-admin/update.php
r48417 r51475 60 60 check_admin_referer( 'upgrade-plugin_' . $plugin ); 61 61 62 // Used in the HTML title tag. 62 63 $title = __( 'Update Plugin' ); 63 64 $parent_file = 'plugins.php'; … … 124 125 } 125 126 127 // Used in the HTML title tag. 126 128 $title = __( 'Plugin Installation' ); 127 129 $parent_file = 'plugins.php'; 128 130 $submenu_file = 'plugin-install.php'; 131 129 132 require_once ABSPATH . 'wp-admin/admin-header.php'; 130 133 … … 154 157 $file_upload = new File_Upload_Upgrader( 'pluginzip', 'package' ); 155 158 159 // Used in the HTML title tag. 156 160 $title = __( 'Upload Plugin' ); 157 161 $parent_file = 'plugins.php'; 158 162 $submenu_file = 'plugin-install.php'; 163 159 164 require_once ABSPATH . 'wp-admin/admin-header.php'; 160 165 … … 207 212 wp_enqueue_script( 'updates' ); 208 213 214 // Used in the HTML title tag. 209 215 $title = __( 'Update Theme' ); 210 216 $parent_file = 'themes.php'; 211 217 $submenu_file = 'themes.php'; 218 212 219 require_once ABSPATH . 'wp-admin/admin-header.php'; 213 220 … … 270 277 } 271 278 279 // Used in the HTML title tag. 272 280 $title = __( 'Install Themes' ); 273 281 $parent_file = 'themes.php'; 274 282 $submenu_file = 'themes.php'; 283 275 284 require_once ABSPATH . 'wp-admin/admin-header.php'; 276 285 … … 296 305 $file_upload = new File_Upload_Upgrader( 'themezip', 'package' ); 297 306 307 // Used in the HTML title tag. 298 308 $title = __( 'Upload Theme' ); 299 309 $parent_file = 'themes.php'; -
trunk/src/wp-admin/upload.php
r51189 r51475 77 77 ); 78 78 79 // Used in the HTML title tag. 79 80 $title = __( 'Media Library' ); 80 81 $parent_file = 'upload.php'; … … 216 217 $wp_list_table->prepare_items(); 217 218 219 // Used in the HTML title tag. 218 220 $title = __( 'Media Library' ); 219 221 $parent_file = 'upload.php'; -
trunk/src/wp-admin/user-edit.php
r51330 r51475 33 33 34 34 if ( IS_PROFILE_PAGE ) { 35 // Used in the HTML title tag. 35 36 $title = __( 'Profile' ); 36 37 } else { 38 // Used in the HTML title tag. 37 39 /* translators: %s: User's display name. */ 38 40 $title = __( 'Edit User %s' ); -
trunk/src/wp-admin/user-new.php
r49298 r51475 246 246 } 247 247 248 // Used in the HTML title tag. 248 249 $title = __( 'Add New User' ); 249 250 $parent_file = 'users.php'; -
trunk/src/wp-admin/users.php
r51177 r51475 21 21 $wp_list_table = _get_list_table( 'WP_Users_List_Table' ); 22 22 $pagenum = $wp_list_table->get_pagenum(); 23 $title = __( 'Users' ); 24 $parent_file = 'users.php'; 23 24 // Used in the HTML title tag. 25 $title = __( 'Users' ); 26 $parent_file = 'users.php'; 25 27 26 28 add_screen_option( 'per_page' ); -
trunk/src/wp-admin/widgets.php
r51061 r51475 25 25 } 26 26 27 // Used in the HTML title tag. 27 28 $title = __( 'Widgets' ); 28 29 $parent_file = 'themes.php';
Note: See TracChangeset
for help on using the changeset viewer.