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

How to turn off config.debug? #379

Open
2 tasks done
sn-dustin opened this issue Aug 1, 2024 · 1 comment
Open
2 tasks done

How to turn off config.debug? #379

sn-dustin opened this issue Aug 1, 2024 · 1 comment

Comments

@sn-dustin
Copy link

  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened.

There are a crazy amount of output to console.log and it looks like there is a setting to turn it off: config.debug but I can't find anywhere to actually toggle it.

Please describe what you expected to happen and why.

A setting to easily toggle the config.debug setting.

How can we reproduce this behavior?

  1. View the console when editing a page with ACF fields

Technical info

  • WordPress version: 6.6.1
  • ACF Content Analysis for Yoast SEO version: 3.1
  • Yoast SEO version: 22.8
  • ACF type: pro
  • ACF version: 6.2.9
  • Relevant plugins in case of a bug:
@kaelansmith
Copy link

The only way to turn off the console.logs seems to be setting the SCRIPT_DEBUG constant to false. Would be nice if there was also a plugin filter to turn it off while leaving SCRIPT_DEBUG as true.

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

No branches or pull requests

2 participants