WordPress / developer-plugins-handbook

Welcome to the WordPress Plugin Developer Handbook; are you ready to jump right in to the world of WordPress plugins?
https://developer.wordpress.org/plugins/
GNU General Public License v2.0
20 stars 14 forks source link

Add a draft page for Previews and Blueprints #5

Closed tellyworth closed 6 months ago

tellyworth commented 6 months ago

Should fix #4.

colorful-tones commented 5 months ago

@tellyworth can we confirm that this is the final page impacted here please? https://developer.wordpress.org/plugins/wordpress-org/previews-and-blueprints/

flexseth commented 5 months ago

@tellyworth can we confirm that this is the final page impacted here please? https://developer.wordpress.org/plugins/wordpress-org/previews-and-blueprints/

That's the correct page, however...

There is an error in this page. It's been reported, on Friday I can do my best to get it fixed in a meeting with the Playground architect...

{ "step": "runPHP", "code": " 5,\n'post_title' => 'Example Post',\n'post_content' => '

@tellyworth - Do you happen to have the remainder of the snippet seen here on the PR?

(Sorry for the duplicate ping but it's a pretty critical part of the docs I'm trying to track down) :)

flexseth commented 5 months ago

@tellyworth - PR to fix the documentation based on my comment directly above this one

This matches the Devhub docs at https://developer.wordpress.org/plugins/wordpress-org/previews-and-blueprints/ to relevant documentation https://wordpress.github.io/wordpress-playground/api/blueprints/interface/RunPHPStep/

cc: @colorful-tones, @adamziel