[wp-trac] [WordPress Trac] #62018: HTML API: Satisfy return types in new methods

WordPress Trac noreply at wordpress.org
Mon Sep 9 22:14:17 UTC 2024


#62018: HTML API: Satisfy return types in new methods
-------------------------+----------------------
 Reporter:  dlh          |       Owner:  dmsnell
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  6.7
Component:  HTML API     |     Version:  trunk
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+----------------------
Changes (by dmsnell):

 * type:  defect (bug) => enhancement
 * milestone:  Awaiting Review => 6.7


Comment:

 @dlh I reclassified this ticket as an enhancement since the code in
 question was unreachable. also, while I understand this guards against
 future breakages to the code, there are no current bugs, and in a sense
 all code is susceptible to being changed in ways that introduce type
 errors - this isn't unique the lines changed by this patch.

 anyway, thanks for submitting this patch. if you want to explore ways to
 eliminate the need for it by rearranging code in a way that other tooling
 can understand, please be invited to do so!

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


More information about the wp-trac mailing list