Skip to content

Commit

Permalink
Run value through maybe_unserialize()
Browse files Browse the repository at this point in the history
  • Loading branch information
barryceelen committed Jul 4, 2018
1 parent 18d3871 commit 0ef0ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion post-meta-inspector.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function post_meta_inspector() {
?>
<?php foreach( $values as $value ) : ?>
<?php
$value = var_export( $value, true );
$value = var_export( maybe_unserialize( $value ), true );
$toggled = $toggle_length && strlen($value) > $toggle_length;
?>
<tr>
Expand Down

0 comments on commit 0ef0ece

Please sign in to comment.