Changeset 10209
- Timestamp:
- 10/08/2015 01:49:04 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-template.php
r10184 r10209 3086 3086 foreach ( $bp_classes as $bp_class ) { 3087 3087 $bp_classes[] = "type-{$bp_class}"; 3088 }3089 3090 // removes the 'page' and 'type-page' post classes3091 // we need to remove these classes since they did not exist before we switched3092 // theme compat to use the 'page' post type3093 $page_key = array_search( 'page', $wp_classes );3094 if ( $page_key !== false ) {3095 unset( $wp_classes[$page_key] );3096 }3097 3098 $page_type_key = array_search( 'type-page', $wp_classes );3099 if ( $page_type_key !== false ) {3100 unset( $wp_classes[$page_type_key] );3101 3088 } 3102 3089
Note: See TracChangeset
for help on using the changeset viewer.