WordPress.org

Make WordPress Core

Ticket #17360: 17360.4.patch

File 17360.4.patch, 13.1 KB (added by kpdesign, 7 years ago)

Updated patch to latest version of trunk

  • wp-admin/custom-background.php

     
    268268</tbody>
    269269</table>
    270270
    271 <h3><?php _e('Display Options') ?></h3>
     271<h3><?php _e('Display Settings') ?></h3>
    272272<form method="post" action="">
    273273<table class="form-table">
    274274<tbody>
  • wp-admin/network.php

     
    1616require_once( './admin.php' );
    1717
    1818if ( ! is_super_admin() )
    19         wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) );
     19        wp_die( __( 'You do not have sufficient permissions to manage settings for this site.' ) );
    2020
    2121if ( is_multisite() ) {
    2222        if ( ! is_network_admin() ) {
  • wp-admin/network/settings.php

     
    2323                'id'      => 'overview',
    2424                'title'   => __('Overview'),
    2525                'content' =>
    26                         '<p>' . __('This screen sets and changes options for the network as a whole. The first site is the main site in the network and network options are pulled from that original site&#8217;s options.') . '</p>' .
     26                        '<p>' . __('This screen sets and changes settings for the network as a whole. The first site is the main site in the network, and network settings are pulled from that original site&#8217;s settings.') . '</p>' .
    2727                        '<p>' . __('Operational settings has fields for the network&#8217;s name and admin email.') . '</p>' .
    2828                        '<p>' . __('Registration settings can disable/enable public signups. If you let others sign up for a site, install spam plugins. Spaces, not commas, should separate names banned as sites for this network.') . '</p>' .
    2929                        '<p>' . __('New site settings are defaults applied when a new site is created in the network. These include welcome email for when a new site or user account is registered, and what&#8127;s put in the first post, page, comment, comment author, and comment URL.') . '</p>' .
    3030                        '<p>' . __('Upload settings control the size of the uploaded files and the amount of available upload space for each site. You can change the default value for specific sites when you edit a particular site. Allowed file types are also listed (space separated only).') . '</p>' .
    3131                        '<p>' . __('Menu setting enables/disables the plugin menus from appearing for non super admins, so that only super admins, not site admins, have access to activate plugins.') . '</p>' .
    32                         '<p>' . __('Super admins can no longer be added on the Options screen. You must now go to the list of existing users on Network Admin > Users and click on Username or the Edit action link below that name. This goes to an Edit User page where you can check a box to grant super admin privileges.') . '</p>'
     32                        '<p>' . __('Super admins can no longer be added on the Settings screen. You must now go to the list of existing users on Network Admin > Users and click on Username or the Edit action link below that name. This goes to an Edit User page where you can check a box to grant super admin privileges.') . '</p>'
    3333) );
    3434
    3535get_current_screen()->set_help_sidebar(
     
    7474include( '../admin-header.php' );
    7575
    7676if ( isset( $_GET['updated'] ) ) {
    77         ?><div id="message" class="updated"><p><?php _e( 'Options saved.' ) ?></p></div><?php
     77        ?><div id="message" class="updated"><p><?php _e( 'Settings saved.' ) ?></p></div><?php
    7878}
    7979?>
    8080
  • wp-admin/options-discussion.php

     
    1010require_once('./admin.php');
    1111
    1212if ( ! current_user_can( 'manage_options' ) )
    13         wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) );
     13        wp_die( __( 'You do not have sufficient permissions to manage settings for this site.' ) );
    1414
    1515$title = __('Discussion Settings');
    1616$parent_file = 'options-general.php';
     
    1818get_current_screen()->add_help_tab( array(
    1919        'id'      => 'overview',
    2020        'title'   => __('Overview'),
    21         'content' => '<p>' . __('This screen provides many options for controlling the management and display of comments and links to your posts/pages. So many, in fact, they won&#8217;t all fit here! :) Use the documentation links to get information on what each discussion setting does.') . '</p>' .
     21        'content' => '<p>' . __('This screen provides many settings for controlling the management and display of comments and links to your posts/pages. So many, in fact, they won&#8217;t all fit here! :) Use the documentation links to get information on what each discussion setting does.') . '</p>' .
    2222                '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>',
    2323) );
    2424
  • wp-admin/options-general.php

     
    1010require_once('./admin.php');
    1111
    1212if ( ! current_user_can( 'manage_options' ) )
    13         wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) );
     13        wp_die( __( 'You do not have sufficient permissions to manage settings for this site.' ) );
    1414
    1515$title = __('General Settings');
    1616$parent_file = 'options-general.php';
  • wp-admin/options-media.php

     
    1010require_once('./admin.php');
    1111
    1212if ( ! current_user_can( 'manage_options' ) )
    13         wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) );
     13        wp_die( __( 'You do not have sufficient permissions to manage settings for this site.' ) );
    1414
    1515$title = __('Media Settings');
    1616$parent_file = 'options-general.php';
  • wp-admin/options-permalink.php

     
    1010require_once('./admin.php');
    1111
    1212if ( ! current_user_can( 'manage_options' ) )
    13         wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) );
     13        wp_die( __( 'You do not have sufficient permissions to manage settings for this site.' ) );
    1414
    1515$title = __('Permalink Settings');
    1616$parent_file = 'options-general.php';
     
    1919        'id'      => 'overview',
    2020        'title'   => __('Overview'),
    2121        'content' => '<p>' . __('Permalinks are the permanent URLs to your individual pages and blog posts, as well as your category and tag archives. A permalink is the web address used to link to your content. The URL to each post should be permanent, and never change &#8212; hence the name permalink.') . '</p>' .
    22                 '<p>' . __('This screen allows you to choose your default permalink structure. You can choose from common settings or create custom URL structures.') . '</p>' .
     22                '<p>' . __('This screen allows you to choose your default permalink structure. You can choose from common settings, or create custom URL structures.') . '</p>' .
    2323                '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>',
    2424) );
    2525
     
    2626get_current_screen()->add_help_tab( array(
    2727        'id'      => 'common-settings',
    2828        'title'   => __('Common Settings'),
    29         'content' => '<p>' . __('Many people choose to use &#8220;pretty permalinks,&#8221; URLs that contain useful information such as the post title rather than generic post ID numbers. You can choose from any of the permalink formats under Common Settings, or can craft your own if you select Custom Structure.') . '</p>' .
    30                 '<p>' . __('If you pick an option other than Default, your general URL path with structure tags, terms surrounded by <code>%</code>, will also appear in the custom structure field and your path can be further modified there.') . '</p>' .
     29        'content' => '<p>' . __('Many people choose to use &#8220;pretty permalinks,&#8221; URLs that contain useful information, such as the post title, rather than generic post ID numbers. You can choose from any of the permalink formats under Common Settings, or you can craft your own if you select Custom Structure.') . '</p>' .
     30                '<p>' . __('If you pick a format other than Default, your general URL path with structure tags, terms surrounded by <code>%</code>, will also appear in the custom structure field and your path can be further modified there.') . '</p>' .
    3131                '<p>' . __('When you assign multiple categories or tags to a post, only one can show up in the permalink: the lowest numbered category. This applies if your custom structure includes <code>%category%</code> or <code>%tag%</code>.') . '</p>' .
    3232                '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>',
    3333) );
     
    232232?>
    233233<p><?php
    234234/* translators: %s is a placeholder that must come at the start of the URL path. */
    235 printf( __('If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>topics</code> as your category base would make your category links like <code>http://example.org/%stopics/uncategorized/</code>. If you leave these blank the defaults will be used.'), $suffix ); ?></p>
     235printf( __('If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>topics</code> as your category base would make your category links like <code>http://example.org/%stopics/uncategorized/</code>. If you leave these blank, the defaults will be used.'), $suffix ); ?></p>
    236236
    237237<table class="form-table">
    238238        <tr>
  • wp-admin/options-reading.php

     
    1010require_once( './admin.php' );
    1111
    1212if ( ! current_user_can( 'manage_options' ) )
    13         wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) );
     13        wp_die( __( 'You do not have sufficient permissions to manage settings for this site.' ) );
    1414
    1515$title = __( 'Reading Settings' );
    1616$parent_file = 'options-general.php';
  • wp-admin/options-writing.php

     
    1010require_once('./admin.php');
    1111
    1212if ( ! current_user_can( 'manage_options' ) )
    13         wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) );
     13        wp_die( __( 'You do not have sufficient permissions to manage settings for this site.' ) );
    1414
    1515$title = __('Writing Settings');
    1616$parent_file = 'options-general.php';
  • wp-admin/options.php

     
    11<?php
    22/**
    3  * Options Management Administration Screen.
     3 * Settings Management Administration Screen.
    44 *
    5  * If accessed directly in a browser this page shows a list of all saved options
     5 * If accessed directly in a browser this page shows a list of all saved settings
    66 * along with editable fields for their values. Serialized data is not supported
    7  * and there is no way to remove options via this page. It is not linked to from
     7 * and there is no way to remove settings via this page. It is not linked to from
    88 * anywhere else in the admin.
    99 *
    10  * This file is also the target of the forms in core and custom options pages
     10 * This file is also the target of the forms in core and custom settings pages
    1111 * that use the Settings API. In this case it saves the new option values
    1212 * and returns the user to their page of origin.
    1313 *
  • wp-signup.php

     
    524524$i18n_signup['user'] = _x('user', 'Multisite active signup type');
    525525
    526526if ( is_super_admin() )
    527         echo '<div class="mu_alert">' . sprintf( __( 'Greetings Site Administrator! You are currently allowing &#8220;%s&#8221; registrations. To change or disable registration go to your <a href="%s">Options page</a>.' ), $i18n_signup[$active_signup], esc_url( network_admin_url( 'settings.php' ) ) ) . '</div>';
     527        echo '<div class="mu_alert">' . sprintf( __( 'Greetings Site Administrator! You are currently allowing &#8220;%s&#8221; registrations. To change or disable registration go to your <a href="%s">Settings page</a>.' ), $i18n_signup[$active_signup], esc_url( network_admin_url( 'settings.php' ) ) ) . '</div>';
    528528
    529529$newblogname = isset($_GET['new']) ? strtolower(preg_replace('/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'])) : null;
    530530