Changeset 26725 for trunk/src/wp-includes/class-wp-theme.php
- Timestamp:
- 12/06/2013 02:36:07 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme.php
r26024 r26725 45 45 'twentythirteen' => 'Twenty Thirteen', 46 46 'twentyfourteen' => 'Twenty Fourteen', 47 ); 48 49 /** 50 * Renamed theme tags. 51 */ 52 private static $tag_map = array( 53 'fixed-width' => 'fixed-layout', 54 'flexible-width' => 'fluid-layout', 47 55 ); 48 56 … … 707 715 708 716 foreach ( $value as &$tag ) { 709 if ( isset( $tags_list[ $tag ] ) ) 717 if ( isset( $tags_list[ $tag ] ) ) { 710 718 $tag = $tags_list[ $tag ]; 719 } elseif ( isset( self::$tag_map[ $tag ] ) ) { 720 $tag = $tags_list[ self::$tag_map[ $tag ] ]; 721 } 711 722 } 712 723
Note: See TracChangeset
for help on using the changeset viewer.