Changeset 13750
- Timestamp:
- 03/18/2010 05:46:25 PM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-discussion.php
r13672 r13750 10 10 require_once('admin.php'); 11 11 12 if ( ! current_user_can( 'manage_options') )13 wp_die( __('You do not have sufficient permissions to manage options for this blog.'));12 if ( ! current_user_can( 'manage_options' ) ) 13 wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) ); 14 14 15 15 $title = __('Discussion Settings'); … … 152 152 <h3><?php _e('Avatars') ?></h3> 153 153 154 <p><?php _e('An avatar is an image that follows you from weblog to weblog appearing beside your name when you comment on avatar enabled sites. Here you can enable the display of avatars for people who comment on your blog.'); ?></p>154 <p><?php _e('An avatar is an image that follows you from weblog to weblog appearing beside your name when you comment on avatar enabled sites. Here you can enable the display of avatars for people who comment on your site.'); ?></p> 155 155 156 156 <?php // the above would be a good place to link to codex documentation on the gravatar functions, for putting it in themes. anything like that? ?> -
trunk/wp-admin/options-general.php
r13705 r13750 10 10 require_once('./admin.php'); 11 11 12 if ( ! current_user_can( 'manage_options') )13 wp_die( __('You do not have sufficient permissions to manage options for this blog.'));12 if ( ! current_user_can( 'manage_options' ) ) 13 wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) ); 14 14 15 15 $title = __('General Settings'); … … 65 65 <table class="form-table"> 66 66 <tr valign="top"> 67 <th scope="row"><label for="blogname"><?php _e(' BlogTitle') ?></label></th>67 <th scope="row"><label for="blogname"><?php _e('Site Title') ?></label></th> 68 68 <td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" class="regular-text" /></td> 69 69 </tr> … … 71 71 <th scope="row"><label for="blogdescription"><?php _e('Tagline') ?></label></th> 72 72 <td><input name="blogdescription" type="text" id="blogdescription" value="<?php form_option('blogdescription'); ?>" class="regular-text" /> 73 <span class="description"><?php _e('In a few words, explain what this blogis about.') ?></span></td>73 <span class="description"><?php _e('In a few words, explain what this site is about.') ?></span></td> 74 74 </tr> 75 75 <?php if ( !is_multisite() ) { ?> … … 79 79 </tr> 80 80 <tr valign="top"> 81 <th scope="row"><label for="home"><?php _e(' Blogaddress (URL)') ?></label></th>81 <th scope="row"><label for="home"><?php _e('Site address (URL)') ?></label></th> 82 82 <td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>"<?php disabled( defined( 'WP_HOME' ) ); ?> class="regular-text code<?php if ( defined( 'WP_HOME' ) ) echo ' disabled' ?>" /> 83 <span class="description"><?php _e('Enter the address here if you want your bloghomepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></span></td>83 <span class="description"><?php _e('Enter the address here if you want your site homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></span></td> 84 84 </tr> 85 85 <tr valign="top"> … … 323 323 ?> 324 324 <tr valign="top"> 325 <th width="33%" scope="row"><?php _e(' Bloglanguage:') ?></th>325 <th width="33%" scope="row"><?php _e('Site language:') ?></th> 326 326 <td> 327 327 <select name="WPLANG" id="WPLANG"> -
trunk/wp-admin/options-media.php
r13545 r13750 10 10 require_once('admin.php'); 11 11 12 if ( ! current_user_can( 'manage_options') )13 wp_die( __('You do not have sufficient permissions to manage options for this blog.'));12 if ( ! current_user_can( 'manage_options' ) ) 13 wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) ); 14 14 15 15 $title = __('Media Settings'); -
trunk/wp-admin/options-permalink.php
r13706 r13750 10 10 require_once('admin.php'); 11 11 12 if ( ! current_user_can( 'manage_options') )13 wp_die( __('You do not have sufficient permissions to manage options for this blog.'));12 if ( ! current_user_can( 'manage_options' ) ) 13 wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) ); 14 14 15 15 $title = __('Permalink Settings'); -
trunk/wp-admin/options-privacy.php
r11855 r13750 10 10 require_once('./admin.php'); 11 11 12 if ( ! current_user_can( 'manage_options') )13 wp_die( __('You do not have sufficient permissions to manage options for this blog.'));12 if ( ! current_user_can( 'manage_options' ) ) 13 wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) ); 14 14 15 15 $title = __('Privacy Settings'); … … 28 28 <table class="form-table"> 29 29 <tr valign="top"> 30 <th scope="row"><?php _e(' BlogVisibility') ?> </th>31 <td><fieldset><legend class="screen-reader-text"><span><?php _e(' BlogVisibility') ?> </span></legend>32 < p><input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> />33 <label for="blog-public"><?php _e('I would like my blog to be visible to everyone, including search engines (like Google, Bing, Technorati) and archivers');?></label></p>34 < p><input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> />35 <label for="blog-norobots"><?php _e('I would like to block search engines, but allow normal visitors'); ?></label> </p>30 <th scope="row"><?php _e('Site Visibility') ?> </th> 31 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Site Visibility') ?> </span></legend> 32 <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> /> 33 <label for="blog-public"><?php _e('I would like my site to be visible to everyone, including search engines (like Google, Bing, Technorati) and archivers');?></label><br/> 34 <input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> /> 35 <label for="blog-norobots"><?php _e('I would like to block search engines, but allow normal visitors'); ?></label> 36 36 <?php do_action('blog_privacy_selector'); ?> 37 37 </fieldset></td> -
trunk/wp-admin/options-reading.php
r12918 r13750 11 11 12 12 if ( ! current_user_can( 'manage_options' ) ) 13 wp_die( __( 'You do not have sufficient permissions to manage options for this blog.' ) );13 wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) ); 14 14 15 15 $title = __( 'Reading Settings' ); … … 76 76 <th scope="row"><label for="blog_charset"><?php _e( 'Encoding for pages and feeds' ); ?></label></th> 77 77 <td><input name="blog_charset" type="text" id="blog_charset" value="<?php form_option( 'blog_charset' ); ?>" class="regular-text" /> 78 <span class="description"><?php _e( 'The <a href="http://codex.wordpress.org/Glossary#Character_set">character encoding</a> of your blog(UTF-8 is recommended, if you are adventurous there are some <a href="http://en.wikipedia.org/wiki/Character_set">other encodings</a>)' ); ?></span></td>78 <span class="description"><?php _e( 'The <a href="http://codex.wordpress.org/Glossary#Character_set">character encoding</a> of your site (UTF-8 is recommended, if you are adventurous there are some <a href="http://en.wikipedia.org/wiki/Character_set">other encodings</a>)' ); ?></span></td> 79 79 </tr> 80 80 <?php do_settings_fields( 'reading', 'default' ); ?> -
trunk/wp-admin/options-writing.php
r13416 r13750 10 10 require_once('admin.php'); 11 11 12 if ( ! current_user_can( 'manage_options') )13 wp_die( __('You do not have sufficient permissions to manage options for this blog.'));12 if ( ! current_user_can( 'manage_options' ) ) 13 wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) ); 14 14 15 15 $title = __('Writing Settings'); … … 126 126 <?php else : ?> 127 127 128 <p><?php printf(__('WordPress is not notifying any <a href="http://codex.wordpress.org/Update_Services">Update Services</a> because of your blog’s <a href="%s">privacy settings</a>.'), 'options-privacy.php'); ?></p>128 <p><?php printf(__('WordPress is not notifying any <a href="http://codex.wordpress.org/Update_Services">Update Services</a> because of your site’s <a href="%s">privacy settings</a>.'), 'options-privacy.php'); ?></p> 129 129 130 130 <?php endif; ?> -
trunk/wp-admin/plugins.php
r13733 r13750 10 10 require_once('admin.php'); 11 11 12 if ( ! current_user_can( 'activate_plugins') )13 wp_die( __('You do not have sufficient permissions to manage plugins for this blog.'));12 if ( ! current_user_can( 'activate_plugins' ) ) 13 wp_die( __( 'You do not have sufficient permissions to manage plugins for this blog.' ) ); 14 14 15 15 if ( isset($_POST['clear-recent-list']) )
Note: See TracChangeset
for help on using the changeset viewer.