Herb Miller
Herb Miller
Just to let you know that I have updated my solution to work with PHP classes and methods and am currently in the process of comparing my results with that...
Some additional information. Having fixed the problem, and before doing anything else I decided to try running the command interactively. The generated code had a different, unexpected value for the...
Also, I was rather surprised to see that `wp-scripts` will happily overwrite an existing plugin. ``` C:\apache\htdocs\wordpress\wp-content\plugins>npm init @webdevstudios/block npx: installed 85 in 8.307s (node:34840) ExperimentalWarning: The fs.promises API is...
BTW: We discussed this, and other things related to scaffolding for blocks, in WP_Hooked last night. I found the interactive method to be far more intuitive than the parameterised version....
BTW: The workaround didn't work. My blocks had become `wp:Step` and they included a pre tag with class `wp-block-Step`.
You may just find the following code useful. https://github.com/bobbingwide/oik-clone/blob/master/admin/class-oik-clone-block-relationships.php It contains logic to parse post_content into blocks ( using WordPress core functionality) then reform post_content from the parsed blocks.
Having overcome the problem in issue #18 I also suffered this PHP Fatal Error when performing "wp api user list". My workaround was to add the following code to the...
Thanks John. I might try that approach as well.
Same problem here. Getting 400 response and No OAuth parameters supplied. I'm running a local apache server under Windows. HTTP_AUTHORIZATION was not being set in the global $_SERVER array. In...
BTW. The 401 part of this problem appears to be a duplicate of https://github.com/WP-API/OAuth1/pull/32