WordPress.org

Make WordPress Core

Ticket #17360: 17360.3.patch

File 17360.3.patch, 14.3 KB (added by chexee, 2 years ago)

Updated patch to latest version of trunk and excluded Profile and Theme Options language

  • wp-signup.php

     
    387387$i18n_signup['user'] = _x('user', 'Multisite active signup type'); 
    388388 
    389389if ( is_super_admin() ) 
    390         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>'; 
     390        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>'; 
    391391 
    392392$newblogname = isset($_GET['new']) ? strtolower(preg_replace('/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'])) : null; 
    393393 
  • 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/options-privacy.php

     
    11<?php 
    22/** 
    3  * Privacy Options Settings Administration Screen. 
     3 * Privacy Settings Administration Screen. 
    44 * 
    55 * @package WordPress 
    66 * @subpackage Administration 
     
    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 = __('Privacy Settings'); 
    1616$parent_file = 'options-general.php'; 
  • 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'; 
    1717 
    1818$media_options_help = '<p>' . __('You can set maximum sizes for images inserted into your written content; you can also insert an image as Full Size.') . '</p>' . 
    19         '<p>' . __('The Embed option allows you embed a video, image, or other media content into your content automatically by typing the URL (of the web page where the file lives) on its own line when you create your content.'); 
     19        '<p>' . __('The Embed setting allows you embed a video, image, or other media content into your content automatically by typing the URL (of the web page where the file lives) on its own line when you create your content.'); 
    2020 
    2121if ( ! empty( $content_width ) ) 
    2222        $media_options_help .= ' ' . __( 'If you do not set the maximum embed size, it will be automatically sized to fit into your content area.' ); 
  • 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>' . 
    28                         '<p>' . __('Dashboard Site is an option to give a site to users who do not have a site on the system. Their default role is Subscriber, but that default can be changed. The Admin Notice Feed can provide a notice on all dashboards of the latest post via RSS or Atom, or provide no such notice if left blank.') . '</p>' . 
     28                        '<p>' . __('Dashboard Site is a setting to give a site to users who do not have a site on the system. Their default role is Subscriber, but that default can be changed. The Admin Notice Feed can provide a notice on all dashboards of the latest post via RSS or Atom, or provide no such notice if left blank.') . '</p>' . 
    2929                        '<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>' . 
    3030                        '<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>' . 
    3131                        '<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>' . 
    3232                        '<p>' . __('Checkboxes for media upload buttons set which are shown in the visual editor. If unchecked, a generic upload button is still visible; other media types can still be uploaded if on the allowed file types list.') . '</p>' . 
    3333                        '<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>' . 
    34                         '<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>' 
     34                        '<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>' 
    3535) ); 
    3636 
    3737get_current_screen()->set_help_sidebar( 
     
    109109include( '../admin-header.php' ); 
    110110 
    111111if ( isset( $_GET['updated'] ) ) { 
    112         ?><div id="message" class="updated"><p><?php _e( 'Options saved.' ) ?></p></div><?php 
     112        ?><div id="message" class="updated"><p><?php _e( 'Settings saved.' ) ?></p></div><?php 
    113113} 
    114114?> 
    115115 
  • wp-admin/options-discussion.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.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-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-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'; 
     
    2727        'id'      => 'common-settings', 
    2828        'title'   => __('Common Settings'), 
    2929        '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>' . 
     30                '<p>' . __('If you pick an setting 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) ); 
  • 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/custom-background.php

     
    8585                        'title'   => __('Overview'), 
    8686                        'content' => 
    8787                                '<p>' . __( 'You can customize the look of your site without touching any of your theme&#8217;s code by using a custom background. Your background can be an image or a color.' ) . '</p>' . 
    88                                 '<p>' . __( 'To use a background image, simply upload it, then choose your display options below. You can display a single instance of your image, or tile it to fill the screen. You can have your background fixed in place, so your site content moves on top of it, or you can have it scroll with your site.' ) . '</p>' . 
     88                                '<p>' . __( 'To use a background image, simply upload it, then choose your display settings below. You can display a single instance of your image, or tile it to fill the screen. You can have your background fixed in place, so your site content moves on top of it, or you can have it scroll with your site.' ) . '</p>' . 
    8989                                '<p>' . __( 'You can also choose a background color. If you know the hexadecimal code for the color you want, enter it in the Background Color field. If not, click on the Select a Color link, and a color picker will allow you to choose the exact shade you want.' ) . '</p>' . 
    9090                                '<p>' . __( 'Don&#8217;t forget to click on the Save Changes button when you are finished.' ) . '</p>' 
    9191                ) ); 
     
    252252</tbody> 
    253253</table> 
    254254 
    255 <h3><?php _e('Display Options') ?></h3> 
     255<h3><?php _e('Display Settings') ?></h3> 
    256256<form method="post" action=""> 
    257257<table class="form-table"> 
    258258<tbody>