Make WordPress Core

Ticket #40161: 40161.patch

File 40161.patch, 386 bytes (added by abhishekfdd, 7 years ago)

patch to fix the issue

  • wp-includes/cron.php

     
    5555        $event = apply_filters( 'schedule_event', $event );
    5656
    5757        // A plugin disallowed this event
    58         if ( ! $event )
     58        if ( ! $event->hook )
    5959                return false;
    6060
    6161        $key = md5(serialize($event->args));