mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-10 07:34:34 +00:00
Docs: Use proper case for @todo tags.
The correct tag is `@todo`, not `@TODO` or `@todo:` (note the trailing colon). Reference: [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#phpdoc-tags PHP Documentation Standards: PHPDoc tags]. Follow-up to [55203], [56274], [56565], [56698]. Props jrf. See #59651. git-svn-id: https://develop.svn.wordpress.org/trunk@57077 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -342,7 +342,7 @@ class WP_HTML_Processor extends WP_HTML_Tag_Processor {
|
||||
/**
|
||||
* Finds the next tag matching the $query.
|
||||
*
|
||||
* @TODO: Support matching the class name and tag name.
|
||||
* @todo Support matching the class name and tag name.
|
||||
*
|
||||
* @since 6.4.0
|
||||
*
|
||||
@@ -551,9 +551,9 @@ class WP_HTML_Processor extends WP_HTML_Tag_Processor {
|
||||
* Breadcrumbs start at the outermost parent and descend toward the matched element.
|
||||
* They always include the entire path from the root HTML node to the matched element.
|
||||
*
|
||||
* @TODO: It could be more efficient to expose a generator-based version of this function
|
||||
* to avoid creating the array copy on tag iteration. If this is done, it would likely
|
||||
* be more useful to walk up the stack when yielding instead of starting at the top.
|
||||
* @todo It could be more efficient to expose a generator-based version of this function
|
||||
* to avoid creating the array copy on tag iteration. If this is done, it would likely
|
||||
* be more useful to walk up the stack when yielding instead of starting at the top.
|
||||
*
|
||||
* Example
|
||||
*
|
||||
|
||||
@@ -2031,8 +2031,8 @@ class WP_HTML_Tag_Processor {
|
||||
*
|
||||
* @see https://html.spec.whatwg.org/#attributes-2
|
||||
*
|
||||
* @TODO as the only regex pattern maybe we should take it out? are
|
||||
* Unicode patterns available broadly in Core?
|
||||
* @todo As the only regex pattern maybe we should take it out?
|
||||
* Are Unicode patterns available broadly in Core?
|
||||
*/
|
||||
if ( preg_match(
|
||||
'~[' .
|
||||
|
||||
Reference in New Issue
Block a user