Changeset 25813
- Timestamp:
- 10/16/2013 06:26:04 PM (11 years ago)
- Location:
- trunk/src/wp-content/themes/twentyfourteen
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/inc/featured-content.php
r25808 r25813 31 31 */ 32 32 public static function setup() { 33 add_action( 'init', array( __ class__, 'init' ), 30 );33 add_action( 'init', array( __CLASS____, 'init' ), 30 ); 34 34 } 35 35 … … 309 309 */ 310 310 public static function register_setting() { 311 add_settings_field( 'featured-content', __( 'Featured content', 'twentyfourteen' ), array( __ class__, 'render_form' ), 'reading' );312 register_setting( 'reading', 'featured-content', array( __ class__, 'validate_settings' ) );311 add_settings_field( 'featured-content', __( 'Featured content', 'twentyfourteen' ), array( __CLASS__, 'render_form' ), 'reading' ); 312 register_setting( 'reading', 'featured-content', array( __CLASS__, 'validate_settings' ) ); 313 313 } 314 314 … … 327 327 $tag_name = $tag->name; 328 328 } 329 330 wp_enqueue_script( 'twentyfourteen-admin', get_template_directory_uri() . '/js/featured-content-admin.js', array( 'jquery', 'suggest' ), '20131016', true ); 329 331 ?> 330 332 <div id="featured-content-ui">
Note: See TracChangeset
for help on using the changeset viewer.