[wp-trac] [WordPress Trac] #57299: Implement array key type notation

WordPress Trac noreply at wordpress.org
Sat May 24 11:45:59 UTC 2025


#57299: Implement array key type notation
-------------------------+-------------------------------------
 Reporter:  johnbillion  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  6.9
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  docs, coding-standards
-------------------------+-------------------------------------

Comment (by johnbillion):

 It appears that [https://github.com/search?q=repo%3AWordPress%2Fwordpress-
 develop%20array%3Cstring%2C&type=code quite a bit of array key notation
 has already made its way into WordPress], and
 [https://developer.wordpress.org/reference/classes/wp_speculation_rules/add_rule/
 the parser at developer.wordpress.org isn't handling them correctly].

 See https://github.com/WordPress/phpdoc-parser/issues/246.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57299#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list