Make WordPress Core


Ignore:
Timestamp:
11/07/2023 12:12:24 AM (8 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/block-supports/layout.php

    r56994 r57077  
    797797     * will also be present; rarely should classes be removed.
    798798     *
    799      * @TODO: Find a better way to match the first inner block. If it's possible to identify where the
    800      *        first inner block starts, then it will be possible to find the last tag before it starts
    801      *        and then that tag, if an opening tag, can be solidly identified as a wrapping element.
    802      *        Can some unique value or class or ID be added to the inner blocks when they process
    803      *        so that they can be extracted here safely without guessing? Can the block rendering function
    804      *        return information about where the rendered inner blocks start?
     799     * @todo Find a better way to match the first inner block. If it's possible to identify where the
     800     *       first inner block starts, then it will be possible to find the last tag before it starts
     801     *       and then that tag, if an opening tag, can be solidly identified as a wrapping element.
     802     *       Can some unique value or class or ID be added to the inner blocks when they process
     803     *       so that they can be extracted here safely without guessing? Can the block rendering function
     804     *       return information about where the rendered inner blocks start?
    805805     *
    806806     * @var string|null
Note: See TracChangeset for help on using the changeset viewer.