Opened 16 months ago
Last modified 16 months ago
#60231 new defect (bug)
Replace constant ABSPATH . WPINC with BLOCKS_PATH in the require-dynamic-blocks.php
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | Cc: |
Description
Basically, we are already defining the BLOCKS_PATH constant in the wp-includes/blocks/index.php file which is loading the require-dynamic-blocks.php
So it is good practice to replace combination ABSPATH . WPINC constants with BLOCKS_PATH single constant in the require-dynamic-blocks.php file generated by tools/release/sync-stable-blocks.js file.
Attachments (1)
Change History (5)
This ticket was mentioned in PR #5857 on WordPress/wordpress-develop by @vishalkakadiya.
16 months ago
#2
@mukesh27 commented on PR #5857:
16 months ago
#3
Thanks @vishalkakadiya for the PR! Left one comment.
Could you please share steps how anyone test it?
Note: See
TracTickets for help on using
tickets.
Patch file