Changeset 36820 for trunk/src/wp-admin/includes/class-wp-site-logo.php
- Timestamp:
- 03/03/2016 07:03:23 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-site-logo.php
r36709 r36820 28 28 29 29 /** 30 * Hide header text onfront end if necessary.30 * Hides header text on the front end if necessary. 31 31 * 32 32 * @since 4.5.0 … … 39 39 } 40 40 41 // Is Display Header Text unchecked? If so, we need to hide ourheader text.41 // Is Display Header Text unchecked? If so, hide the header text. 42 42 ?> 43 43 <!-- Site Logo: hide header text --> … … 52 52 53 53 /** 54 * Reset the site logo if the current logo is deleted in the media manager.54 * Resets the site logo if the current logo is deleted in the media manager. 55 55 * 56 56 * @since 4.5.0 57 57 * @access public 58 58 * 59 * @param int $post_id 59 * @param int $post_id Post ID. 60 60 */ 61 61 public function delete_attachment_data( $post_id ) { … … 68 68 69 69 /** 70 * Make custom image sizes available to the media manager.70 * Makes custom image sizes available to the media manager. 71 71 * 72 72 * @since 4.5.0 … … 81 81 $intermediate = get_intermediate_image_sizes(); 82 82 83 // Have we gotanything fun to work with?83 // Is there anything fun to work with? 84 84 if ( is_array( $intermediate ) && ! empty( $intermediate ) ) { 85 85 foreach ( $intermediate as $key => $size ) { … … 96 96 97 97 /** 98 * Get header text classes. If not defined in add_theme_support(), defaults from Underscores will be used. 98 * Retrieves the header text classes. 99 * 100 * If not defined in add_theme_support(), defaults from Underscores will be used. 99 101 * 100 102 * @since 4.5.0 101 103 * @access protected 102 104 * 103 * @return string String of classes to hide 105 * @return string String of classes to hide. 104 106 */ 105 107 protected function header_text_classes() { … … 117 119 } 118 120 119 // If we've got an array, reduce them to a string for output.121 // If there's an array of classes, reduce them to a string for output. 120 122 if ( is_array( $classes ) ) { 121 123 $classes = array_map( 'sanitize_html_class', $classes );
Note: See TracChangeset
for help on using the changeset viewer.