Changeset 10109
- Timestamp:
- 09/13/2015 07:37:54 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-template.php
r10108 r10109 3041 3041 // we need to remove these classes since they did not exist before we switched 3042 3042 // theme compat to use the 'page' post type 3043 $page_key = array_search( 'page', $wp_classes ); 3043 $page_key = array_search( 'page', $wp_classes ); 3044 if ( $page_key !== false ) { 3045 unset( $wp_classes[$page_key] ); 3046 } 3047 3044 3048 $page_type_key = array_search( 'type-page', $wp_classes ); 3045 unset( $wp_classes[$page_key], $wp_classes[$page_type_key] ); 3049 if ( $page_type_key !== false ) { 3050 unset( $wp_classes[$page_type_key] ); 3051 } 3046 3052 3047 3053 // okay let's merge!
Note: See TracChangeset
for help on using the changeset viewer.