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

Dashboard Widget ID #59

Open
codyogden opened this issue May 28, 2021 · 0 comments
Open

Dashboard Widget ID #59

codyogden opened this issue May 28, 2021 · 0 comments

Comments

@codyogden
Copy link

Hello Yehuda,

I love this plugin and have been using it happily for multiple years.

I noticed that the WP Dashboard meta box has the id example_dashboard_widget which I'm guessing is from some example code that was added. This should be something unique to Post SMTP in order to avoid conflicts and allow precise removal from the dashboard when desired. Suggesting something like postsmtp_dashboard_widget.

Here are the two instances I see where this shows up:

https://github.com/yehudah/Post-SMTP/blob/ca1c75fa508b703971022eeef01869d7f89b7064/Postman/Postman-Controller/PostmanDashboardWidgetController.php#L57

https://github.com/yehudah/Post-SMTP/blob/ca1c75fa508b703971022eeef01869d7f89b7064/Postman/Postman-Controller/PostmanDashboardWidgetController.php#L70

Let me know if you'd like me to file this somewhere else. :)

Thanks again!

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

1 participant