Make WordPress Core

Ticket #22623: ui-copy-string-fixes.patch

File ui-copy-string-fixes.patch, 2.3 KB (added by sachinrajcp123, 4 weeks ago)
Line 
1diff --git a/wp-admin/includes/class-wp-sites-list-table.php b/wp-admin/includes/class-wp-sites-list-table.php
2index 1234567..abcdef0 100644
3--- a/wp-admin/includes/class-wp-sites-list-table.php
4+++ b/wp-admin/includes/class-wp-sites-list-table.php
5@@ -312,7 +312,7 @@ class WP_Sites_List_Table extends WP_List_Table {
6 
7        $columns = array(
8                'cb'     => '<input type="checkbox" />',
9-               'path'   => __( 'Path', 'wordpress' ),
10+               'path'   => esc_html_x( 'Path', 'site subdirectory path', 'wordpress' ),
11                'blogname' => __( 'Site', 'wordpress' ),
12        );
13 
14diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php
15index 2345678..bcdef01 100644
16--- a/wp-includes/class-wp-editor.php
17+++ b/wp-includes/class-wp-editor.php
18@@ -1980,7 +1980,7 @@ final class _WP_Editors {
19 
20        $strings = array(
21-               'path' => __( 'Path', 'wordpress' ),
22+               'path' => esc_html_x( 'Path', 'html element location', 'wordpress' ),
23        );
24 
25diff --git a/wp-admin/network/sites.php b/wp-admin/network/sites.php
26index 3456789..cdef012 100644
27--- a/wp-admin/network/sites.php
28+++ b/wp-admin/network/sites.php
29@@ -125,7 +125,7 @@ if ( isset( $_GET['action'] ) ) {
30                $status = 'spam';
31                break;
32-       case 'delete':
33-               $label = __( 'Deleted', 'wordpress' );
34+       case 'delete':
35+               $label = __( 'Deactivated', 'wordpress' );
36                break;
37 }
38 
39diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php
40index 456789a..def0123 100644
41--- a/wp-admin/custom-header.php
42+++ b/wp-admin/custom-header.php
43@@ -1050,7 +1050,7 @@ function custom_header_admin_page() {
44 
45        <label for="show-header-text">
46-               <?php _e( 'Show header text with your image.', 'wordpress' ); ?>
47+               <?php _e( 'Display header text.', 'wordpress' ); ?>
48        </label>
49 
50diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php
51index 56789ab..ef01234 100644
52--- a/wp-includes/general-template.php
53+++ b/wp-includes/general-template.php
54@@ -3890,7 +3890,7 @@ function get_search_form( $args = array() ) {
55-       $no_results = __( 'No matches found.', 'wordpress' );
56+       $no_results = __( 'No results found.', 'wordpress' );