Last active
December 19, 2025 20:32
-
-
Save westonruter/30db2216eef07600cb1762ee8be67f18 to your computer and use it in GitHub Desktop.
Test plugin to ensure that a stylesheet enqueued in the footer will get printed and moved to the head in WordPress 6.9. See https://wordpress.org/support/topic/wordpress-6-9-broke-site-layout-crewbloom/page/3/#post-18758001
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://playground.wordpress.net/blueprint-schema.json", | |
| "meta": { | |
| "title": "Try enqueueing a stylesheet at wp_footer", | |
| "author": "westonruter", | |
| "categories": [ "plugins" ] | |
| }, | |
| "landingPage": "/", | |
| "preferredVersions": { | |
| "php": "8.3", | |
| "wp": "6.9" | |
| }, | |
| "steps": [ | |
| { | |
| "step": "installTheme", | |
| "themeData": { | |
| "resource": "wordpress.org/themes", | |
| "slug": "twentytwentyone" | |
| }, | |
| "options": { | |
| "activate": true | |
| } | |
| }, | |
| { | |
| "step": "installPlugin", | |
| "pluginData": { | |
| "resource": "url", | |
| "url": "https://gist.github.com/westonruter/30db2216eef07600cb1762ee8be67f18/archive/HEAD.zip" | |
| }, | |
| "options": { | |
| "activate": true, | |
| "targetFolderName": "enqueue-styles-at-wp-footer" | |
| } | |
| } | |
| ] | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
installPluginstep might be better as:{ "step": "installPlugin", "pluginData": { "resource": "zip", "inner": { "resource": "git:directory", "url": "https://gist.github.com/westonruter/30db2216eef07600cb1762ee8be67f18", "ref": "main" } }, "options": { "activate": true, "targetFolderName": "enqueue-styles-at-wp-footer" } }