Skip to content

Buffering still doesn't solve the problems. #136

@sanzeeb3

Description

@sanzeeb3

https://github.com/bueltge/adminimize/blob/63750d770c1ec0af7df2de3832cdd2498d8f6ad6/inc-setup/helping_hands.php#L100

The context is 'Active Debug Helper' when enabled is creating issues with exports. For example WPForms JSON export, CSV export, etc.

Here is the example of export code: https://plugins.trac.wordpress.org/browser/wpforms-lite/trunk/includes/admin/class-tools.php#L786

Version Information

  • WordPress: 5.4.0
  • Multisite: false
  • Adminimize: 1.11.6

Steps to Reproduce

  1. Activate Adminimize plugin and enable 'Active Debug Helper' option.
  2. Activate WPForms.
  3. Export form from WPForms > Tools > Export > Form Export
  4. See the exported JSON file which results in invalid JSON File including:
    <script>console.info("Adminimize, WordPress Menu:");console.log({"2":["Dashboard","read","index.php","","menu-top menu-top-first menu-icon

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions