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

WordPress Trac noreply at wordpress.org
Wed Apr 26 14:25:33 UTC 2023


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

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


Comment:

 In [changeset:"55686" 55686]:
 {{{
 #!CommitTicketReference repository="" revision="55686"
 Themes: remove unused parameter in query for `get_block_templates()`.

 Remove the `theme` parameter from the query passed to
 `get_block_templates()`. It is not used or documented. This removal
 doesn't have any effect in the code, as the data is ignored anyway.

 Props draganescu, audrasjb, davidbaumwald, hellofromTonya.
 Fixes #57736.
 }}}

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


More information about the wp-trac mailing list