Support » Plugin: WP247 Body Classes » PHP 7 Issue

  • Marc Wiest


    Howdy! It appears this plugin uses the create_function PHP function within wp247-body-classes/admin/wp247-settings-api/wp247-settings-api.class.php. This function is deprecated in PHP 7.2. Any chance you could swiftly issue an update to allow for a higher PHP version? Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wescleveland


    Working on it now. Would you be interested in testing the changes before I release it?

    Plugin Author wescleveland



    Thanks for your input. I actually discovered this a few days ago and have been testing changes to fix the deprecated create_function() function and a few performance issues. An updated version of WP247 Body Classes is available for testing. The new version contains the following changes:

    • Added Mobile-Detect version 2.8.33
    • Change deprecated function create_function
    • Improved performance for page/post categories body classes
    • Improved performance for page/post tags body classes

    Please see this article for testing information.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 7 Issue’ is closed to new replies.