WP Manifestindependent plugin directory
manifest / developer / wp-script-loading-strategy-tests

Script Loading Strategy Tests

Demo plugin that puts together various scenarios to test the script loading strategies proposed for WordPress core

★ 1stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/westonruter/wp-script-loading-strategy-tests/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Script Loading Strategy Tests Test cases for wordpress-develop#4391. To use this plugin, upon activation, scroll down to the footer and see the Script Loading Strategy Tests section. This lists out the available tests, which are all enabled by default. You can enable/disable each test individually. The test results shows the order of execution for the loaded scripts and their inline before/after scripts. Add new test cases to the cases directory.