Support » Theme: Andrina Lite » [Theme: Andrina Lite] Function ereg_replace() is deprecated

  • Katie

    (@katiemccartneygmailcom)


    I’m running a wampserver locally that runs PHP version 5.3.8. In Theme Options, it displays a message

    “Deprecated: Function ereg_replace() is deprecated in C:\Users\Katie\1vhosts\mn\wp-content\themes\andrina-lite\functions\admin-interface.php on line 898.”

    The changes to the theme options do work though. My shared server uses PHP 5.2.17, so I don’t get this message.

    I know how to fix this. http://us2.php.net/ereg_replace. But I’m using a child theme and don’t like to touch the main theme. Will you be updating this in the future release so that if I change it in the main theme file, when the new version comes out, and I just do the automatic update, will it include this new change?

    Thanks!

    http://wordpress.org/extend/themes/andrina-lite/

  • The topic ‘[Theme: Andrina Lite] Function ereg_replace() is deprecated’ is closed to new replies.