WordPress.org

Make WordPress Core

Changeset 18430


Ignore:
Timestamp:
07/11/11 20:15:37 (3 years ago)
Author:
nacin
Message:

Twenty Eleven: Prefix theme_options_render_page(). props chipbennett, see #18045. for trunk.

File:
1 edited

Legend:

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

    r18385 r18430  
    7878function twentyeleven_theme_options_add_page() { 
    7979    $theme_page = add_theme_page( 
    80         __( 'Theme Options', 'twentyeleven' ), // Name of page 
    81         __( 'Theme Options', 'twentyeleven' ), // Label in menu 
    82         'edit_theme_options',                  // Capability required 
    83         'theme_options',                       // Menu slug, used to uniquely identify the page 
    84         'theme_options_render_page'            // Function that renders the options page 
     80        __( 'Theme Options', 'twentyeleven' ),   // Name of page 
     81        __( 'Theme Options', 'twentyeleven' ),   // Label in menu 
     82        'edit_theme_options',                    // Capability required 
     83        'theme_options',                         // Menu slug, used to uniquely identify the page 
     84        'twentyeleven_theme_options_render_page' // Function that renders the options page 
    8585    ); 
    8686 
     
    205205 * Returns the options array for Twenty Eleven. 
    206206 * 
    207  * @since Twenty Eleven 1.0 
    208  */ 
    209 function theme_options_render_page() { 
     207 * @since Twenty Eleven 1.2 
     208 */ 
     209function twentyeleven_theme_options_render_page() { 
    210210    ?> 
    211211    <div class="wrap"> 
Note: See TracChangeset for help on using the changeset viewer.