Make WordPress Core


Ignore:
Timestamp:
08/22/2013 05:00:36 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: Use HTML5 comment markup, props obenland. Fixes #25045.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/functions.php

    r25068 r25087  
    6969
    7070        /*
     71         * Switches default core markup for search form, comment form, and comments
     72         * to output valid HTML5.
     73         */
     74        add_theme_support( 'html5', array(
     75                'search-form', 'comment-form', 'comment-list',
     76        ) );
     77
     78        /*
    7179         * Enable support for Post Formats.
    7280         * See http://codex.wordpress.org/Post_Formats
    7381         */
    7482        add_theme_support( 'post-formats', array(
    75                 'aside', 'image', 'video', 'quote', 'link', 'gallery'
     83                'aside', 'image', 'video', 'quote', 'link', 'gallery',
    7684        ) );
    7785
Note: See TracChangeset for help on using the changeset viewer.