[wp-trac] [WordPress Trac] #47350: Add method to get JSON from a file without using file_get_contents()
WordPress Trac
noreply at wordpress.org
Wed May 22 19:51:49 UTC 2019
#47350: Add method to get JSON from a file without using file_get_contents()
---------------------------+------------------------------
Reporter: aristath | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
---------------------------+------------------------------
Comment (by aristath):
Interesting suggestion... And makes perfect sense. If we have a way to
register script dependencies outside of `wp_register_script`, then
omitting the deps argument should load the defaults
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47350#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list