DRAFT: PR for enhancing WP_Scripts with a loading strategy#54
DRAFT: PR for enhancing WP_Scripts with a loading strategy#54
Conversation
Co-authored-by: Joe McGill <801097+joemcgill@users.noreply.github.com>
Co-authored-by: Joe McGill <801097+joemcgill@users.noreply.github.com>
Co-authored-by: Joe McGill <801097+joemcgill@users.noreply.github.com>
Co-authored-by: Joe McGill <801097+joemcgill@users.noreply.github.com>
…tps://github.com/10up/wordpress-develop into enhancement/get_eligible_loading_strategy-ML2-12
…enhancement/do_item-ML2-14
…enhancement/do_item-ML2-14
…enhancement/do_item-ML2-14
Co-authored-by: Simon Dowdles <72872375+10upsimon@users.noreply.github.com>
Co-authored-by: Simon Dowdles <72872375+10upsimon@users.noreply.github.com>
Co-authored-by: Simon Dowdles <72872375+10upsimon@users.noreply.github.com>
…enhancement/do_item-ML2-14
Co-authored-by: Simon Dowdles <72872375+10upsimon@users.noreply.github.com>
Co-authored-by: Joe McGill <801097+joemcgill@users.noreply.github.com>
…ript test function to accommodate script output changes as a result of core changes
…ease future lookups
|
Question: Should this PR also include cases where these new loading strategies are leveraged in core? Or is the thought that the PR be kept purely for the API changes and then to have separate PRs opened that make use of it? |
|
@westonruter The latter, once the API is in core, we can start using it in a few places in core as well as the default themes. |
|
Update: Comment moved to WordPress#4391 (comment). When reviewing this PR, I was noticing how methods in @adamsilverstein Do you know why these functions weren't utilized in |
…e the use of eval()
…ion body in script-loader.php
joemcgill
left a comment
There was a problem hiding this comment.
Small spacing nitpicks
Resolved in recent commit @joemcgill |
|
@10upsimon I believe we've wrapped up all blocking feedback on this draft PR at this point. When you're ready, please feel free to open a new PR to merge this branch into the trunk branch of the WordPress repo instead of this fork, and then I'll close this PR. We can pick up conversations about any additional enhancements we want to make (like #58) in the new PR that you open. |
|
Closing this in favor of WordPress#4391, but we can still reference the open conversations and pick them up on the new PR opened against the WordPress repo. |
trunk. DO NOT MERGE.