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

Remove debug code from plugin #155

Open
benlk opened this issue Jun 25, 2020 · 3 comments
Open

Remove debug code from plugin #155

benlk opened this issue Jun 25, 2020 · 3 comments

Comments

@benlk
Copy link
Collaborator

benlk commented Jun 25, 2020

add_action('largo_before_post_header', function() {
printf(
'<pre>%1$s</pre>',
esc_html( var_export( get_post_custom( get_the_ID() ), true) )
);
});

This was added during dev to help debug project post meta, and can now be removed at any time. It's not limited to projects; it appears on normal posts as well. http://staging.current.flywheelsites.com/2020/05/reflections-from-observing-good-radio-bosses/

@MirandaEcho
Copy link
Collaborator

Was this completed?

@joshdarby
Copy link

@MirandaEcho No, you never gave us permission to do it yet 😬

@MirandaEcho
Copy link
Collaborator

Ack, my bad. Saw it moved to in progress & assumed it went ahead. Please proceed, ideally before noon today if its visible at all on the front end.

@joshdarby joshdarby self-assigned this Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants