[wp-trac] [WordPress Trac] #59778: remove not needed function call in wp_post_preview_js

WordPress Trac noreply at wordpress.org
Thu Nov 2 05:34:26 UTC 2023


#59778: remove not needed function call in wp_post_preview_js
---------------------------+------------------------------
 Reporter:  pbearne        |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  javascript
---------------------------+------------------------------
Changes (by mukesh27):

 * focuses:   => javascript
 * component:  Editor => Script Loader


Comment:

 Thanks @pbearne for the ticket and PR!

 @westonruter added the `wp_remove_surrounding_empty_script_tags` function
 in [56748] / #58664. I'd appreciate getting his thoughts on this matter.

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


More information about the wp-trac mailing list