• Here’s the error message I got:

    Deprecated: Function split() is deprecated in /mnt/stor0-wc2-dfw1/468595/840907/www.k2logistics.com/web/content/wp-content/plugins/wordpress-wp-nav-menu-filter/wp_nav_menu_filter.php on line 35

    It seems to only happen when the submenu would have only one item. But I’m not certain.

    The manual says split() should be replaced with preg_split(), although I think you could just get by with explode() in this case. Just thought I’d flag it.

    Great plugin, by the way! Very useful. Thanks –

    Patrick Noonan

    http://wordpress.org/extend/plugins/wordpress-wp-nav-menu-filter/

  • The topic ‘Using a deprecated function’ is closed to new replies.