22/**
33 * Twenty Fifteen functions and definitions
44 *
5- * Set up the theme and provides some helper functions, which are used in the
5+ * Sets up the theme and provides some helper functions, which are used in the
66 * theme as custom template tags. Others are attached to action and filter
77 * hooks in WordPress to change core functionality.
88 *
2626 */
2727
2828/**
29- * Set the content width based on the theme's design and stylesheet.
29+ * Sets the content width based on the theme's design and stylesheet.
3030 *
3131 * @since Twenty Fifteen 1.0
3232 */
@@ -97,7 +97,7 @@ function twentyfifteen_setup() {
9797 );
9898
9999 /*
100- * Switch default core markup for search form, comment form, and comments
100+ * Switches default core markup for search form, comment form, and comments
101101 * to output valid HTML5.
102102 */
103103 add_theme_support (
@@ -338,7 +338,7 @@ function twentyfifteen_setup() {
338338add_action ( 'after_setup_theme ' , 'twentyfifteen_setup ' );
339339
340340/**
341- * Register widget area.
341+ * Registers widget area.
342342 *
343343 * @since Twenty Fifteen 1.0
344344 *
@@ -361,7 +361,7 @@ function twentyfifteen_widgets_init() {
361361
362362if ( ! function_exists ( 'twentyfifteen_fonts_url ' ) ) :
363363 /**
364- * Register fonts for Twenty Fifteen.
364+ * Registers fonts for Twenty Fifteen.
365365 *
366366 * @since Twenty Fifteen 1.0
367367 * @since Twenty Fifteen 3.4 Replaced Google URL with self-hosted fonts.
@@ -417,7 +417,7 @@ function twentyfifteen_javascript_detection() {
417417add_action ( 'wp_head ' , 'twentyfifteen_javascript_detection ' , 0 );
418418
419419/**
420- * Enqueue scripts and styles.
420+ * Enqueues scripts and styles.
421421 *
422422 * @since Twenty Fifteen 1.0
423423 */
@@ -478,7 +478,7 @@ function twentyfifteen_scripts() {
478478add_action ( 'wp_enqueue_scripts ' , 'twentyfifteen_scripts ' );
479479
480480/**
481- * Enqueue styles for the block-based editor.
481+ * Enqueues styles for the block-based editor.
482482 *
483483 * @since Twenty Fifteen 2.1
484484 */
@@ -493,7 +493,7 @@ function twentyfifteen_block_editor_styles() {
493493
494494
495495/**
496- * Add preconnect for Google Fonts.
496+ * Adds preconnect for Google Fonts.
497497 *
498498 * @since Twenty Fifteen 1.7
499499 * @deprecated Twenty Fifteen 3.4 Disabled filter because, by default, fonts are self-hosted.
@@ -519,7 +519,7 @@ function twentyfifteen_resource_hints( $urls, $relation_type ) {
519519// add_filter( 'wp_resource_hints', 'twentyfifteen_resource_hints', 10, 2 );
520520
521521/**
522- * Add featured image as background image to post navigation elements.
522+ * Adds featured image as background image to post navigation elements.
523523 *
524524 * @since Twenty Fifteen 1.0
525525 *
@@ -561,7 +561,7 @@ function twentyfifteen_post_nav_background() {
561561add_action ( 'wp_enqueue_scripts ' , 'twentyfifteen_post_nav_background ' );
562562
563563/**
564- * Display descriptions in main navigation.
564+ * Displays descriptions in main navigation.
565565 *
566566 * @since Twenty Fifteen 1.0
567567 *
@@ -581,7 +581,7 @@ function twentyfifteen_nav_description( $item_output, $item, $depth, $args ) {
581581add_filter ( 'walker_nav_menu_start_el ' , 'twentyfifteen_nav_description ' , 10 , 4 );
582582
583583/**
584- * Add a `screen-reader-text` class to the search form's submit button.
584+ * Adds a `screen-reader-text` class to the search form's submit button.
585585 *
586586 * @since Twenty Fifteen 1.0
587587 *
@@ -636,7 +636,7 @@ function twentyfifteen_author_bio_template( $template ) {
636636
637637
638638/**
639- * Implement the Custom Header feature.
639+ * Implements the Custom Header feature.
640640 *
641641 * @since Twenty Fifteen 1.0
642642 */
@@ -657,7 +657,7 @@ function twentyfifteen_author_bio_template( $template ) {
657657require get_template_directory () . '/inc/customizer.php ' ;
658658
659659/**
660- * Register block patterns and pattern categories.
660+ * Registers block patterns and pattern categories.
661661 *
662662 * @since Twenty Fifteen 3.9
663663 */
0 commit comments