Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bundle] Fix panel rendering when message body is an object #442

Merged
merged 1 commit into from
Aug 13, 2018
Merged

[bundle] Fix panel rendering when message body is an object #442

merged 1 commit into from
Aug 13, 2018

Conversation

thePanz
Copy link
Contributor

@thePanz thePanz commented May 10, 2018

No description provided.

>Show body</a>
<div id="message-body-{{ loop.index }}"
class="context sf-toggle-content sf-toggle-hidden">
<pre>{{ body }}</pre>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why dont you use profiler_dump here?

Copy link
Contributor Author

@thePanz thePanz May 10, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The profiler_dump expects a Data object and fails when the $body is an object.
The change here ensures the displayed value is a json string

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@makasim any updates on this?

@makasim makasim merged commit 3ab1f13 into php-enqueue:master Aug 13, 2018
@thePanz thePanz deleted the fix-web-profiler-display branch October 4, 2018 15:32
ASKozienko pushed a commit that referenced this pull request Nov 2, 2018
[bundle] Fix panel rendering when message body is an object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants