Ticket #58695: 58695.patch
File 58695.patch, 2.1 KB (added by , 19 months ago) |
---|
-
src/wp-content/themes/twentyseventeen/inc/template-functions.php
67 67 add_filter( 'body_class', 'twentyseventeen_body_classes' ); 68 68 69 69 /** 70 * Count our number ofactive panels.70 * Counts the number of our active panels. 71 71 * 72 * Primarily used to see if we have any panels active , duh.72 * Primarily used to see if we have any panels active. 73 73 */ 74 74 function twentyseventeen_panel_count() { 75 75 -
src/wp-content/themes/twentyseventeen/inc/template-tags.php
70 70 // Get Tags for posts. 71 71 $tags_list = get_the_tag_list( '', $separate_meta ); 72 72 73 // We don't want to output .entry-footer if it will be empty, so make sure it s not.73 // We don't want to output .entry-footer if it will be empty, so make sure it is not. 74 74 if ( ( ( twentyseventeen_categorized_blog() && $categories_list ) || $tags_list ) || get_edit_post_link() ) { 75 75 76 76 echo '<footer class="entry-footer">'; … … 131 131 endif; 132 132 133 133 /** 134 * Display a front page section.134 * Displays a front page section. 135 135 * 136 136 * @global int|string $twentyseventeencounter Front page section counter. 137 137 * @global WP_Post $post Global post object. … … 205 205 206 206 207 207 /** 208 * Flush out the transients used in twentyseventeen_categorized_blog.208 * Flushes out the transients used in twentyseventeen_categorized_blog. 209 209 */ 210 210 function twentyseventeen_category_transient_flusher() { 211 211 if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) { … … 219 219 220 220 if ( ! function_exists( 'wp_body_open' ) ) : 221 221 /** 222 * Fire the wp_body_open action.222 * Fires the wp_body_open action. 223 223 * 224 224 * Added for backward compatibility to support pre-5.2.0 WordPress versions. 225 225 *