WordPress.org

Make WordPress Core

Ticket #17360: 17360.diff

File 17360.diff, 13.7 KB (added by michaelh, 3 years ago)

Change string(s) from options to settings

  • wp-admin/custom-background.php

     
    244244</tbody> 
    245245</table> 
    246246 
    247 <h3><?php _e('Display Options') ?></h3> 
     247<h3><?php _e('Display Settings') ?></h3> 
    248248<form method="post" action=""> 
    249249<table class="form-table"> 
    250250<tbody> 
  • wp-admin/includes/theme.php

     
    309309                        'front-page-post-form' => __( 'Front Page Posting' ), 
    310310                        'microformats'         => __( 'Microformats' ), 
    311311                        'sticky-post'          => __( 'Sticky Post' ), 
    312                         'theme-options'        => __( 'Theme Options' ), 
     312                        'theme-options'        => __( 'Theme Settings' ), 
    313313                        'threaded-comments'    => __( 'Threaded Comments' ), 
    314314                        'translation-ready'    => __( 'Translation Ready' ), 
    315315                        'rtl-language-support' => __( 'RTL Language Support' ) 
  • 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

     
    2020$parent_file = 'settings.php'; 
    2121 
    2222add_contextual_help($current_screen, 
    23         '<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>' . 
     23        '<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>' . 
    2424        '<p>' . __('Operational settings has fields for the network&#8217;s name and admin email.') . '</p>' . 
    2525        '<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>' . 
    2626        '<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>' . 
     
    2828        '<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>' . 
    2929        '<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>' . 
    3030        '<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>' . 
    31         '<p>' . __('Super admins can no longer be added on the Options screen. You must now go to the list of existing users on Super 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>' . 
     31        '<p>' . __('Super admins can no longer be added on the Settings screen. You must now go to the list of existing users on Super 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>' . 
    3232        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    3333        '<p>' . __('<a href="http://codex.wordpress.org/Network_Admin_Settings_Screen" target="_blank">Documentation on Network Settings</a>') . '</p>' . 
    3434        '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
     
    3838 
    3939if (isset($_GET['updated'])) { 
    4040        ?> 
    41         <div id="message" class="updated"><p><?php _e( 'Options saved.' ) ?></p></div> 
     41        <div id="message" class="updated"><p><?php _e( 'Settings saved.' ) ?></p></div> 
    4242        <?php 
    4343} 
    4444?> 
  • wp-admin/options-discussion.php

     
    1616$parent_file = 'options-general.php'; 
    1717 
    1818add_contextual_help($current_screen, 
    19         '<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 link below to get information on what each discussion setting does.') . '</p>' . 
     19        '<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 link below to get information on what each discussion setting does.') . '</p>' . 
    2020        '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 
    2121        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    2222        '<p>' . __('<a href="http://codex.wordpress.org/Settings_Discussion_Screen" target="_blank">Documentation on Discussion Settings</a>') . '</p>' . 
  • 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'; 
     
    1818add_contextual_help($current_screen, 
    1919        '<p>' . __('You can set maximum sizes for images inserted into your written content; you can also insert an image as Full Size.') . '</p>' . 
    2020        '<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.') . '</p>' . 
    21         ( is_multisite() ? '' : '<p>' . __('Uploading Options gives you folder and path choices for storing your files in your installation&#8217;s directory.') . '</p>' ) . 
     21        ( is_multisite() ? '' : '<p>' . __('Uploading Settings gives you folder and path choices for storing your files in your installation&#8217;s directory.') . '</p>' ) . 
    2222        '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 
    2323        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    2424        '<p>' . __('<a href="http://codex.wordpress.org/Settings_Media_Screen" target="_blank">Documentation on Media Settings</a>') . '</p>' . 
  • 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'; 
  • 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-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-admin/user-edit.php

     
    3838 
    3939// contextual help - choose Help on the top right of admin panel to preview this. 
    4040add_contextual_help($current_screen, 
    41     '<p>' . __('Your profile contains information about you (your &#8220;account&#8221;) as well as some personal options related to using WordPress.') . '</p>' . 
     41    '<p>' . __('Your profile contains information about you (your &#8220;account&#8221;) as well as some personal settings related to using WordPress.') . '</p>' . 
    4242    '<p>' . __('You can change your password, turn on keyboard shortcuts, change the color scheme of your WordPress administration screens, and turn off the WYSIWYG (Visual) editor, among other things.') . '</p>' . 
    4343    '<p>' . __('Your username cannot be changed, but you can use other fields to enter your real name or a nickname, and change which name to display on your posts.') . '</p>' . 
    4444    '<p>' . __('Required fields are indicated; the rest are optional. Profile information will only be displayed if your theme is set up to do so.') . '</p>' . 
  • wp-signup.php

     
    391391$i18n_signup['user'] = _x('user', 'Multisite active signup type'); 
    392392 
    393393if ( is_super_admin() ) 
    394         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>'; 
     394        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>'; 
    395395 
    396396$newblogname = isset($_GET['new']) ? strtolower(preg_replace('/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'])) : null; 
    397397