WordPress.org

Ready to get started?Download WordPress

Forums

BuddyMobile
[Plugin: BuddyPress Mobile] eregi (1 post)

  1. ozkaatechnologies
    Member
    Posted 2 years ago #

    In your plugin you use the PHP5.3 deprecated function eregi.
    Could you change that from let's say :

    <<
    if (eregi($useragent,$container)){
    >> to <<
    if( preg_match( strtlower( $useragent ), strtolower( $container ) ) {
    >>

    Thanks!
    Oscar Frowijn

    http://wordpress.org/extend/plugins/buddypress-mobile/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic