Changeset 25235 for trunk/src/wp-includes/theme.php
- Timestamp:
- 09/04/2013 05:43:29 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r25193 r25235 1274 1274 case 'html5' : 1275 1275 // You can't just pass 'html5', you need to pass an array of types. 1276 if ( ! is_array( $args[0] ) ) 1276 if ( empty( $args[0] ) ) { 1277 $args = array( 0 => array( 'comment-list', 'comment-form', 'search-form' ) ); 1278 } elseif ( ! is_array( $args[0] ) ) { 1279 _doing_it_wrong( "add_theme_support( 'html5' )", 'You need to pass an array of types.', '3.6.1' ); 1277 1280 return false; 1281 } 1278 1282 1279 1283 // Calling 'html5' again merges, rather than overwrites.
Note: See TracChangeset
for help on using the changeset viewer.