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

WordPress Trac noreply at wordpress.org
Sat May 24 12:00:12 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 SirLouen):

 Replying to [comment:11 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.
 This is what I told you some months ago. I tried to recover and update,
 but it seems that big work is required, and it will not be a matter of 2
 lines. Plus there are no stable maintainers on the parser atm (something
 that appears to be common in most side-projects nowadays, like Tide,
 bbPress, etc…) so I put it only todo, until I get a little more attention
 on someone with push powers that could commit with me. I fear doing an
 epic and having it left stalled forever (something very common)

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


More information about the wp-trac mailing list