Make WordPress Core

Changeset 51330


Ignore:
Timestamp:
07/05/2021 03:46:40 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Miscellaneous docblock improvements.

See #53399

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user-edit.php

    r51086 r51330  
    553553                         *
    554554                         * The dynamic portion of the filter hook, `$name`, refers to
    555                          * each of the keys in the contactmethods array.
     555                         * each of the keys in the contact methods array.
    556556                         *
    557557                         * @since 2.9.0
    558558                         *
    559                          * @param string $desc The translatable label for the contactmethod.
     559                         * @param string $desc The translatable label for the contact method.
    560560                         */
    561561                        echo apply_filters( "user_{$name}_label", $desc );
  • trunk/src/wp-includes/class-wp-rewrite.php

    r51327 r51330  
    13161316                 * Filters rewrite rules used for date archives.
    13171317                 *
    1318                  * Likely date archives would include /yyyy/, /yyyy/mm/, and /yyyy/mm/dd/.
     1318                 * Likely date archives would include `/yyyy/`, `/yyyy/mm/`, and `/yyyy/mm/dd/`.
    13191319                 *
    13201320                 * @since 1.5.0
     
    13311331                 *
    13321332                 * Likely root-level archives would include pagination rules for the homepage
    1333                  * as well as site-wide post feeds (e.g. /feed/, and /feed/atom/).
     1333                 * as well as site-wide post feeds (e.g. `/feed/`, and `/feed/atom/`).
    13341334                 *
    13351335                 * @since 1.5.0
     
    13451345                 * Filters rewrite rules used for comment feed archives.
    13461346                 *
    1347                  * Likely comments feed archives include /comments/feed/, and /comments/feed/atom/.
     1347                 * Likely comments feed archives include `/comments/feed/` and `/comments/feed/atom/`.
    13481348                 *
    13491349                 * @since 1.5.0
     
    13601360                 * Filters rewrite rules used for search archives.
    13611361                 *
    1362                  * Likely search-related archives include /search/search+query/ as well as
     1362                 * Likely search-related archives include `/search/search+query/` as well as
    13631363                 * pagination and feed paths for a search.
    13641364                 *
     
    13751375                 * Filters rewrite rules used for author archives.
    13761376                 *
    1377                  * Likely author archives would include /author/author-name/, as well as
     1377                 * Likely author archives would include `/author/author-name/`, as well as
    13781378                 * pagination and feed paths for author archives.
    13791379                 *
Note: See TracChangeset for help on using the changeset viewer.