[wp-trac] [WordPress Trac] #53566: Pass the asset path to the `_doing_it_wrong()` notice in `register_block_script_handle()`

WordPress Trac noreply at wordpress.org
Wed Mar 1 15:57:08 UTC 2023


#53566: Pass the asset path to the `_doing_it_wrong()` notice in
`register_block_script_handle()`
---------------------------------------------+-----------------------
 Reporter:  desrosj                          |       Owner:  audrasjb
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  6.2
Component:  Script Loader                    |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  good-first-bug has-patch commit  |     Focuses:
---------------------------------------------+-----------------------
Changes (by audrasjb):

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


Comment:

 In [changeset:"55446" 55446]:
 {{{
 #!CommitTicketReference repository="" revision="55446"
 Script Loader: Pass the asset path to the `_doing_it_wrong()` notice in
 `register_block_script_handle()`.

 This changeset ensures the file path is correctly passed in the output
 from `_doing_it_wrong()` notice in `register_block_script_handle()`.

 Props desrosj, neychok, mahbubshovan, ironprogrammer, robinwpdeveloper,
 hellofromTonya, simongomes02, mukesh27, costdev.
 Fixes #53566.
 }}}

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


More information about the wp-trac mailing list