Changeset 52766 for branches/5.9/src/wp-includes/blocks/page-list.php
- Timestamp:
- 02/17/2022 07:40:17 PM (3 years ago)
- Location:
- branches/5.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.9
-
branches/5.9/src/wp-includes/blocks/page-list.php
r52552 r52766 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.