11<?php
22/**
3- * Custom template tags for this theme
3+ * Custom template tags for this theme.
44 *
55 * Eventually, some of the functionality here could be replaced by core features.
66 *
@@ -70,7 +70,7 @@ function twentyseventeen_entry_footer() {
7070 // Get Tags for posts.
7171 $ tags_list = get_the_tag_list ( '' , $ separate_meta );
7272
73- // We don't want to output .entry-footer if it will be empty, so make sure its not.
73+ // We don't want to output .entry-footer if it will be empty, so make sure it is not.
7474 if ( ( ( twentyseventeen_categorized_blog () && $ categories_list ) || $ tags_list ) || get_edit_post_link () ) {
7575
7676 echo '<footer class="entry-footer"> ' ;
@@ -112,7 +112,7 @@ function twentyseventeen_entry_footer() {
112112 /**
113113 * Returns an accessibility-friendly link to edit a post or page.
114114 *
115- * This also gives us a little context about what exactly we're editing
115+ * This also gives a little context about what exactly we're editing
116116 * (post or page?) so that users understand a bit more where they are in terms
117117 * of the template hierarchy and their content. Helpful when/if the single-page
118118 * layout with multiple posts/pages shown gets confusing.
@@ -131,13 +131,13 @@ function twentyseventeen_edit_link() {
131131endif ;
132132
133133/**
134- * Display a front page section.
134+ * Displays a front page section.
135135 *
136136 * @global int|string $twentyseventeencounter Front page section counter.
137137 * @global WP_Post $post Global post object.
138138 *
139139 * @param WP_Customize_Partial $partial Partial associated with a selective refresh request.
140- * @param int $id Front page section to display.
140+ * @param int $id Front page section to display.
141141 */
142142function twentyseventeen_front_page_section ( $ partial = null , $ id = 0 ) {
143143 if ( is_a ( $ partial , 'WP_Customize_Partial ' ) ) {
@@ -205,7 +205,7 @@ function twentyseventeen_categorized_blog() {
205205
206206
207207/**
208- * Flush out the transients used in twentyseventeen_categorized_blog.
208+ * Flushes out the transients used in twentyseventeen_categorized_blog.
209209 */
210210function twentyseventeen_category_transient_flusher () {
211211 if ( defined ( 'DOING_AUTOSAVE ' ) && DOING_AUTOSAVE ) {
@@ -219,15 +219,15 @@ function twentyseventeen_category_transient_flusher() {
219219
220220if ( ! function_exists ( 'wp_body_open ' ) ) :
221221 /**
222- * Fire the wp_body_open action.
222+ * Fires the wp_body_open action.
223223 *
224224 * Added for backward compatibility to support pre-5.2.0 WordPress versions.
225225 *
226226 * @since Twenty Seventeen 2.2
227227 */
228228 function wp_body_open () {
229229 /**
230- * Triggered after the opening <body> tag.
230+ * Fires after the opening <body> tag.
231231 *
232232 * @since Twenty Seventeen 2.2
233233 */
0 commit comments