• Resolved smerriman

    (@smerriman)


    Hi,

    There is a bug in the new yarpp_pingback_maybe_block_pingback function. I am using a plugin which hooks into init() and calls the get_permalink() function. This calls that pingback function at a time when the global $yarpp option does not exist, and you are calling a function on that object so it is crashing.

    Replacing:

    if ( !yarpp_get_option('experiment_pingback') || !$yarpp->cache->is_yarpp_time() )

    with

    if ( !$yarpp || !yarpp_get_option('experiment_pingback') || !$yarpp->cache->is_yarpp_time() )

    should fix the problem.

    http://wordpress.org/extend/plugins/yarpp-experiments/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug in new pingback blocking function’ is closed to new replies.