mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-02 01:01:18 +03:00
Log: Return print_r instead of echoing
This commit is contained in:
parent
94f2ce4559
commit
844fcccd40
|
@ -27,7 +27,7 @@ namespace WordPressDotOrg\FiveForTheFuture\View;
|
|||
<?php echo wp_kses_data( $entry['message'] ); ?>
|
||||
</summary>
|
||||
<?php if ( ! empty( $entry['data'] ) ) : ?>
|
||||
<pre><?php echo esc_html( print_r( $entry['data'] ) ); ?></pre>
|
||||
<pre><?php echo esc_html( print_r( $entry['data'], true ) ); ?></pre>
|
||||
<?php endif; ?>
|
||||
</details>
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue