22/**
33 * Twenty Fourteen 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 *
@@ -223,7 +223,7 @@ function twentyfourteen_setup() {
223223add_action ( 'after_setup_theme ' , 'twentyfourteen_setup ' );
224224
225225/**
226- * Adjust content_width value for image attachment template.
226+ * Adjusts content_width value for image attachment template.
227227 *
228228 * @since Twenty Fourteen 1.0
229229 */
@@ -264,7 +264,7 @@ function twentyfourteen_has_featured_posts() {
264264}
265265
266266/**
267- * Register three Twenty Fourteen widget areas.
267+ * Registers three Twenty Fourteen widget areas.
268268 *
269269 * @since Twenty Fourteen 1.0
270270 */
@@ -310,7 +310,7 @@ function twentyfourteen_widgets_init() {
310310
311311if ( ! function_exists ( 'twentyfourteen_font_url ' ) ) :
312312 /**
313- * Register Lato font for Twenty Fourteen.
313+ * Registers Lato font for Twenty Fourteen.
314314 *
315315 * @since Twenty Fourteen 1.0
316316 * @since Twenty Fourteen 3.6 Replaced Google URL with self-hosted fonts.
@@ -332,7 +332,7 @@ function twentyfourteen_font_url() {
332332endif ;
333333
334334/**
335- * Enqueue scripts and styles for the front end.
335+ * Enqueues scripts and styles for the front end.
336336 *
337337 * @since Twenty Fourteen 1.0
338338 */
@@ -401,7 +401,7 @@ function twentyfourteen_scripts() {
401401add_action ( 'wp_enqueue_scripts ' , 'twentyfourteen_scripts ' );
402402
403403/**
404- * Enqueue font stylesheet to admin screen for custom header display.
404+ * Enqueues font stylesheet to admin screen for custom header display.
405405 *
406406 * @since Twenty Fourteen 1.0
407407 */
@@ -412,7 +412,7 @@ function twentyfourteen_admin_fonts() {
412412add_action ( 'admin_print_scripts-appearance_page_custom-header ' , 'twentyfourteen_admin_fonts ' );
413413
414414/**
415- * Add preconnect for Google Fonts.
415+ * Adds preconnect for Google Fonts.
416416 *
417417 * @since Twenty Fourteen 1.9
418418 * @deprecated Twenty Fourteen 3.6 Disabled filter because, by default, fonts are self-hosted.
@@ -438,7 +438,7 @@ function twentyfourteen_resource_hints( $urls, $relation_type ) {
438438// add_filter( 'wp_resource_hints', 'twentyfourteen_resource_hints', 10, 2 );
439439
440440/**
441- * Enqueue styles for the block-based editor.
441+ * Enqueues styles for the block-based editor.
442442 *
443443 * @since Twenty Fourteen 2.3
444444 */
@@ -453,7 +453,7 @@ function twentyfourteen_block_editor_styles() {
453453
454454if ( ! function_exists ( 'twentyfourteen_the_attached_image ' ) ) :
455455 /**
456- * Print the attached image with a link to the next attached image.
456+ * Prints the attached image with a link to the next attached image.
457457 *
458458 * @since Twenty Fourteen 1.0
459459 */
@@ -521,7 +521,7 @@ function twentyfourteen_the_attached_image() {
521521
522522if ( ! function_exists ( 'twentyfourteen_list_authors ' ) ) :
523523 /**
524- * Print a list of all site contributors who published at least one post.
524+ * Prints a list of all site contributors who published at least one post.
525525 *
526526 * @since Twenty Fourteen 1.0
527527 */
@@ -583,7 +583,7 @@ function twentyfourteen_list_authors() {
583583endif ;
584584
585585/**
586- * Extend the default WordPress body classes.
586+ * Extends the default WordPress body classes.
587587 *
588588 * Adds body classes to denote:
589589 * 1. Single or multiple authors.
@@ -640,7 +640,7 @@ function twentyfourteen_body_classes( $classes ) {
640640add_filter ( 'body_class ' , 'twentyfourteen_body_classes ' );
641641
642642/**
643- * Extend the default WordPress post classes.
643+ * Extends the default WordPress post classes.
644644 *
645645 * Adds a post class to denote:
646646 * Non-password protected page with a post thumbnail.
@@ -660,7 +660,7 @@ function twentyfourteen_post_classes( $classes ) {
660660add_filter ( 'post_class ' , 'twentyfourteen_post_classes ' );
661661
662662/**
663- * Create a nicely formatted and more specific title element text for output
663+ * Creates a nicely formatted and more specific title element text for output
664664 * in head of document, based on current view.
665665 *
666666 * @since Twenty Fourteen 1.0
@@ -729,7 +729,7 @@ function twentyfourteen_widget_tag_cloud_args( $args ) {
729729require get_template_directory () . '/inc/customizer.php ' ;
730730
731731/**
732- * Register block patterns and pattern categories.
732+ * Registers block patterns and pattern categories.
733733 *
734734 * @since Twenty Fourteen 4.1
735735 */
@@ -750,7 +750,7 @@ function twentyfourteen_register_block_patterns() {
750750}
751751
752752/**
753- * Add an `is_customize_preview` function if it is missing.
753+ * Adds an `is_customize_preview` function if it is missing.
754754 *
755755 * Enables installing Twenty Fourteen in WordPress versions before 4.0.0 when the
756756 * `is_customize_preview` function was introduced.
0 commit comments