Make WordPress Core


Ignore:
Timestamp:
11/07/2023 12:12:24 AM (11 months ago)
Author:
SergeyBiryukov
Message:

Docs: Use proper case for @todo tags.

The correct tag is @todo, not @TODO or @todo: (note the trailing colon).

Reference: PHP Documentation Standards: PHPDoc tags.

Follow-up to [55203], [56274], [56565], [56698].

Props jrf.
See #59651.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/html-api/class-wp-html-processor.php

    r56790 r57077  
    343343     * Finds the next tag matching the $query.
    344344     *
    345      * @TODO: Support matching the class name and tag name.
     345     * @todo Support matching the class name and tag name.
    346346     *
    347347     * @since 6.4.0
     
    552552     * They always include the entire path from the root HTML node to the matched element.
    553553     *
    554      * @TODO: It could be more efficient to expose a generator-based version of this function
    555      *        to avoid creating the array copy on tag iteration. If this is done, it would likely
    556      *        be more useful to walk up the stack when yielding instead of starting at the top.
     554     * @todo It could be more efficient to expose a generator-based version of this function
     555     *       to avoid creating the array copy on tag iteration. If this is done, it would likely
     556     *       be more useful to walk up the stack when yielding instead of starting at the top.
    557557     *
    558558     * Example
Note: See TracChangeset for help on using the changeset viewer.