[wp-trac] [WordPress Trac] #57736: Remove unused parameter in query for `get_block_templates` method

WordPress Trac noreply at wordpress.org
Thu Feb 16 17:30:43 UTC 2023


#57736: Remove unused parameter in query for `get_block_templates` method
-------------------------+-----------------------
 Reporter:  oandregal    |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  6.3
Component:  Themes       |     Version:  5.8
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  template
-------------------------+-----------------------
Changes (by davidbaumwald):

 * version:  trunk => 5.8
 * milestone:  Awaiting Review => 6.3


Comment:

 @oandregal Thanks.  Yeah it seems to not break anything, but it's dead
 code and - however small - it's dead code that's running.  Added in
 [51003] in `5.8`.

 Asking for @hellofromTonya's opinion.  Otherwise, this can certainly go in
 `6.3`.

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


More information about the wp-trac mailing list