Plugin Directory

Changeset 1092487


Ignore:
Timestamp:
02/17/2015 02:55:40 PM (11 years ago)
Author:
rigorousrich
Message:

Updated readme and removed a log statement

Location:
dovetail/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • dovetail/trunk/FP-members.php

    r885664 r1092487  
    8484                include_once( plugin_dir_path( __FILE__ ) . 'classes/class.role-editor.php');
    8585                // 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 ) {
    8887                    wp_redirect( home_url() );
    8988                    exit;
     
    286285                // This allows theme developers to skip authorisation checks in certain page templates if they want to
    287286                $skip_check = apply_filters( "dovetail_skip_content_check", false, $post );
    288                
     287
    289288                if ( $skip_check ) {
    290289                    return $content;
  • dovetail/trunk/readme.txt

    r885664 r1092487  
    11=== Plugin Name ===
    2 Contributors: factorypattern
    3 Donate link: http://example.com/
     2Contributors: rigorousrich
    43Tags: admin, members, users, paypal, payments, ecommerce
    54Requires at least: 3.0.1
    6 Tested up to: 3.8
     5Tested up to: 4.1
    76Stable tag: trunk
    87License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.