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/inc/template-tags.php

    r60913 r61302  
    149149 *
    150150 * @param object $comment Comment data.
    151  * @return bool
     151 * @return bool Whether the comment is by the post author.
    152152 */
    153153function twentytwenty_is_comment_by_post_author( $comment = null ) {
     
    250250 * @param int    $post_id  The ID of the post.
    251251 * @param string $location The location where the meta is shown.
     252 * @return string Post meta HTML.
    252253 */
    253254function twentytwenty_get_post_meta( $post_id = null, $location = 'single-top' ) {
Note: See TracChangeset for help on using the changeset viewer.