Changeset 394358
- Timestamp:
- 06/07/2011 08:20:46 PM (15 years ago)
- Location:
- antispam-for-all-fields
- Files:
-
- 8 added
- 3 edited
-
tags/0.7.5 (added)
-
tags/0.7.5/admin_menu.php (added)
-
tags/0.7.5/antispam-for-all-fields-core.php (added)
-
tags/0.7.5/antispam-for-all-fields.php (added)
-
tags/0.7.5/mijnpress_plugin_framework.php (added)
-
tags/0.7.5/readme.txt (added)
-
tags/0.7.5/screenshot-1.png (added)
-
tags/0.7.5/screenshot-2.png (added)
-
trunk/antispam-for-all-fields.php (modified) (2 diffs)
-
trunk/mijnpress_plugin_framework.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
antispam-for-all-fields/trunk/antispam-for-all-fields.php
r393326 r394358 5 5 Description: Class and functions 6 6 Author: Ramon Fincken 7 Version: 0.7. 17 Version: 0.7.5 8 8 Author URI: http://www.mijnpress.nl 9 9 */ … … 16 16 } 17 17 18 define('PLUGIN_ANTISPAM_FOR_ALL_FIELDS_VERSION', '0.7. 1');18 define('PLUGIN_ANTISPAM_FOR_ALL_FIELDS_VERSION', '0.7.5'); 19 19 20 20 if(!class_exists('antispam_for_all_fields_core')) -
antispam-for-all-fields/trunk/mijnpress_plugin_framework.php
r393171 r394358 46 46 * 47 47 * 1.3.3 48 * Added: Plugin support url 48 * Added: Plugin support url 49 * 50 * 1.4 51 * Changed: is_admin as this gives problems on multisite installs 49 52 * ------------------------------------------------------------------ 50 53 * … … 59 62 var $showcredits = true; 60 63 var $showcredits_fordevelopers = true; 61 var $all_plugins = array('Admin renamer extended','Find replace','Simple add pages or posts','Force apply terms and conditions','GTmetrix website performance','Antispam for all fields','Mass Delete Tags','Auto Prune Posts','Warm cache','See attachments','Automatic Comment Scheduler','Register plus redux export users','Subscribe2 widget' );64 var $all_plugins = array('Admin renamer extended','Find replace','Simple add pages or posts','Force apply terms and conditions','GTmetrix website performance','Antispam for all fields','Mass Delete Tags','Auto Prune Posts','Warm cache','See attachments','Automatic Comment Scheduler','Register plus redux export users','Subscribe2 widget','Define Constants'); 62 65 63 66 /** … … 65 68 * @author Ramon Fincken 66 69 */ 67 function addPluginSubMenu($title,$function, $file, $capability = 10, $where = "plugins.php") { 68 add_submenu_page($where, $title, $title, $capability, $file, $function);70 function addPluginSubMenu($title,$function, $file, $capability = 10, $where = "plugins.php") { 71 add_submenu_page($where, $title, $title, $capability, $file, $function); 69 72 } 70 73 … … 85 88 } 86 89 90 /** 91 * Checks if user is admin or has plugin caps. 92 */ 87 93 function is_admin() 88 94 { 95 if(is_multisite()) 96 { 97 // TODO fix this, for now rely on WP roles ( I have tested this 07062011 ) 98 return true; 99 } 100 89 101 require_once(ABSPATH . WPINC . '/pluggable.php'); 90 102 $current_user = wp_get_current_user(); … … 200 212 If you are a coder, you might like to visit <a href="http://www.ramonfincken.com/tag/wordpress.html">his WordPress blogposts</a>. 201 213 <br/><br/><a href="http://pluginsupport.mijnpress.nl">Is this plugin broken? Report it here</a> 202 <br/>< a href="http://donate.ramonfincken.com/">PayPal Donations</a> (even as small as $1,- or €1,- are welcome!.214 <br/><br/><a href="http://donate.ramonfincken.com/">PayPal Donations</a> (even as small as $1,- or €1,- are welcome!. 203 215 204 216 </div> -
antispam-for-all-fields/trunk/readme.txt
r393326 r394358 5 5 Requires at least: 2.0.2 6 6 Tested up to: 3.1.3 7 Stable tag: 0.7. 17 Stable tag: 0.7.5 8 8 9 9 Plugin to reject spam. Port from same author from http://www.phpbbantispam.com … … 39 39 40 40 == Changelog == 41 42 = 0.7.5 = 43 Bugfix: Framework did not work on multisite, is_admin() problem.<br>If anyone could help me with that ? :) 41 44 42 45 = 0.7.1 =
Note: See TracChangeset
for help on using the changeset viewer.