WordPress.org

Make WordPress Core

Changeset 29222


Ignore:
Timestamp:
07/18/2014 05:33:50 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Fix parse error in PHP 5.2.

props georgestephanis.
see #20276.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/session.php

    r29221 r29222  
    182182    final public static function destroy_all_tokens_for_all_users() {
    183183        $manager = apply_filters( 'session_token_manager', 'WP_User_Meta_Session_Tokens' );
    184         $manager::drop_sessions();
     184        call_user_func( array( $manager, 'drop_sessions' ) );
    185185    }
    186186
Note: See TracChangeset for help on using the changeset viewer.