This plugin has been deprecated! It is no longer necessary as its functionality has been integrated into WordPress. There will not be any continued support for it. Comments to this post are also now closed.
When I released the plugin, I also simultaneously made a bug report and patch for the WP core, which was quickly accepted and applied.
Never moderate or mark as spam comments made by the site admin, the post’s author, or optionally, any registered user above a specified user level, regardless of the apparent spamminess of the comment.
You can customize the $min_user_level argument. All users with a user level greater than or equal to the value set for this argument will NEVER be moderated. By default, this value is ’10′, which means that only the site admin would never be moderated. If you set this to ’0′, then everyone who has registered to your site will be able to make comments without being moderated/marked as spam. Setting it to ’1′ would mean only those with the ability to write posts would be able to comment without moderation. Obviously, you can also define a value anywhere else in the range 0-10.
- Download the file never-moderate-admin.zip and unzip it into your /wp-content/plugins/ directory.
Copy and paste the the code ( never-moderate-admin.phps ) into a file called never-moderate-admin.php, and put that file into your /wp-content/plugins/ directory. Please ensure you do not introduce any spaces or other characters before the <?php or after the ?>
- Optional: Change the value of the $min_user_level argument (see below).
- Activate the plugin from your WordPress admin ‘Plugins’ page.
function c2c_never_moderate_admin( $approved, $min_user_level='10' )
- $approved : Text to be scanned for shortcut links to posts
- $min_user_level : optional; the minimum user level which should NEVER be moderated; defaulted to ’10′, which basically says that only the site admin should never be administrated (mind you, this is in addition to the post author, who also is never moderated)
- 25 Mar 2005 : v0.9 — Released to the public
Copyright (c) 2005 by Scott Reilly (aka coffee2code)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.