Changeset 10837
- Timestamp:
- 03/18/2021 08:47:59 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/handbook.php
r10782 r10837 135 135 // If no name defined yet, try handbook post type if not standard. 136 136 if ( ! $name && ( 'handbook' !== $post_type ) ) { 137 $name = ucfirst( str_replace( '-handbook', '', $post_type ));137 $name = str_replace( '-handbook', '', $post_type ); 138 138 } 139 139 140 140 $name .= ' Handbook'; 141 $name = ucfirst( $name ); 141 142 } 142 143
Note: See TracChangeset
for help on using the changeset viewer.