Pierre-Lannoy / wp-decalog

Capture and log events, metrics and traces on your site. Make WordPress observable - finally!
https://perfops.one/
GNU General Public License v3.0
64 stars 8 forks source link

Can't select Listeners #11

Closed Luc45 closed 4 years ago

Luc45 commented 4 years ago

Describe the bug Can't choose which Listeners to show

To Reproduce Steps to reproduce the behavior:

  1. Go to wp-admin/options-general.php?page=decalog-settings&tab=listeners
  2. Switch from "All available listeners" to "Selected Listeners"
  3. Optionally select some listeners. Save.
  4. "All available listeners" option will be selected again.

Expected behavior On step 4, it should show "Selected Listeners".

Environment (please complete the following information):

Additional context I've just installed the plugin, I want to disable all listeners and add just my own listener for custom events in my website.

Pierre-Lannoy commented 4 years ago

Hello @Luc45 ! That's really strange as I'm currently not able to reproduce this behavior. Are you using the version available on wp.org or the current dev (on GitHub)?

Luc45 commented 4 years ago

I'm using the one from WP.org

Pierre-Lannoy commented 4 years ago

OK. I'm able to reproduce this issue on fresh WP5.3.1... Let me investigate it....

Pierre-Lannoy commented 4 years ago

I found the root cause and just released the 1.7.2 version to fix it. Could you update your plugin and give me a feedback about it? Thanks.

Luc45 commented 4 years ago

Yup, working now, thanks! Nice code, congratulations!

Pierre-Lannoy commented 4 years ago

Thanks a lot! And thank you to create this issue... Don't hesitate to submit a PR if you write a listener for a wp.org plugin ;)