Changeset 1092487
- Timestamp:
- 02/17/2015 02:55:40 PM (11 years ago)
- Location:
- dovetail/trunk
- Files:
-
- 2 edited
-
FP-members.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dovetail/trunk/FP-members.php
r885664 r1092487 84 84 include_once( plugin_dir_path( __FILE__ ) . 'classes/class.role-editor.php'); 85 85 // Ban non-admins from viewing the admin area 86 error_log( stripos( $_SERVER['PHP_SELF'], '/wp-admin/admin-ajax.php' ) ); 87 if ( ! current_user_can( 'manage_options' ) && stripos( $_SERVER['PHP_SELF'], '/wp-admin/admin-ajax.php' ) == false ) { 86 if ( ! current_user_can( 'manage_options' ) && stripos( $_SERVER['PHP_SELF'], '/wp-admin/admin-ajax.php' ) !== false ) { 88 87 wp_redirect( home_url() ); 89 88 exit; … … 286 285 // This allows theme developers to skip authorisation checks in certain page templates if they want to 287 286 $skip_check = apply_filters( "dovetail_skip_content_check", false, $post ); 288 287 289 288 if ( $skip_check ) { 290 289 return $content; -
dovetail/trunk/readme.txt
r885664 r1092487 1 1 === Plugin Name === 2 Contributors: factorypattern 3 Donate link: http://example.com/ 2 Contributors: rigorousrich 4 3 Tags: admin, members, users, paypal, payments, ecommerce 5 4 Requires at least: 3.0.1 6 Tested up to: 3.85 Tested up to: 4.1 7 6 Stable tag: trunk 8 7 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.