Ready to get started?Download WordPress


Advanced Category Excluder
(split) function deprecated in PHP 5.3.13 (1 post)

  1. Jon Fergus
    Posted 11 months ago #

    ACE uses the php split function on line 367:

    $cats = split(',',get_option("ace_categories_norobots"));

    but this function is deprecated in PHP 5.3.13. Hoping this will be fixed in an upcoming update, but for now I've temporarily replaced 'split' with 'preg_split', which seems to have done the trick:

    $cats = preg_split(',',get_option("ace_categories_norobots"));

    I'm very new to php, so am wondering if this "fix" will mess anything else up, and/or if there's a better solution.

    Thanks in advance.



You must log in to post.

About this Plugin

About this Topic