Changeset 56012
-
Timestamp: -
06/24/2023 05:12:28 AM ( 15 months ago) -
File: -
-
1 edited
-
Legend:
-
Unmodified -
Added -
Removed
-
trunk/src/wp-content/themes/twentyseventeen/inc/customizer.php r48782 r56012 one hundred and forty-five one hundred and forty-five 'type' => 'dropdown-pages', one hundred and forty-six one hundred and forty-six 'allow_addition' => true, one hundred and forty-seven 'active_callback' => 'twentyseventeen_is_ static_front_ page', one hundred and forty-seven 'active_callback' => 'twentyseventeen_is_ front page', one hundred and forty-eight one hundred and forty-eight ) one hundred and forty-nine one hundred and forty-nine ); … … two hundred and twenty-two two hundred and twenty-two /** two hundred and twenty-three two hundred and twenty-three * Return whether we're previewing the front page and it's a static page. two hundred and twenty-four * two hundred and twenty-five * This function is an alias for twentyseventeen_is_frontpage(). two hundred and twenty-six * two hundred and twenty-seven * @since Twenty Seventeen 1.0 two hundred and twenty-eight * @since Twenty Seventeen 3.3 Converted function to an alias. two hundred and twenty-nine * two hundred and thirty * @return bool Whether the current page is the front page and static. two hundred and twenty-four two hundred and thirty-one */ two hundred and twenty-five two hundred and thirty-two function twentyseventeen_is_static_front_page() { two hundred and twenty-six return ( is_front_page() && ! is_home() ); two hundred and thirty-three return twentyseventeen_is_frontpage( ); two hundred and twenty-seven two hundred and thirty-four } two hundred and twenty-eight two hundred and thirty-five