WordPress.org

Make WordPress Core

Ticket #21297: 21297.diff

File 21297.diff, 548 bytes (added by Mamaduka, 3 years ago)
  • wp-content/themes/twentytwelve/inc/theme-options.php

     
    1919         */ 
    2020        var $options = array(); 
    2121 
    22         function Twenty_Twelve_Options() { 
     22        function __construct() { 
    2323                // Set option key based on get_stylesheet() 
    2424                if ( 'twentytwelve' != get_stylesheet() ) 
    2525                        $this->option_key = get_stylesheet() . '_theme_options';