[wp-trac] [WordPress Trac] #55799: Exclude PHP polyfill functions from code reference.

WordPress Trac noreply at wordpress.org
Mon Jul 11 17:49:45 UTC 2022

#55799: Exclude PHP polyfill functions from code reference.
 Reporter:  dd32         |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  low          |   Milestone:  6.1
Component:  General      |     Version:
 Severity:  minor        |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  docs
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => fixed


 Replying to [comment:1 dd32]:
 > It did occur to me that we could probably just also exclude `_()` and
 ignore the entire file in the developer docs parser instead.

 Makes sense to me, I went that route in [meta11956].

 After deleting the previously imported entries and re-running the parser,
 these polyfill functions no longer show up in the Code Reference.

Ticket URL: <https://core.trac.wordpress.org/ticket/55799#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list