Can I tell the WordPress revison viewer show arrays?

Question

I’m having multiple arrays saved into post meta fields. I can save them into revisions. But unfortunately the revision viewer shows me an error when trying to show the meta field data:

Warning: trim() expects parameter 1 to be string, array given in /wp-includes/formatting.php on line 5276

Is there a way to help the viewer to show the array like with "var_dump" or with "print_r"?

0
HHGK 2 months 0 Answers 9 views 0

Leave an answer