Changeset 11416 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php
- Timestamp:
- 01/07/2022 05:04:26 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php
r11007 r11416 212 212 global $post; 213 213 214 if ( ! $post || 'page' !== $post->post_type || ! $post->page_template || 'default' === $post->page_template) {214 if ( ! $post || 'page' !== $post->post_type || ! $post->page_template || ( 'default' === $post->page_template && ! is_front_page() ) ) { 215 215 return; 216 216 }
Note: See TracChangeset
for help on using the changeset viewer.