WordPress.org

Make WordPress Core

Ticket #18965: twentyeleven_theme_options_render_page.patch

File twentyeleven_theme_options_render_page.patch, 742 bytes (added by Jayjdk, 10 years ago)
  • theme-options.php

     
    4242                add_option( 'twentyeleven_theme_options', twentyeleven_get_default_theme_options() );
    4343
    4444        register_setting(
    45                 'twentyeleven_options',       // Options group, see settings_fields() call in theme_options_render_page()
     45                'twentyeleven_options',       // Options group, see settings_fields() call in twentyeleven_theme_options_render_page()
    4646                'twentyeleven_theme_options', // Database option, see twentyeleven_get_theme_options()
    4747                'twentyeleven_theme_options_validate' // The sanitization callback, see twentyeleven_theme_options_validate()
    4848        );