Make WordPress Core


Ignore:
Timestamp:
11/25/2025 05:00:39 AM (3 months ago)
Author:
westonruter
Message:

Bundled Themes: Add missing @return tags and descriptions.

Developed in https://github.com/WordPress/wordpress-develop/pull/10533

Props huzaifaalmesbah, sabernhardt, palak678, westonruter.
See #64224.
Fixes #64277.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/functions.php

    r60681 r61302  
    305305 *
    306306 * @param string $html The HTML output from get_custom_logo() (core function).
    307  * @return string
     307 * @return string Custom logo HTML with "retina" resolution applied if enabled.
    308308 */
    309309function twentytwenty_get_custom_logo( $html ) {
     
    636636 *
    637637 * @param string $html The default output HTML for the more tag.
    638  * @return string
     638 * @return string The the read more link wrapped in a `div`.
    639639 */
    640640function twentytwenty_read_more_tag( $html ) {
     
    737737 * @since Twenty Twenty 1.0
    738738 *
    739  * @return array
     739 * @return array Customizer color variables for the preview.
    740740 */
    741741function twentytwenty_get_customizer_color_vars() {
     
    756756 * @since Twenty Twenty 1.0
    757757 *
    758  * @return array
     758 * @return array Elements to apply custom colors to.
    759759 */
    760760function twentytwenty_get_elements_array() {
Note: See TracChangeset for help on using the changeset viewer.