[wp-trac] [WordPress Trac] #62722: Fix all ABSPATH direct access errors

WordPress Trac noreply at wordpress.org
Fri Jun 6 23:18:13 UTC 2025


#62722: Fix all ABSPATH direct access errors
-----------------------------------------+------------------------------
 Reporter:  bor0                         |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  General                      |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch changes-requested  |     Focuses:
-----------------------------------------+------------------------------

Comment (by SirLouen):

 @bor0 ok! I clearly see it now. I wondered what were those '<?php` in that
 JS file. Now it makes sense.

 But as I told you, if these two files are being automatically generated,
 it doesnt make sense that you include them in this patch right?. I assume
 that they will be included among many other changes that `sync-gutenberg-
 packages` introduce in the code.

 Finally, in `tools/release/sync-stable-blocks.js` line 39 you are adding a
 new line, but I think there you were intending to add the anti-load code.

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


More information about the wp-trac mailing list