Changeset 10781 for sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/widgets.php
- Timestamp:
- 03/05/2021 12:50:03 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/widgets.php
r10768 r10781 95 95 $page = get_page_by_path( $post_type, OBJECT, $post_type ); 96 96 if ( ! $page ) { 97 $slug = s ubstr( $post_type, 0, -9);97 $slug = str_replace( '-handbook', '', $post_type ); 98 98 $page = get_page_by_path( $slug, OBJECT, $post_type ); 99 99 }
Note: See TracChangeset
for help on using the changeset viewer.