Ticket #53729: 53729.3.diff
| File 53729.3.diff, 26.3 KB (added by , 5 years ago) |
|---|
-
src/wp-admin/_index.php
29 29 wp_enqueue_script( 'jquery-touch-punch' ); 30 30 } 31 31 32 // Used in the HTML title tag. 32 33 $title = __( 'Dashboard' ); 33 34 $parent_file = 'index.php'; 34 35 -
src/wp-admin/about.php
9 9 /** WordPress Administration Bootstrap */ 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' ); 14 15 -
src/wp-admin/admin.php
334 334 */ 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'] ) ) { 342 343 require_once ABSPATH . 'wp-admin/admin-header.php'; -
src/wp-admin/authorize-application.php
62 62 } 63 63 } 64 64 65 // Used in the HTML title tag. 65 66 $title = __( 'Authorize Application' ); 66 67 67 68 $app_name = ! empty( $_REQUEST['app_name'] ) ? $_REQUEST['app_name'] : ''; -
src/wp-admin/comment.php
53 53 switch ( $action ) { 54 54 55 55 case 'editcomment': 56 // Used in the HTML title tag. 56 57 $title = __( 'Edit Comment' ); 57 58 58 59 get_current_screen()->add_help_tab( … … 96 97 case 'approve': 97 98 case 'trash': 98 99 case 'spam': 100 // Used in the HTML title tag. 99 101 $title = __( 'Moderate Comment' ); 100 102 101 103 if ( ! $comment ) { -
src/wp-admin/credits.php
10 10 require_once __DIR__ . '/admin.php'; 11 11 require_once __DIR__ . '/includes/credits.php'; 12 12 13 // Used in the HTML title tag. 13 14 $title = __( 'Credits' ); 14 15 15 16 list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); -
src/wp-admin/edit-comments.php
138 138 if ( $post_id ) { 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. */ 144 146 __( 'Comments (%1$s) on “%2$s”' ), … … 146 148 $draft_or_post_title 147 149 ); 148 150 } else { 151 // Used in the HTML title tag. 149 152 $title = sprintf( 150 153 /* translators: %s: Post title. */ 151 154 __( 'Comments on “%s”' ), … … 154 157 } 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. */ 160 165 __( 'Comments (%s)' ), … … 161 166 number_format_i18n( $comments_count->moderated ) 162 167 ); 163 168 } else { 169 // Used in the HTML title tag. 164 170 $title = __( 'Comments' ); 165 171 } 166 172 } -
src/wp-admin/edit.php
232 232 wp_enqueue_style( 'wp-list-reusable-blocks' ); 233 233 } 234 234 235 // Used in the HTML title tag. 235 236 $title = $post_type_object->labels->name; 236 237 237 238 if ( 'post' === $post_type ) { -
src/wp-admin/export.php
15 15 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 20 22 /** -
src/wp-admin/freedoms.php
15 15 exit; 16 16 } 17 17 18 // Used in the HTML title tag. 18 19 $title = __( 'Freedoms' ); 19 20 20 21 list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); -
src/wp-admin/import.php
15 15 wp_die( __( 'Sorry, you are not allowed to import content into this site.' ) ); 16 16 } 17 17 18 // Used in the HTML title tag. 18 19 $title = __( 'Import' ); 19 20 20 21 get_current_screen()->add_help_tab( -
src/wp-admin/link-add.php
13 13 wp_die( __( 'Sorry, you are not allowed to add links to this site.' ) ); 14 14 } 15 15 16 // Used in the HTML title tag. 16 17 $title = __( 'Add New Link' ); 17 18 $parent_file = 'link-manager.php'; 18 19 -
src/wp-admin/link-manager.php
46 46 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'; 51 52 $parent_file = $this_file; -
src/wp-admin/link.php
108 108 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 113 114 $link_id = (int) $_GET['link_id']; -
src/wp-admin/media-new.php
39 39 exit; 40 40 } 41 41 42 // Used in the HTML title tag. 42 43 $title = __( 'Upload New Media' ); 43 44 $parent_file = 'upload.php'; 44 45 -
src/wp-admin/media.php
45 45 46 46 // No break. 47 47 case 'edit': 48 // Used in the HTML title tag. 48 49 $title = __( 'Edit Media' ); 49 50 50 51 if ( empty( $errors ) ) { -
src/wp-admin/ms-delete-site.php
35 35 $blog = get_site(); 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 42 44 echo '<div class="wrap">'; -
src/wp-admin/my-sites.php
34 34 } 35 35 } 36 36 37 // Used in the HTML title tag. 37 38 $title = __( 'My Sites' ); 38 39 $parent_file = 'index.php'; 39 40 -
src/wp-admin/network.php
49 49 } 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'; 57 59 } -
src/wp-admin/network/index.php
17 17 wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); 18 18 } 19 19 20 // Used in the HTML title tag. 20 21 $title = __( 'Dashboard' ); 21 22 $parent_file = 'index.php'; 22 23 -
src/wp-admin/network/settings.php
17 17 wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); 18 18 } 19 19 20 // Used in the HTML title tag. 20 21 $title = __( 'Network Settings' ); 21 22 $parent_file = 'settings.php'; 22 23 -
src/wp-admin/network/site-info.php
122 122 } 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 ) ); 127 128 -
src/wp-admin/network/site-new.php
174 174 } 175 175 } 176 176 177 // Used in the HTML title tag. 177 178 $title = __( 'Add New Site' ); 178 179 $parent_file = 'sites.php'; 179 180 -
src/wp-admin/network/site-settings.php
79 79 } 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 ) ); 84 85 -
src/wp-admin/network/site-themes.php
166 166 add_thickbox(); 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 ) ); 171 172 -
src/wp-admin/network/site-users.php
195 195 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 ) ); 200 201 -
src/wp-admin/network/sites.php
17 17 $wp_list_table = _get_list_table( 'WP_MS_Sites_List_Table' ); 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'; 22 23 -
src/wp-admin/network/themes.php
81 81 $themes = array(); 82 82 } 83 83 84 // Used in the HTML title tag. 84 85 $title = __( 'Update Themes' ); 85 86 $parent_file = 'themes.php'; 86 87 … … 333 334 ) 334 335 ); 335 336 337 // Used in the HTML title tag. 336 338 $title = __( 'Themes' ); 337 339 $parent_file = 'themes.php'; 338 340 -
src/wp-admin/network/upgrade.php
12 12 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'; 17 18 -
src/wp-admin/network/user-new.php
98 98 } 99 99 } 100 100 101 // Used in the HTML title tag. 101 102 $title = __( 'Add New User' ); 102 103 $parent_file = 'users.php'; 103 104 -
src/wp-admin/network/users.php
29 29 $id = (int) $_GET['id']; 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 { 40 45 wp_redirect( network_admin_url( 'users.php' ) ); … … 59 64 if ( ! current_user_can( 'delete_users' ) ) { 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; 70 80 … … 206 216 wp_redirect( add_query_arg( 'paged', $total_pages ) ); 207 217 exit; 208 218 } 219 220 // Used in the HTML title tag. 209 221 $title = __( 'Users' ); 210 222 $parent_file = 'users.php'; 211 223 -
src/wp-admin/options-discussion.php
12 12 wp_die( __( 'Sorry, you are not allowed to manage options for this site.' ) ); 13 13 } 14 14 15 // Used in the HTML title tag. 15 16 $title = __( 'Discussion Settings' ); 16 17 $parent_file = 'options-general.php'; 17 18 -
src/wp-admin/options-general.php
16 16 wp_die( __( 'Sorry, you are not allowed to manage options for this site.' ) ); 17 17 } 18 18 19 // Used in the HTML title tag. 19 20 $title = __( 'General Settings' ); 20 21 $parent_file = 'options-general.php'; 21 22 /* translators: Date and time format for exact current time, mainly about timezones, see https://www.php.net/manual/datetime.format.php */ -
src/wp-admin/options-media.php
13 13 wp_die( __( 'Sorry, you are not allowed to manage options for this site.' ) ); 14 14 } 15 15 16 // Used in the HTML title tag. 16 17 $title = __( 'Media Settings' ); 17 18 $parent_file = 'options-general.php'; 18 19 -
src/wp-admin/options-permalink.php
13 13 wp_die( __( 'Sorry, you are not allowed to manage options for this site.' ) ); 14 14 } 15 15 16 // Used in the HTML title tag. 16 17 $title = __( 'Permalink Settings' ); 17 18 $parent_file = 'options-general.php'; 18 19 -
src/wp-admin/options-reading.php
13 13 wp_die( __( 'Sorry, you are not allowed to manage options for this site.' ) ); 14 14 } 15 15 16 // Used in the HTML title tag. 16 17 $title = __( 'Reading Settings' ); 17 18 $parent_file = 'options-general.php'; 18 19 -
src/wp-admin/options-writing.php
13 13 wp_die( __( 'Sorry, you are not allowed to manage options for this site.' ) ); 14 14 } 15 15 16 // Used in the HTML title tag. 16 17 $title = __( 'Writing Settings' ); 17 18 $parent_file = 'options-general.php'; 18 19 -
src/wp-admin/options.php
18 18 /** WordPress Administration Bootstrap */ 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'; 23 24 $parent_file = 'options-general.php'; -
src/wp-admin/plugin-editor.php
18 18 wp_die( __( 'Sorry, you are not allowed to edit plugins for this site.' ) ); 19 19 } 20 20 21 // Used in the HTML title tag. 21 22 $title = __( 'Edit Plugins' ); 22 23 $parent_file = 'plugins.php'; 23 24 -
src/wp-admin/plugin-install.php
47 47 exit; 48 48 } 49 49 50 // Used in the HTML title tag. 50 51 $title = __( 'Add Plugins' ); 51 52 $parent_file = 'plugins.php'; 52 53 -
src/wp-admin/plugins.php
153 153 $plugins = array(); 154 154 } 155 155 156 // Used in the HTML title tag. 156 157 $title = __( 'Update Plugins' ); 157 158 $parent_file = 'plugins.php'; 158 159 … … 597 598 ) 598 599 ); 599 600 601 // Used in the HTML title tag. 600 602 $title = __( 'Plugins' ); 601 603 $parent_file = 'plugins.php'; 602 604 -
src/wp-admin/privacy.php
9 9 /** WordPress Administration Bootstrap */ 10 10 require_once __DIR__ . '/admin.php'; 11 11 12 // Used in the HTML title tag. 12 13 $title = __( 'Privacy' ); 13 14 14 15 list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); -
src/wp-admin/revision.php
108 108 /* translators: %s: Post title. */ 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 113 114 $redirect = false; -
src/wp-admin/theme-editor.php
18 18 wp_die( '<p>' . __( 'Sorry, you are not allowed to edit templates for this site.' ) . '</p>' ); 19 19 } 20 20 21 // Used in the HTML title tag. 21 22 $title = __( 'Edit Themes' ); 22 23 $parent_file = 'themes.php'; 23 24 -
src/wp-admin/theme-install.php
21 21 exit; 22 22 } 23 23 24 // Used in the HTML title tag. 24 25 $title = __( 'Add Themes' ); 25 26 $parent_file = 'themes.php'; 26 27 -
src/wp-admin/themes.php
123 123 } 124 124 } 125 125 126 // Used in the HTML title tag. 126 127 $title = __( 'Manage Themes' ); 127 128 $parent_file = 'themes.php'; 128 129 -
src/wp-admin/tools.php
39 39 /** WordPress Administration Bootstrap */ 40 40 require_once __DIR__ . '/admin.php'; 41 41 42 // Used in the HTML title tag. 42 43 $title = __( 'Tools' ); 43 44 44 45 get_current_screen()->add_help_tab( -
src/wp-admin/update-core.php
1136 1136 $url = 'update.php?action=update-selected&plugins=' . urlencode( implode( ',', $plugins ) ); 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 1141 1142 require_once ABSPATH . 'wp-admin/admin-header.php'; … … 1176 1177 $url = 'update.php?action=update-selected-themes&themes=' . urlencode( implode( ',', $themes ) ); 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 1181 1183 require_once ABSPATH . 'wp-admin/admin-header.php'; -
src/wp-admin/update.php
59 59 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'; 64 65 $submenu_file = 'plugins.php'; … … 123 124 wp_die( $api ); 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 131 134 /* translators: %s: Plugin name and version. */ … … 153 156 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 161 166 /* translators: %s: File name. */ … … 206 211 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 214 221 $nonce = 'upgrade-theme_' . $theme; … … 269 276 wp_die( $api ); 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 277 286 /* translators: %s: Theme name and version. */ … … 295 304 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'; 300 310 $submenu_file = 'theme-install.php'; -
src/wp-admin/upload.php
76 76 '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' 77 77 ); 78 78 79 // Used in the HTML title tag. 79 80 $title = __( 'Media Library' ); 80 81 $parent_file = 'upload.php'; 81 82 … … 215 216 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'; 220 222 -
src/wp-admin/user-edit.php
32 32 } 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' ); 39 41 } -
src/wp-admin/user-new.php
245 245 } 246 246 } 247 247 248 // Used in the HTML title tag. 248 249 $title = __( 'Add New User' ); 249 250 $parent_file = 'users.php'; 250 251 -
src/wp-admin/users.php
20 20 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';25 23 24 // Used in the HTML title tag. 25 $title = __( 'Users' ); 26 $parent_file = 'users.php'; 27 26 28 add_screen_option( 'per_page' ); 27 29 28 30 // Contextual help - choose Help on the top right of admin panel to preview this. -
src/wp-admin/widgets.php
24 24 wp_die( __( 'The theme you are currently using isn’t widget-aware, meaning that it has no sidebars that you are able to change. For information on making your theme widget-aware, please <a href="https://developer.wordpress.org/themes/functionality/widgets/">follow these instructions</a>.' ) ); 25 25 } 26 26 27 // Used in the HTML title tag. 27 28 $title = __( 'Widgets' ); 28 29 $parent_file = 'themes.php'; 29 30
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)