WordPress.org

Make WordPress Core

Ticket #20276: 20276.call_user_func.diff

File 20276.call_user_func.diff, 479 bytes (added by georgestephanis, 5 years ago)
  • src/wp-includes/session.php

     
    181181         */
    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
    187187        /**