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

WordPress Trac noreply at wordpress.org
Fri Jun 6 19:50:14 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:
-----------------------------------------+------------------------------
Changes (by SirLouen):

 * keywords:  has-patch dev-feedback => has-patch changes-requested


Comment:

 @bor0 can you create a GH PR for this?

 Also, here some files to review:

 1. `tools/release/sync-stable-blocks.js` file that has also been modified
 and doesn't seem correct that mod.
 2. `src/wp-includes/wp-diff.php` double check
 3. `src/wp-includes/nav-menu-template.php` double check
 4. `src/wp-includes/ms-settings.php` double check
 5. `src/wp-includes/ms-blogs.php` double check
 6. `src/wp-includes/functions.php` double check
 7. `src/wp-includes/default-widgets.php` double check
 8. `src/wp-includes/class-wp-http.php` double check
 9. `src/wp-includes/class-wp-customize-setting.php` double check
 10. `src/wp-includes/class-wp-customize-panel.php` double check
 11. `src/wp-includes/class-wp-customize-control.php` double check
 12. `src/wp-includes/class-IXR.php` double check

 I'm not sure if saying which were right would have been shorter 🐴

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


More information about the wp-trac mailing list