In attendance was: @sirlouen @fakhriaz @huzaifaalmesbah @ozgursar @supernovia @mosescursor @sajib1223 @andrewssanya @mohkatz
- This week's facilitator was @sirlouen
| { | |
| "$schema": "https://playground.wordpress.net/blueprint-schema.json", | |
| "landingPage": "/wp-admin/options-reading.php", | |
| "steps": [ | |
| { | |
| "step": "runPHP", | |
| "code": "<?php require_once '/wordpress/wp-load.php';\n$file = '/wordpress/wp-admin/options-reading.php';\n$contents = file_get_contents($file);\n$search = \"\\tif ( get_option( 'wp_page_for_privacy_policy' ) === get_option( 'page_for_posts' ) || get_option( 'wp_page_for_privacy_policy' ) === get_option( 'page_on_front' ) ) :\\n\";\n$replace = \"\\t$privacy_policy_page = get_option( 'wp_page_for_privacy_policy' );\\n\\tif ( $privacy_policy_page && ( $privacy_policy_page === get_option( 'page_for_posts' ) || $privacy_policy_page === get_option( 'page_on_front' ) ) ) :\\n\";\n$contents = str_replace($search, $replace, $contents);\nfile_put_contents($file, $contents);\n" | |
| } | |
| ] | |
| } |
| { | |
| "$schema": "https://playground.wordpress.net/blueprint-schema.json", | |
| "landingPage": "/wp-admin/plugins.php", | |
| "login": true, | |
| "preferredVersions": { | |
| "php": "8.3", | |
| "wp": "trunk" | |
| }, | |
| "steps": [ | |
| { |
| <?php | |
| /* | |
| Plugin Name: Test URL Field Plugin | |
| */ | |
| defined( 'ABSPATH' ) || exit; | |
| add_action( 'init', function() { | |
| register_meta( 'post', 'test_url_field', array( | |
| 'show_in_rest' => true, |
| { | |
| "$schema": "https://playground.wordpress.net/blueprint-schema.json", | |
| "preferredVersions": { | |
| "php": "8.3", | |
| "wp": "trunk" | |
| }, | |
| "features": { | |
| "networking": true | |
| }, | |
| "login": true, |
| { | |
| "$schema": "https://playground.wordpress.net/blueprint-schema.json", | |
| "preferredVersions": { | |
| "php": "8.3", | |
| "wp": "trunk" | |
| }, | |
| "features": { | |
| "networking": true | |
| }, | |
| "landingPage": "/wp-admin/edit.php", |
| { | |
| "$schema": "https://playground.wordpress.net/blueprint-schema.json", | |
| "preferredVersions": { | |
| "php": "8.3", | |
| "wp": "trunk" | |
| }, | |
| "features": { | |
| "networking": true | |
| }, | |
| "landingPage": "/wp-admin/edit.php", |
| { | |
| "$schema": "https://playground.wordpress.net/blueprint-schema.json", | |
| "preferredVersions": { | |
| "php": "8.3", | |
| "wp": "trunk" | |
| }, | |
| "features": { | |
| "networking": true | |
| }, | |
| "login": true, |
| { | |
| "$schema": "https://playground.wordpress.net/blueprint-schema.json", | |
| "preferredVersions": { | |
| "php": "8.3", | |
| "wp": "trunk" | |
| }, | |
| "features": { | |
| "networking": true | |
| }, | |
| "login": true, |
| { | |
| "$schema": "https://playground.wordpress.net/blueprint-schema.json", | |
| "preferredVersions": { | |
| "php": "8.3", | |
| "wp": "trunk" | |
| }, | |
| "features": { | |
| "networking": true | |
| }, | |
| "login": true, |