WordPress.org

Plugin Directory

Changeset 749581 for p3-profiler


Ignore:
Timestamp:
08/02/13 00:47:22 (2 years ago)
Author:
StarfieldTech
Message:

Fixing an E_STRICT violation

http://wordpress.org/support/topic/php-strict-warning-only-variables-should-be-passed-by-reference

File:
1 edited

Legend:

Unmodified
Added
Removed
  • p3-profiler/trunk/p3-profiler.php

    r635095 r749581  
    5454 
    5555// Ajax actions 
    56 if ( is_admin() && 'admin-ajax.php' == end( explode( '/', $_SERVER['PHP_SELF'] ) ) ) { 
     56if ( is_admin() && defined( 'DOING_AJAX' ) && DOING_AJAX ) { 
    5757 
    5858    add_action( 'admin_init', array( 'P3_Profiler_Plugin_Admin', 'set_path' ) ); 
Note: See TracChangeset for help on using the changeset viewer.