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

WordPress Trac noreply at wordpress.org
Fri Jun 6 22:44:58 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):

 Replying to [comment:6 bor0]:
 > Attaching new patch. @SirLouen I updated the files, saw that the check
 was already added in some. Also, I still think we need that `tools` change
 because it's generating a php file
 Do you know exactly how this is generated?

 Because I see that you have also commented `require-dynamic-blocks.php`
 which in theory is the file autogenerated by `tools/release/sync-
 gutenberg-packages.js`

 If you can find out which are the steps to generate this file, I think it
 would great from a testing perspective (to see if it's actually generating
 this code in the right place)

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


More information about the wp-trac mailing list