Make WordPress Core

Changeset 24251


Ignore:
Timestamp:
05/14/2013 03:55:21 PM (11 years ago)
Author:
nacin
Message:

Add a delimiter to _wp_filter_build_unique_id()'s handling of static method callbacks. props scribu, fixes #23265.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/plugin.php

    r23999 r24251  
    786786    } else if ( is_string($function[0]) ) {
    787787        // Static Calling
    788         return $function[0].$function[1];
    789     }
    790 }
     788        return $function[0] . '::' . $function[1];
     789    }
     790}
Note: See TracChangeset for help on using the changeset viewer.