Ticket #26697: 26697.3.diff
File 26697.3.diff, 671 bytes (added by , 10 years ago) |
---|
-
wp-includes/theme.php
1385 1385 case 'html5' : 1386 1386 // You can't just pass 'html5', you need to pass an array of types. 1387 1387 if ( empty( $args[0] ) ) { 1388 $args = array( 0 => array( 'comment-list', 'comment-form', 'search-form' ) );1388 $args = array( 0 => array( 'comment-list', 'comment-form', 'search-form', 'gallery' ) ); 1389 1389 } elseif ( ! is_array( $args[0] ) ) { 1390 1390 _doing_it_wrong( "add_theme_support( 'html5' )", 'You need to pass an array of types.', '3.6.1' ); 1391 1391 return false;