[wp-trac] [WordPress Trac] #65074: Rendering error of the wp_register_ability_category() doc page

WordPress Trac noreply at wordpress.org
Wed Apr 15 06:59:20 UTC 2026


#65074: Rendering error of the wp_register_ability_category() doc page
--------------------------------+------------------------------
 Reporter:  satollo             |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  WordPress.org Site  |     Version:  6.9.4
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:
--------------------------------+------------------------------

Comment (by iamadisingh):

 Fair point, @hbhalodia. I agree that as we move toward stricter typing
 with PHPStan, the DevHub parser needs to be able to handle generic array
 notation without breaking.

 It seems the issue is likely a collision with the legacy 'hash notation'
 parser in the DevHub theme. Since this would require a fix in the wporg-
 developer repo rather than core, I'll hold off on this PR for now. From
 what I can see, the conflict is possibly originating from the formatting
 logic here: https://github.com/WordPress/wporg-developer/blob/trunk/source
 /wp-content/themes/wporg-developer-2023/inc/formatting.php#L625 (or
 wherever that specific regex is handled).

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


More information about the wp-trac mailing list