Make WordPress Core


Ignore:
Timestamp:
12/02/2011 04:31:01 AM (14 years ago)
Author:
nacin
Message:

Standardize some final help strings. We're done, aside from typos. props zeo, jane, duck_, fixes #19020.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/inc/theme-options.php

    r19502 r19538  
    4949
    5050    // Register our settings field group
    51     add_settings_section( 
     51    add_settings_section(
    5252        'general', // Unique identifier for the settings section
    5353        '', // Section title (we don't want one)
    54         '__return_false', // Section callback (we don't want anything) 
     54        '__return_false', // Section callback (we don't want anything)
    5555        'theme_options' // Menu slug, used to uniquely identify the page; see twentyeleven_theme_options_add_page()
    5656    );
    5757
    5858    // Register our individual settings fields
    59     add_settings_field( 
     59    add_settings_field(
    6060        'color_scheme',  // Unique identifier for the field for this section
    6161        __( 'Color Scheme', 'twentyeleven' ), // Setting field label
     
    6565    );
    6666
    67     add_settings_field( 'link_color', __( 'Link Color', 'twentyeleven' ), 'twentyeleven_settings_field_link_color', 'theme_options', 'general' );
    68     add_settings_field( 'layout',     __( 'Layout',    'twentyeleven' ), 'twentyeleven_settings_field_layout',     'theme_options', 'general' );
     67    add_settings_field( 'link_color', __( 'Link Color',     'twentyeleven' ), 'twentyeleven_settings_field_link_color', 'theme_options', 'general' );
     68    add_settings_field( 'layout',     __( 'Default Layout', 'twentyeleven' ), 'twentyeleven_settings_field_layout',     'theme_options', 'general' );
    6969}
    7070add_action( 'admin_init', 'twentyeleven_theme_options_init' );
     
    119119        'title' => __( 'Overview', 'twentyeleven' ),
    120120        'id' => 'theme-options-help',
    121         'content' => 
     121        'content' =>
    122122            '<p>' . __( 'Some themes provide customization options that are grouped together on a Theme Options screen. If you change themes, options may change or disappear, as they are theme-specific. Your current theme, Twenty Eleven, provides the following Theme Options:', 'twentyeleven' ) . '</p>' .
    123123            '<ol>' .
     
    238238/**
    239239 * Renders the Color Scheme setting field.
    240  * 
     240 *
    241241 * @since Twenty Eleven 1.3
    242242 */
     
    262262/**
    263263 * Renders the Link Color setting field.
    264  * 
     264 *
    265265 * @since Twenty Eleven 1.3
    266266 */
     
    279279/**
    280280 * Renders the Layout setting field.
    281  * 
     281 *
    282282 * @since Twenty Eleven 1.3
    283283 */
Note: See TracChangeset for help on using the changeset viewer.