Good plugin
-
I’m using the plugin and am happy enough with it.
I recommend making the following changes though.
Firstly, it’s issuing some error messages:
“Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /usr/share/nginx/html/wp-includes/functions.php on line 3495”I was concerned that might trigger problems on the front-end, so I used
if (is_admin() ) {}
to require the main plugin file content. This also has the bonus of meaning that the majority of the plugin code is not loaded unless in the main page.I also think you could make this plugin without an admin page at all. I think it would be best to process all links by default and have an extension plugin for those who may want to do something specific. There could be a simple link from another admin page or from the plugin page to allow people to do the bulk processing. That’s only a once off event, so having a dedicated button in the admin panel for it seems excessive to me.
If you fix some of those, let me know and I’ll bump my rating up to five stars.
- The topic ‘Good plugin’ is closed to new replies.