Open bobbingwide opened 3 years ago
oik-bob-bing-wide has been updated with a new version of the oik-bbw/wp
block.
This expects the attributes to be boolean values true/false rather than a character matching the attribute name
oik-bbw/wp { "g": "g" }
causes an error action wp_error_added
.
C:\apache\htdocs\wordpress\wp-content\plugins\oik-bwtrace\includes\bwtrace-actions.php(344:0)
bw_trace_parms(1) 243 0 2021-11-27T21:42:57+00:00 0.339030 0.104035
cf=wp_error_added 20335 36 2262 2097152/2097152 256M F=508 parameters: 4: Array
[0] => (string) "rest_invalid_type"
[1] => (string) "g is not of type boolean."
[2] => Array
[param] => (string) "g"
[3] => WP_Error Object
[errors] => Array
[rest_invalid_type] => Array
[0] => (string) "g is not of type boolean."
[error_data] => Array
[rest_invalid_type] => *RECURSION* 2 0
[ * additional_data] => Array
It's not immediately obvious what the cause of the hook is, but the backtrace helped.
Requirement
Solution
[guts]
with theoik-bbw/wp
block.See https://github.com/bobbingwide/bobbingwide/issues/22#issuecomment-837979715