Skip to content

Commit

Permalink
Merge pull request #6 from Emilia-Capital/fix/5
Browse files Browse the repository at this point in the history
Fixes #5
  • Loading branch information
jdevalk authored Apr 18, 2024
2 parents f40fc63 + 9f714c9 commit c9e088e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/class-admin-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private function get_length( $value ) {
* @return string
*/
private function print_value( $value ) {
if ( is_array( $value ) ) {
if ( is_array( $value ) || is_object( $value ) ) {
// phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_print_r -- intended here.
return print_r( $value, 1 );
}
Expand Down

0 comments on commit c9e088e

Please sign in to comment.