Changeset 1085570
- Timestamp:
- 02/09/2015 02:09:56 PM (11 years ago)
- Location:
- simple-permissions
- Files:
-
- 3 edited
-
tags/1.1.4/readme.txt (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/simple-permissions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-permissions/tags/1.1.4/readme.txt
r1045091 r1085570 4 4 Tags: 5 5 Requires at least: 3.5.2 6 Tested up to: 4. 0.06 Tested up to: 4.1.0 7 7 Stable tag: 1.1.4 8 8 License: GPLv2 or later -
simple-permissions/trunk/readme.txt
r1045090 r1085570 4 4 Tags: 5 5 Requires at least: 3.5.2 6 Tested up to: 4. 0.06 Tested up to: 4.1.0 7 7 Stable tag: 1.1.4 8 8 License: GPLv2 or later -
simple-permissions/trunk/simple-permissions.php
r1045090 r1085570 180 180 //if we are not checking for a specific post, do nothing 181 181 if ( ! isset( $args[2] ) || ! is_numeric( $args[2] ) ) { 182 error_log( "here" ); 182 183 return $allcaps; 183 184 } … … 185 186 //Bail out if operation isn't protected 186 187 if ( ! in_array( $args[0], $protectedOperations ) ) { 188 error_log( "here2" ); 187 189 return $allcaps; 188 190 } … … 191 193 //available to admins and super admins 192 194 if ( $allcaps['activate_plugins'] ) { 195 error_log( "here3" ); 193 196 return $allcaps; 194 197 }
Note: See TracChangeset
for help on using the changeset viewer.