Changeset 56012
- Timestamp:
- 06/24/2023 05:12:28 AM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/inc/customizer.php
r48782 r56012 145 145 'type' => 'dropdown-pages', 146 146 'allow_addition' => true, 147 'active_callback' => 'twentyseventeen_is_ static_front_page',147 'active_callback' => 'twentyseventeen_is_frontpage', 148 148 ) 149 149 ); … … 222 222 /** 223 223 * Return whether we're previewing the front page and it's a static page. 224 * 225 * This function is an alias for twentyseventeen_is_frontpage(). 226 * 227 * @since Twenty Seventeen 1.0 228 * @since Twenty Seventeen 3.3 Converted function to an alias. 229 * 230 * @return bool Whether the current page is the front page and static. 224 231 */ 225 232 function twentyseventeen_is_static_front_page() { 226 return ( is_front_page() && ! is_home());233 return twentyseventeen_is_frontpage(); 227 234 } 228 235
Note: See TracChangeset
for help on using the changeset viewer.