Changeset 52765 for trunk/src/wp-includes/blocks/page-list.php
- Timestamp:
- 02/17/2022 07:16:57 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/page-list.php
r52551 r52765 172 172 $style_attribute = sprintf( ' style="%s"', esc_attr( $colors['overlay_inline_styles'] ) ); 173 173 } 174 } 175 176 $front_page_id = (int) get_option( 'page_on_front' ); 177 if ( (int) $page['page_id'] === $front_page_id ) { 178 $css_class .= ' menu-item-home'; 174 179 } 175 180
Note: See TracChangeset
for help on using the changeset viewer.