Changeset 28337
- Timestamp:
- 05/07/2014 03:49:19 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r28124 r28337 1438 1438 case 'custom-header-uploads' : 1439 1439 return add_theme_support( 'custom-header', array( 'uploads' => true ) ); 1440 break;1441 1440 1442 1441 case 'custom-header' : … … 1619 1618 return $_wp_theme_features[ $feature ][0][ $args[0] ]; 1620 1619 return false; 1621 break; 1620 1622 1621 default : 1623 1622 return $_wp_theme_features[ $feature ]; 1624 break;1625 1623 } 1626 1624 } … … 1721 1719 $content_type = $args[0]; 1722 1720 return in_array( $content_type, $_wp_theme_features[$feature][0] ); 1723 break;1724 1721 1725 1722 case 'html5': … … 1732 1729 $type = $args[0]; 1733 1730 return in_array( $type, $_wp_theme_features[$feature][0] ); 1734 break;1735 1731 1736 1732 case 'custom-header': … … 1740 1736 $header_support = $args[0]; 1741 1737 return ( isset( $_wp_theme_features[$feature][0][$header_support] ) && $_wp_theme_features[$feature][0][$header_support] ); 1742 break;1743 1738 } 1744 1739
Note: See TracChangeset
for help on using the changeset viewer.