diff --git a/wp-admin/about.php b/wp-admin/about.php
old mode 100644
new mode 100755
index 960cacf9e3..8f9eda7d57
a
|
b
|
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); |
18 | 18 | include( ABSPATH . 'wp-admin/admin-header.php' ); |
19 | 19 | ?> |
20 | 20 | <div class="wrap about-wrap full-width-layout"> |
| 21 | <?php /* translators: %s is the WordPress version number */ ?> |
21 | 22 | <h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1> |
22 | 23 | |
| 24 | <?php /* translators: %s is the WordPress version number */ ?> |
23 | 25 | <p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s will smooth your design workflow and keep you safe from coding errors.' ), $display_version ); ?></p> |
| 26 | <?php /* translators: %s is the WordPress version number */ ?> |
24 | 27 | <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> |
25 | 28 | |
26 | 29 | <h2 class="nav-tab-wrapper wp-clearfix"> |
… |
… |
include( ABSPATH . 'wp-admin/admin-header.php' ); |
185 | 188 | <p> |
186 | 189 | <?php |
187 | 190 | printf( |
| 191 | /* translators: 1: the Gutenberg plugin page; 2: the Gutenberg github page. */ |
188 | 192 | __( 'WordPress is working on a new way to create and control your content and we’d love to have your help. Interested in being an <a href="%1$s">early tester</a> or getting involved with the Gutenberg project? <a href="%2$s">Contribute on GitHub</a>.' ), |
189 | 193 | __( 'https://wordpress.org/plugins/gutenberg/' ), |
190 | 194 | 'https://github.com/WordPress/gutenberg' |
diff --git a/wp-admin/admin-footer.php b/wp-admin/admin-footer.php
old mode 100644
new mode 100755
index 6014d1767d..1d3a6e82eb
a
|
b
|
global $hook_suffix; |
32 | 32 | ?> |
33 | 33 | <p id="footer-left" class="alignleft"> |
34 | 34 | <?php |
| 35 | /* translators: %s is a link to the WordPress.org website */ |
35 | 36 | $text = sprintf( __( 'Thank you for creating with <a href="%s">WordPress</a>.' ), __( 'https://wordpress.org/' ) ); |
36 | 37 | /** |
37 | 38 | * Filters the "Thank you" text displayed in the admin footer. |
diff --git a/wp-admin/admin.php b/wp-admin/admin.php
old mode 100644
new mode 100755
index a3dab04d3d..b44ab4deca
a
|
b
|
if ( isset( $plugin_page ) ) { |
243 | 243 | } |
244 | 244 | |
245 | 245 | if ( ! ( file_exists( WP_PLUGIN_DIR . "/$plugin_page" ) && is_file( WP_PLUGIN_DIR . "/$plugin_page" ) ) && ! ( file_exists( WPMU_PLUGIN_DIR . "/$plugin_page" ) && is_file( WPMU_PLUGIN_DIR . "/$plugin_page" ) ) ) { |
| 246 | /* translators: %s is the plugin page */ |
246 | 247 | wp_die( sprintf( __( 'Cannot load %s.' ), htmlentities( $plugin_page ) ) ); |
247 | 248 | } |
248 | 249 | |
diff --git a/wp-admin/async-upload.php b/wp-admin/async-upload.php
old mode 100644
new mode 100755
index cf4670bbb1..1a37eebafe
a
|
b
|
$id = media_handle_upload( 'async-upload', $post_id ); |
91 | 91 | if ( is_wp_error( $id ) ) { |
92 | 92 | echo '<div class="error-div error"> |
93 | 93 | <button type="button" class="dismiss button-link" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">' . __( 'Dismiss' ) . '</button> |
94 | | <strong>' . sprintf( __( '“%s” has failed to upload.' ), esc_html( $_FILES['async-upload']['name'] ) ) . '</strong><br />' . |
| 94 | <strong>' |
| 95 | /* translators: %s is the file name the failed to upload. */ |
| 96 | . sprintf( __( '“%s” has failed to upload.' ), esc_html( $_FILES['async-upload']['name'] ) ) |
| 97 | . '</strong><br />' . |
95 | 98 | esc_html( $id->get_error_message() ) . '</div>'; |
96 | 99 | exit; |
97 | 100 | } |
diff --git a/wp-admin/comment.php b/wp-admin/comment.php
old mode 100644
new mode 100755
index d95ae0ded0..cfcd8ac284
a
|
b
|
if ( $comment->comment_approved != '0' ) { // if not unapproved |
202 | 202 | <th scope="row"><?php _e( 'Submitted on' ); ?></th> |
203 | 203 | <td> |
204 | 204 | <?php |
205 | | /* translators: 1: comment date, 2: comment time */ |
206 | 205 | $submitted = sprintf( |
| 206 | /* translators: 1: comment date, 2: comment time */ |
207 | 207 | __( '%1$s at %2$s' ), |
208 | 208 | /* translators: comment date format. See https://secure.php.net/date */ |
209 | 209 | get_comment_date( __( 'Y/m/d' ), $comment ), |
diff --git a/wp-admin/credits.php b/wp-admin/credits.php
old mode 100644
new mode 100755
index 1b9646027f..698cd90c28
a
|
b
|
include( ABSPATH . 'wp-admin/admin-header.php' ); |
18 | 18 | ?> |
19 | 19 | <div class="wrap about-wrap full-width-layout"> |
20 | 20 | |
| 21 | <?php /* translators: %s is the WordPress version number */ ?> |
21 | 22 | <h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1> |
22 | 23 | |
| 24 | <?php /* translators: %s is the WordPress version number */ ?> |
23 | 25 | <p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s will smooth your design workflow and keep you safe from coding errors.' ), $display_version ); ?></p> |
24 | 26 | |
| 27 | <?php /* translators: %s is the WordPress version number */ ?> |
25 | 28 | <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> |
26 | 29 | |
27 | 30 | <h2 class="nav-tab-wrapper wp-clearfix"> |
… |
… |
$credits = wp_credits(); |
38 | 41 | |
39 | 42 | if ( ! $credits ) { |
40 | 43 | echo '<p class="about-description">'; |
41 | | /* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */ |
42 | 44 | printf( |
| 45 | /* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */ |
43 | 46 | __( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ), |
44 | 47 | 'https://wordpress.org/about/', |
45 | 48 | __( 'https://make.wordpress.org/' ) |
… |
… |
return; |
120 | 123 | |
121 | 124 | // These are strings returned by the API that we want to be translatable |
122 | 125 | __( 'Project Leaders' ); |
| 126 | /* translators: %s is the WordPress version number */ |
123 | 127 | __( 'Core Contributors to WordPress %s' ); |
124 | 128 | __( 'Noteworthy Contributors' ); |
125 | 129 | __( 'Cofounder, Project Lead' ); |
diff --git a/wp-admin/custom-background.php b/wp-admin/custom-background.php
old mode 100644
new mode 100755
index a813897fe9..142f52a19b
a
|
b
|
class Custom_Background { |
230 | 230 | <p> |
231 | 231 | <?php |
232 | 232 | printf( |
| 233 | /* translators: %s is the customizer background image configuration url */ |
233 | 234 | __( 'You can now manage and live-preview Custom Backgrounds in the <a href="%1$s">Customizer</a>.' ), |
234 | 235 | admin_url( 'customize.php?autofocus[control]=background_image' ) |
235 | 236 | ); |
… |
… |
class Custom_Background { |
240 | 241 | |
241 | 242 | <?php if ( ! empty( $this->updated ) ) { ?> |
242 | 243 | <div id="message" class="updated"> |
| 244 | <?php /* translators: %s is the website home url */ ?> |
243 | 245 | <p><?php printf( __( 'Background updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) ); ?></p> |
244 | 246 | </div> |
245 | 247 | <?php } ?> |
diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php
old mode 100644
new mode 100755
index 2930dada8f..4ef7d97f98
a
|
b
|
class Custom_Image_Header { |
118 | 118 | 'id' => 'set-header-text', |
119 | 119 | 'title' => __( 'Header Text' ), |
120 | 120 | 'content' => |
| 121 | /* translators: %s is the link to the General Settings page */ |
121 | 122 | '<p>' . sprintf( __( 'For most themes, the header text is your Site Title and Tagline, as defined in the <a href="%1$s">General Settings</a> section.' ), admin_url( 'options-general.php' ) ) . '<p>' . |
122 | 123 | '<p>' . __( 'In the Header Text section of this page, you can choose whether to display this text or hide it. You can also choose a color for the text by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. “#ff0000” for red, or by choosing a color using the color picker.' ) . '</p>' . |
123 | 124 | '<p>' . __( 'Don’t forget to click “Save Changes” when you’re done!' ) . '</p>', |
… |
… |
class Custom_Image_Header { |
474 | 475 | <p> |
475 | 476 | <?php |
476 | 477 | printf( |
| 478 | /* translators: %s is the website home url */ |
477 | 479 | __( 'You can now manage and live-preview Custom Header in the <a href="%1$s">Customizer</a>.' ), |
478 | 480 | admin_url( 'customize.php?autofocus[control]=header_image' ) |
479 | 481 | ); |
… |
… |
class Custom_Image_Header { |
484 | 486 | |
485 | 487 | <?php if ( ! empty( $this->updated ) ) { ?> |
486 | 488 | <div id="message" class="updated"> |
| 489 | <?php /* translators: %s is the website home url */ ?> |
487 | 490 | <p><?php printf( __( 'Header updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) ); ?></p> |
488 | 491 | </div> |
489 | 492 | <?php } ?> |
… |
… |
class Custom_Image_Header { |
540 | 543 | <p><?php _e( 'You can select an image to be shown at the top of your site by uploading from your computer or choosing from your media library. After selecting an image you will be able to crop it.' ); ?><br /> |
541 | 544 | <?php |
542 | 545 | if ( ! current_theme_supports( 'custom-header', 'flex-height' ) && ! current_theme_supports( 'custom-header', 'flex-width' ) ) { |
| 546 | /* translators: 1: image width in pixels; 2: image height in pixels. */ |
543 | 547 | printf( __( 'Images of exactly <strong>%1$d × %2$d pixels</strong> will be used as-is.' ) . '<br />', get_theme_support( 'custom-header', 'width' ), get_theme_support( 'custom-header', 'height' ) ); |
544 | 548 | } elseif ( current_theme_supports( 'custom-header', 'flex-height' ) ) { |
545 | 549 | if ( ! current_theme_supports( 'custom-header', 'flex-width' ) ) { |
… |
… |
if ( $default_image && get_header_image() != $default_image ) : |
721 | 725 | |
722 | 726 | echo '<input type="text" name="text-color" id="text-color" value="' . esc_attr( $header_textcolor ) . '"' . $default_color_attr . ' />'; |
723 | 727 | if ( $default_color ) { |
| 728 | /* translators: %s is the default header text color */ |
724 | 729 | echo ' <span class="description hide-if-js">' . sprintf( _x( 'Default: %s', 'color' ), esc_html( $default_color ) ) . '</span>'; |
725 | 730 | } |
726 | 731 | ?> |
diff --git a/wp-admin/customize.php b/wp-admin/customize.php
old mode 100644
new mode 100755
index 2486f90145..3f0c41b819
a
|
b
|
do_action( 'customize_controls_print_scripts' ); |
207 | 207 | <div class="accordion-section-title"> |
208 | 208 | <span class="preview-notice"> |
209 | 209 | <?php |
| 210 | /* translators: %s is the website title */ |
210 | 211 | echo sprintf( __( 'You are customizing %s' ), '<strong class="panel-title site-title">' . get_bloginfo( 'name', 'display' ) . '</strong>' ); |
211 | 212 | ?> |
212 | 213 | </span> |
diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php
old mode 100644
new mode 100755
index 6b82c15fe5..e221c7b998
a
|
b
|
if ( $post_id ) { |
146 | 146 | $comments_count = wp_count_comments( $post_id ); |
147 | 147 | $draft_or_post_title = wp_html_excerpt( _draft_or_post_title( $post_id ), 50, '…' ); |
148 | 148 | if ( $comments_count->moderated > 0 ) { |
149 | | /* translators: 1: comments count, 2: post title */ |
150 | 149 | $title = sprintf( |
| 150 | /* translators: 1: comments count, 2: post title */ |
151 | 151 | __( 'Comments (%1$s) on “%2$s”' ), |
152 | 152 | number_format_i18n( $comments_count->moderated ), |
153 | 153 | $draft_or_post_title |
154 | 154 | ); |
155 | 155 | } else { |
156 | | /* translators: %s: post title */ |
157 | 156 | $title = sprintf( |
| 157 | /* translators: %s: post title */ |
158 | 158 | __( 'Comments on “%s”' ), |
159 | 159 | $draft_or_post_title |
160 | 160 | ); |
… |
… |
if ( $post_id ) { |
162 | 162 | } else { |
163 | 163 | $comments_count = wp_count_comments(); |
164 | 164 | if ( $comments_count->moderated > 0 ) { |
165 | | /* translators: %s: comments count */ |
166 | 165 | $title = sprintf( |
| 166 | /* translators: %s: comments count */ |
167 | 167 | __( 'Comments (%s)' ), |
168 | 168 | number_format_i18n( $comments_count->moderated ) |
169 | 169 | ); |
… |
… |
require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
219 | 219 | <h1 class="wp-heading-inline"> |
220 | 220 | <?php |
221 | 221 | if ( $post_id ) { |
222 | | /* translators: %s: link to post */ |
223 | 222 | printf( |
| 223 | /* translators: %s: link to post */ |
224 | 224 | __( 'Comments on “%s”' ), |
225 | 225 | sprintf( |
226 | 226 | '<a href="%1$s">%2$s</a>', |
… |
… |
if ( $post_id ) { |
237 | 237 | <?php |
238 | 238 | if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) { |
239 | 239 | echo '<span class="subtitle">'; |
240 | | /* translators: %s: search keywords */ |
241 | 240 | printf( |
| 241 | /* translators: %s: search keywords */ |
242 | 242 | __( 'Search results for “%s”' ), |
243 | 243 | wp_html_excerpt( esc_html( wp_unslash( $_REQUEST['s'] ) ), 50, '…' ) |
244 | 244 | ); |
diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php
old mode 100644
new mode 100755
index 677e3dfbb0..36adf32bf9
a
|
b
|
$messages['post'] = array( |
169 | 169 | 6 => __( 'Post published.' ) . $view_post_link_html, |
170 | 170 | 7 => __( 'Post saved.' ), |
171 | 171 | 8 => __( 'Post submitted.' ) . $preview_post_link_html, |
| 172 | /* translators: %s is the date for which the page is scheduled to be published */ |
172 | 173 | 9 => sprintf( __( 'Post scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_post_link_html, |
173 | 174 | 10 => __( 'Post draft updated.' ) . $preview_post_link_html, |
174 | 175 | ); |
… |
… |
$messages['page'] = array( |
183 | 184 | 6 => __( 'Page published.' ) . $view_page_link_html, |
184 | 185 | 7 => __( 'Page saved.' ), |
185 | 186 | 8 => __( 'Page submitted.' ) . $preview_page_link_html, |
| 187 | /* translators: %s is the date for which the page is scheduled to be published */ |
186 | 188 | 9 => sprintf( __( 'Page scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_page_link_html, |
187 | 189 | 10 => __( 'Page draft updated.' ) . $preview_page_link_html, |
188 | 190 | ); |
… |
… |
$form_extra .= "<input type='hidden' id='post_ID' name='post_ID' value='" . esc |
227 | 229 | if ( $autosave && mysql2date( 'U', $autosave->post_modified_gmt, false ) > mysql2date( 'U', $post->post_modified_gmt, false ) ) { |
228 | 230 | foreach ( _wp_post_revision_fields( $post ) as $autosave_field => $_autosave_field ) { |
229 | 231 | if ( normalize_whitespace( $autosave->$autosave_field ) != normalize_whitespace( $post->$autosave_field ) ) { |
| 232 | /* translators: %s is the link to check out the autosave of the post */ |
230 | 233 | $notice = sprintf( __( 'There is an autosave of this post that is more recent than the version below. <a href="%s">View the autosave</a>' ), get_edit_post_link( $autosave->ID ) ); |
231 | 234 | break; |
232 | 235 | } |
… |
… |
if ( 'post' == $post_type ) { |
428 | 431 | ); |
429 | 432 | |
430 | 433 | get_current_screen()->set_help_sidebar( |
| 434 | /* translators: %s is the Press This bookmarklet link */ |
431 | 435 | '<p>' . sprintf( __( 'You can also create posts with the <a href="%s">Press This bookmarklet</a>.' ), 'tools.php' ) . '</p>' . |
432 | 436 | '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . |
433 | 437 | '<p>' . __( '<a href="https://codex.wordpress.org/Posts_Add_New_Screen">Documentation on Writing and Editing Posts</a>' ) . '</p>' . |
… |
… |
wp_editor( |
711 | 715 | ); |
712 | 716 | ?> |
713 | 717 | <table id="post-status-info"><tbody><tr> |
| 718 | <?php /* translators: %s is the word count number */ ?> |
714 | 719 | <td id="wp-word-count" class="hide-if-no-js"><?php printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' ); ?></td> |
715 | 720 | <td class="autosave-info"> |
716 | 721 | <span class="autosave-message"> </span> |
diff --git a/wp-admin/edit-link-form.php b/wp-admin/edit-link-form.php
old mode 100644
new mode 100755
index d0db1df36a..4b66556cfa
a
|
b
|
if ( ! defined( 'ABSPATH' ) ) { |
12 | 12 | } |
13 | 13 | |
14 | 14 | if ( ! empty( $link_id ) ) { |
| 15 | /* translators: %s is the link for the Links manager */ |
15 | 16 | $heading = sprintf( __( '<a href="%s">Links</a> / Edit Link' ), 'link-manager.php' ); |
16 | 17 | $submit_text = __( 'Update Link' ); |
17 | 18 | $form_name = 'editlink'; |
18 | 19 | $nonce_action = 'update-bookmark_' . $link_id; |
19 | 20 | } else { |
| 21 | /* translators: %s is the link for the Links manager */ |
20 | 22 | $heading = sprintf( __( '<a href="%s">Links</a> / Add New Link' ), 'link-manager.php' ); |
21 | 23 | $submit_text = __( 'Add Link' ); |
22 | 24 | $form_name = 'addlink'; |
diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php
old mode 100644
new mode 100755
index 2d9ab1dc04..f6cbea013b
a
|
b
|
if ( current_user_can( $tax->cap->edit_terms ) ) { |
239 | 239 | if ( 'category' == $taxonomy || 'link_category' == $taxonomy || 'post_tag' == $taxonomy ) { |
240 | 240 | $help = ''; |
241 | 241 | if ( 'category' == $taxonomy ) { |
| 242 | /* translators: %s is the link to the writing settings page */ |
242 | 243 | $help = '<p>' . sprintf( __( 'You can use categories to define sections of your site and group related posts. The default category is “Uncategorized” until you change it in your <a href="%s">writing settings</a>.' ), 'options-writing.php' ) . '</p>'; |
243 | 244 | } elseif ( 'link_category' == $taxonomy ) { |
244 | 245 | $help = '<p>' . __( 'You can create groups of links by using Link Categories. Link Category names must be unique and Link Categories are separate from the categories you use for posts.' ) . '</p>'; |
… |
… |
do_action( "{$taxonomy}_add_form", $taxonomy ); |
588 | 589 | ?> |
589 | 590 | </p> |
590 | 591 | <?php if ( current_user_can( 'import' ) ) : ?> |
| 592 | <?php /* translators: %s is the link to the category to tag converter tool */ ?> |
591 | 593 | <p><?php printf( __( 'Categories can be selectively converted to tags using the <a href="%s">category to tag converter</a>.' ), esc_url( $import_link ) ); ?></p> |
592 | 594 | <?php endif; ?> |
593 | 595 | </div> |
594 | 596 | <?php elseif ( 'post_tag' == $taxonomy && current_user_can( 'import' ) ) : ?> |
595 | 597 | <div class="form-wrap edit-term-notes"> |
| 598 | <?php /* translators: %s is the link to the tag to category converter tool */ ?> |
596 | 599 | <p><?php printf( __( 'Tags can be selectively converted to categories using the <a href="%s">tag to category converter</a>.' ), esc_url( $import_link ) ); ?></p> |
597 | 600 | </div> |
598 | 601 | <?php |
diff --git a/wp-admin/edit.php b/wp-admin/edit.php
old mode 100644
new mode 100755
index b1ad058912..edfb324d6d
a
|
b
|
$bulk_counts = array( |
306 | 306 | |
307 | 307 | $bulk_messages = array(); |
308 | 308 | $bulk_messages['post'] = array( |
| 309 | /* translators: %s is the number of ºpsts updated */ |
309 | 310 | 'updated' => _n( '%s post updated.', '%s posts updated.', $bulk_counts['updated'] ), |
310 | 311 | 'locked' => ( 1 == $bulk_counts['locked'] ) ? __( '1 post not updated, somebody is editing it.' ) : |
| 312 | /* translators: %s is the number of posts not updated */ |
311 | 313 | _n( '%s post not updated, somebody is editing it.', '%s posts not updated, somebody is editing them.', $bulk_counts['locked'] ), |
| 314 | /* translators: %s is the number of posts permanently deleted */ |
312 | 315 | 'deleted' => _n( '%s post permanently deleted.', '%s posts permanently deleted.', $bulk_counts['deleted'] ), |
| 316 | /* translators: %s is the number of posts moved to the trash */ |
313 | 317 | 'trashed' => _n( '%s post moved to the Trash.', '%s posts moved to the Trash.', $bulk_counts['trashed'] ), |
| 318 | /* translators: %s is the number of posts restored from the trash */ |
314 | 319 | 'untrashed' => _n( '%s post restored from the Trash.', '%s posts restored from the Trash.', $bulk_counts['untrashed'] ), |
315 | 320 | ); |
316 | 321 | $bulk_messages['page'] = array( |
| 322 | /* translators: %s is the number of pages updated */ |
317 | 323 | 'updated' => _n( '%s page updated.', '%s pages updated.', $bulk_counts['updated'] ), |
318 | 324 | 'locked' => ( 1 == $bulk_counts['locked'] ) ? __( '1 page not updated, somebody is editing it.' ) : |
| 325 | /* translators: %s is the number of pages not updated */ |
319 | 326 | _n( '%s page not updated, somebody is editing it.', '%s pages not updated, somebody is editing them.', $bulk_counts['locked'] ), |
| 327 | /* translators: %s is the number of pages permanently deleted */ |
320 | 328 | 'deleted' => _n( '%s page permanently deleted.', '%s pages permanently deleted.', $bulk_counts['deleted'] ), |
| 329 | /* translators: %s is the number of pages moved to the trash */ |
321 | 330 | 'trashed' => _n( '%s page moved to the Trash.', '%s pages moved to the Trash.', $bulk_counts['trashed'] ), |
| 331 | /* translators: %s is the number of pages restored from the trash */ |
322 | 332 | 'untrashed' => _n( '%s page restored from the Trash.', '%s pages restored from the Trash.', $bulk_counts['untrashed'] ), |
323 | 333 | ); |
324 | 334 | |
diff --git a/wp-admin/freedoms.php b/wp-admin/freedoms.php
old mode 100644
new mode 100755
index 110959449d..4f4dfa6448
a
|
b
|
$is_privacy_notice = isset( $_GET['privacy-notice'] ); |
20 | 20 | ?> |
21 | 21 | <div class="wrap about-wrap full-width-layout"> |
22 | 22 | |
| 23 | <?php /* translators: %s is the WordPress version number */ ?> |
23 | 24 | <h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1> |
24 | 25 | |
| 26 | <?php /* translators: %s is the WordPress version number */ ?> |
25 | 27 | <p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s will smooth your design workflow and keep you safe from coding errors.' ), $display_version ); ?></p> |
26 | 28 | |
| 29 | <?php /* translators: %s is the WordPress version number */ ?> |
27 | 30 | <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> |
28 | 31 | |
29 | 32 | <h2 class="nav-tab-wrapper wp-clearfix"> |
… |
… |
$is_privacy_notice = isset( $_GET['privacy-notice'] ); |
38 | 41 | <div class="about-wrap-content"> |
39 | 42 | <p class="about-description"><?php _e( 'From time to time, your WordPress site may send data to WordPress.org — including, but not limited to — the version of WordPress you are using, and a list of installed plugins and themes.' ); ?></p> |
40 | 43 | |
| 44 | <?php /* translators: %s is the link for the stats page on wordpress.org */ ?> |
41 | 45 | <p><?php printf( __( 'This data is used to provide general enhancements to WordPress, which includes helping to protect your site by finding and automatically installing new updates. It is also used to calculate statistics, such as those shown on the <a href="%s">WordPress.org stats page</a>.' ), 'https://wordpress.org/about/stats/' ); ?></p> |
42 | 46 | |
| 47 | <?php /* translators: %s is the link for the privacy page on wordpress.org */ ?> |
43 | 48 | <p><?php printf( __( 'We take privacy and transparency very seriously. To learn more about what data we collect, and how we use it, please visit <a href="%s">WordPress.org/about/privacy</a>.' ), 'https://wordpress.org/about/privacy/' ); ?></p> |
44 | 49 | </div> |
45 | 50 | |
46 | 51 | <?php else : ?> |
47 | 52 | <div class="about-wrap-content"> |
| 53 | <?php /* translators: %s is the link for the license page on wordpress.org */ ?> |
48 | 54 | <p class="about-description"><?php printf( __( 'WordPress is Free and open source software, built by a distributed community of mostly volunteer developers from around the world. WordPress comes with some awesome, worldview-changing rights courtesy of its <a href="%s">license</a>, the GPL.' ), 'https://wordpress.org/about/license/' ); ?></p> |
49 | 55 | |
50 | 56 | <ol start="0"> |
… |
… |
$is_privacy_notice = isset( $_GET['privacy-notice'] ); |
54 | 60 | <li><p><?php _e( 'You have the freedom to distribute copies of your modified versions to others. By doing this you can give the whole community a chance to benefit from your changes.' ); ?></p></li> |
55 | 61 | </ol> |
56 | 62 | |
| 63 | <?php /* translators: %s is the trademark policy url at wordpressfoundation.org */ ?> |
57 | 64 | <p><?php printf( __( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We’re flattered every time someone spreads the good word, just make sure to <a href="%s">check out our trademark guidelines</a> first.' ), 'https://wordpressfoundation.org/trademark-policy/' ); ?></p> |
58 | 65 | |
59 | 66 | <p> |
… |
… |
$is_privacy_notice = isset( $_GET['privacy-notice'] ); |
62 | 69 | $plugins_url = current_user_can( 'activate_plugins' ) ? admin_url( 'plugins.php' ) : __( 'https://wordpress.org/plugins/' ); |
63 | 70 | $themes_url = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : __( 'https://wordpress.org/themes/' ); |
64 | 71 | |
| 72 | /* translators: 1: the plugins page url; 2: the themes page url; 3: the licence page at wordpress.org */ |
65 | 73 | printf( __( 'Every plugin and theme in WordPress.org’s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="%3$s">ask them if it’s GPL</a> first. If they don’t respect the WordPress license, we don’t recommend them.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' ); |
66 | 74 | ?> |
67 | 75 | </p> |
diff --git a/wp-admin/import.php b/wp-admin/import.php
index 48051c940e..74e757a444 100644
a
|
b
|
if ( empty( $importers ) ) { |
216 | 216 | } |
217 | 217 | |
218 | 218 | if ( current_user_can( 'install_plugins' ) ) { |
| 219 | /* translators: %s is the link for the plugin directory */ |
219 | 220 | echo '<p>' . sprintf( __( 'If the importer you need is not listed, <a href="%s">search the plugin directory</a> to see if an importer is available.' ), esc_url( network_admin_url( 'plugin-install.php?tab=search&type=tag&s=importer' ) ) ) . '</p>'; |
220 | 221 | } |
221 | 222 | ?> |