Ticket #17360: 17360.4.patch
File 17360.4.patch, 13.1 KB (added by , 7 years ago) |
---|
-
wp-admin/custom-background.php
268 268 </tbody> 269 269 </table> 270 270 271 <h3><?php _e('Display Options') ?></h3>271 <h3><?php _e('Display Settings') ?></h3> 272 272 <form method="post" action=""> 273 273 <table class="form-table"> 274 274 <tbody> -
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/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 28 '<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>' . 29 29 '<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>' . 30 30 '<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>' . 31 31 '<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>' 33 33 ) ); 34 34 35 35 get_current_screen()->set_help_sidebar( … … 74 74 include( '../admin-header.php' ); 75 75 76 76 if ( isset( $_GET['updated'] ) ) { 77 ?><div id="message" class="updated"><p><?php _e( ' Options saved.' ) ?></p></div><?php77 ?><div id="message" class="updated"><p><?php _e( 'Settings saved.' ) ?></p></div><?php 78 78 } 79 79 ?> 80 80 -
wp-admin/options-discussion.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 = __('Discussion Settings'); 16 16 $parent_file = 'options-general.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-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'; -
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'; … … 19 19 'id' => 'overview', 20 20 'title' => __('Overview'), 21 21 '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 — 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>' . 23 23 '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>', 24 24 ) ); 25 25 … … 26 26 get_current_screen()->add_help_tab( array( 27 27 'id' => 'common-settings', 28 28 'title' => __('Common Settings'), 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, orcan craft your own if you select Custom Structure.') . '</p>' .30 '<p>' . __('If you pick a n 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>' .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 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>' . 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 ) ); … … 232 232 ?> 233 233 <p><?php 234 234 /* 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>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> 236 236 237 237 <table class="form-table"> 238 238 <tr> -
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-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/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-signup.php
524 524 $i18n_signup['user'] = _x('user', 'Multisite active signup type'); 525 525 526 526 if ( is_super_admin() ) 527 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>';527 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>'; 528 528 529 529 $newblogname = isset($_GET['new']) ? strtolower(preg_replace('/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'])) : null; 530 530