Ticket #17360: 17360.3.patch
File 17360.3.patch, 14.3 KB (added by , 9 years ago) |
---|
-
wp-signup.php
387 387 $i18n_signup['user'] = _x('user', 'Multisite active signup type'); 388 388 389 389 if ( is_super_admin() ) 390 echo '<div class="mu_alert">' . sprintf( __( 'Greetings Site Administrator! You are currently allowing “%s” 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 “%s” 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>'; 391 391 392 392 $newblogname = isset($_GET['new']) ? strtolower(preg_replace('/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'])) : null; 393 393 -
wp-admin/network.php
16 16 require_once( './admin.php' ); 17 17 18 18 if ( ! 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.' ) ); 20 20 21 21 if ( is_multisite() ) { 22 22 if ( ! is_network_admin() ) { -
wp-admin/options-privacy.php
1 1 <?php 2 2 /** 3 * Privacy OptionsSettings Administration Screen.3 * Privacy Settings Administration Screen. 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Administration … … 10 10 require_once('./admin.php'); 11 11 12 12 if ( ! 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.' ) ); 14 14 15 15 $title = __('Privacy Settings'); 16 16 $parent_file = 'options-general.php'; -
wp-admin/options-general.php
10 10 require_once('./admin.php'); 11 11 12 12 if ( ! 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.' ) ); 14 14 15 15 $title = __('General Settings'); 16 16 $parent_file = 'options-general.php'; -
wp-admin/options-media.php
10 10 require_once('./admin.php'); 11 11 12 12 if ( ! 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.' ) ); 14 14 15 15 $title = __('Media Settings'); 16 16 $parent_file = 'options-general.php'; 17 17 18 18 $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 optionallows 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.'); 20 20 21 21 if ( ! empty( $content_width ) ) 22 22 $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
23 23 'id' => 'overview', 24 24 'title' => __('Overview'), 25 25 '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’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’s settings.') . '</p>' . 27 27 '<p>' . __('Operational settings has fields for the network’s name and admin email.') . '</p>' . 28 '<p>' . __('Dashboard Site is a n optionto 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>' . 29 29 '<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>' . 30 30 '<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᾿s put in the first post, page, comment, comment author, and comment URL.') . '</p>' . 31 31 '<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>' . 32 32 '<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>' . 33 33 '<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>' 35 35 ) ); 36 36 37 37 get_current_screen()->set_help_sidebar( … … 109 109 include( '../admin-header.php' ); 110 110 111 111 if ( isset( $_GET['updated'] ) ) { 112 ?><div id="message" class="updated"><p><?php _e( ' Options saved.' ) ?></p></div><?php112 ?><div id="message" class="updated"><p><?php _e( 'Settings saved.' ) ?></p></div><?php 113 113 } 114 114 ?> 115 115 -
wp-admin/options-discussion.php
18 18 get_current_screen()->add_help_tab( array( 19 19 'id' => 'overview', 20 20 '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’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’t all fit here! :) Use the documentation links to get information on what each discussion setting does.') . '</p>' . 22 22 '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>', 23 23 ) ); 24 24 -
wp-admin/options.php
1 1 <?php 2 2 /** 3 * Options Management Administration Screen.3 * Settings Management Administration Screen. 4 4 * 5 * If accessed directly in a browser this page shows a list of all saved options5 * If accessed directly in a browser this page shows a list of all saved settings 6 6 * 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 from7 * and there is no way to remove settings via this page. It is not linked to from 8 8 * anywhere else in the admin. 9 9 * 10 * This file is also the target of the forms in core and custom options pages10 * This file is also the target of the forms in core and custom settings pages 11 11 * that use the Settings API. In this case it saves the new option values 12 12 * and returns the user to their page of origin. 13 13 * -
wp-admin/options-reading.php
10 10 require_once( './admin.php' ); 11 11 12 12 if ( ! 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.' ) ); 14 14 15 15 $title = __( 'Reading Settings' ); 16 16 $parent_file = 'options-general.php'; -
wp-admin/options-permalink.php
10 10 require_once('./admin.php'); 11 11 12 12 if ( ! 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.' ) ); 14 14 15 15 $title = __('Permalink Settings'); 16 16 $parent_file = 'options-general.php'; … … 27 27 'id' => 'common-settings', 28 28 'title' => __('Common Settings'), 29 29 'content' => '<p>' . __('Many people choose to use “pretty permalinks,” 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 optionother 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>' . 31 31 '<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>' . 32 32 '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>', 33 33 ) ); -
wp-admin/options-writing.php
10 10 require_once('./admin.php'); 11 11 12 12 if ( ! 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.' ) ); 14 14 15 15 $title = __('Writing Settings'); 16 16 $parent_file = 'options-general.php'; -
wp-admin/custom-background.php
85 85 'title' => __('Overview'), 86 86 'content' => 87 87 '<p>' . __( 'You can customize the look of your site without touching any of your theme’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>' . 89 89 '<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>' . 90 90 '<p>' . __( 'Don’t forget to click on the Save Changes button when you are finished.' ) . '</p>' 91 91 ) ); … … 252 252 </tbody> 253 253 </table> 254 254 255 <h3><?php _e('Display Options') ?></h3>255 <h3><?php _e('Display Settings') ?></h3> 256 256 <form method="post" action=""> 257 257 <table class="form-table"> 258 258 <tbody>