Make WordPress Core


Ignore:
Timestamp:
07/02/2021 07:07:01 PM (4 years ago)
Author:
desrosj
Message:

Twenty Twenty-One: Add missing documentation for some filters.

Add missing @since tags for some functions.

Follow-up to [49216], [49220], [49854], [51294].

Props SergeyBiryukov.
Merges [51304] to the 5.8 branch.
See #52628, #53461.

Location:
branches/5.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.8

  • branches/5.8/src/wp-content/themes/twentytwentyone/image.php

    r50233 r51320  
    2525                 * Filter the default image attachment size.
    2626                 *
    27                  * @param string $image_size Image size. Default 'large'.
     27                 * @since Twenty Twenty-One 1.0
     28                 *
     29                 * @param string $image_size Image size. Default 'full'.
    2830                 */
    2931                $image_size = apply_filters( 'twenty_twenty_one_attachment_size', 'full' );
Note: See TracChangeset for help on using the changeset viewer.