Changeset 10780
- Timestamp:
- 03/05/2021 12:48:52 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/handbook.php
r10775 r10780 117 117 $name = get_option( $post_type . '_name' ); 118 118 119 // If handbook name isn't set, try configured label. 120 if ( ! $raw && ! $name ) { 121 $config = WPorg_Handbook_Init::get_handbooks_config( $post_type ); 122 if ( ! empty( $config['label'] ) ) { 123 $name = $config['label']; 124 } 125 } 126 119 127 // If handbook name isn't set, try root relative site path. 120 128 if ( ! $raw && ! $name ) {
Note: See TracChangeset
for help on using the changeset viewer.