Skip to content

Instantly share code, notes, and snippets.

View SirLouen's full-sized avatar
:electron:
Busy on my way to randomness...

Manuel Camargo SirLouen

:electron:
Busy on my way to randomness...
  • GIMC
  • Madrid, Spain
View GitHub Profile
@SirLouen
SirLouen / blueprint.json
Created December 11, 2025 00:58
Testing GB57717 V2
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"features": {"networking": true},
"steps": [
{"step": "installPlugin", "pluginData": {"resource": "wordpress.org/plugins", "slug": "gutenberg"}, "options": {"activate": true}},
{"step": "installPlugin", "pluginData": {"resource": "wordpress.org/plugins", "slug": "safe-svg"}, "options": {"activate": true}},
]
}
@SirLouen
SirLouen / blueprint.json
Last active December 11, 2025 12:30
Testing GB57717
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"features": {"networking": true},
"steps": [
{"step": "installPlugin", "pluginData": {"resource": "wordpress.org/plugins", "slug": "gutenberg"}, "options": {"activate": true}},
{"step": "installPlugin", "pluginData": {"resource": "wordpress.org/plugins", "slug": "safe-svg"}, "options": {"activate": true}},
{"step": "mkdir", "path": "/wordpress/wp-content/uploads"},
{
"step": "writeFile",
"path": "/wordpress/wp-content/uploads/wordpress-logo.svg",
@SirLouen
SirLouen / blueprint.json
Last active December 10, 2025 23:31
Testing for GB71448
{"landingPage":"/","steps":[{"step":"setSiteOptions","options":{"show_on_front":"page","page_on_front":3,"page_for_posts":4}},{"step":"writeFile","path":"/wordpress/wp-content/themes/twentytwentyfive/templates/page-homeposts.html","data":"<!-- wp:cover {\"dimRatio\":50,\"overlayColor\":\"base\",\"minHeight\":80,\"minHeightUnit\":\"vh\"} --><div class=\"wp-block-cover\" style=\"min-height:80vh\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-base-background-color has-background-dim\"></span><div class=\"wp-block-cover__inner-container\"><h1 class=\"wp-block-heading\">Latest Blog Posts</h1><p>Scroll down for featured posts</p></div></div><!-- /wp:cover --><!-- wp:query {\"perPage\":3} --><div class=\"wp-block-query\"><!-- wp:post-template --><!-- wp:post-featured-image {\"isLink\":true,\"width\":\"120px\",\"height\":\"120px\",\"scale\":\"cover\"} /--><!-- wp:post-title {\"isLink\":true} /--><!-- wp:post-excerpt /--><!-- wp:post-date /--><!-- /wp:post-template --><!-- wp:query-pagination /--><
{
"landingPage": "/wp-admin/",
"login": true,
"steps": [
{
"step": "installPlugin",
"pluginData": {
"resource": "url",
"url": "https://github-proxy.com/proxy/?repo=SirLouen/Test-FontSizePicker"
}
@SirLouen
SirLouen / blueprint.json
Last active December 10, 2025 00:05
Testing ticket #71999
{
"landingPage": "/wp-admin/edit.php",
"steps": [
{
"step": "runPHP",
"code": "<?php require_once '/wordpress/wp-load.php'; wp_insert_term('Technology', 'category', array('slug'=>'technology')); ?>"
},
{
"step": "runPHP",
"code": "<?php require_once '/wordpress/wp-load.php'; wp_insert_term('Design', 'category', array('slug'=>'design')); ?>"
@SirLouen
SirLouen / blueprint.json
Created December 9, 2025 23:42
Testing GB Issue 73618
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"login": true,
"landingPage": "/wp-admin/edit.php?post_type=book",
"steps": [
{
"step": "writeFile",
"path": "/wordpress/wp-content/mu-plugins/books-cpt.php",
"data": "<?php\nadd_action( 'init', 'wp_learn_register_book_post_type' );\n/**\n * Register the book post type and its meta fields.\n *\n * @return void\n */\nfunction wp_learn_register_book_post_type() {\n\t$args = array(\n\t\t'labels' => array(\n\t\t\t'name' => 'Books',\n\t\t\t'singular_name' => 'Book',\n\t\t\t'menu_name' => 'Books',\n\t\t\t'add_new' => 'Add New Book',\n\t\t\t'add_new_item' => 'Add New Book',\n\t\t\t'new_item' => 'New Book',\n\t\t\t'edit_item' => 'Edit Book',\n\t\t\t'view_item' => 'View Book',\n\t\t\t'all_items' => 'All Books',\n\t\t),\n\t\t'public' => true,\n\t\t'has_archive' => true,\n\t\t'show_in_rest' => true,\n\t\t'rest_base' => 'books',\n\t\t'supports' => array( 'title', 'e
@SirLouen
SirLouen / blueprint.json
Created December 9, 2025 12:22
Gutenberg Testing Issue 73826
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"preferredVersions": {
"php": "8.3",
"wp": "latest"
},
"steps": [
{
"step": "installPlugin",
"pluginData": {
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"preferredVersions": {
"wp": "https://playground.wordpress.net/plugin-proxy.php?org=WordPress&repo=wordpress-develop&workflow=Test%20Build%20Processes&artifact=wordpress-build-&branch=trunk",
"php": "8.3"
},
"features": {
"networking": true
},
"landingPage": "/wp-admin/edit.php"
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"preferredVersions": {
"wp": "nightly",
"php": "8.3"
},
"features": {
"networking": true
},
"landingPage": "/wp-admin/edit.php",
{
"landingPage": "/wp-admin/",
"preferredVersions": {
"php": "8.3",
"wp": "6.5"
},
"features": {
"networking": true
},
"steps": [