Changeset 27879
- Timestamp:
- 03/31/2014 10:20:01 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r27710 r27879 1385 1385 * 1386 1386 * @since 2.9.0 1387 * @param string $feature the feature being added 1387 * 1388 * @param string $feature The feature being added. 1389 * @return void|bool False on failure, void otherwise. 1388 1390 */ 1389 1391 function add_theme_support( $feature ) { … … 1404 1406 // You can't just pass 'html5', you need to pass an array of types. 1405 1407 if ( empty( $args[0] ) ) { 1408 // Build an array of types for back-compat. 1406 1409 $args = array( 0 => array( 'comment-list', 'comment-form', 'search-form' ) ); 1407 1410 } elseif ( ! is_array( $args[0] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.