• When in admin, graphene theme, reports deprecation warnings on two lines. In both cases, because null is passed where a string is expected. I fixed both (for now) by casting the variable to string.

    Line 2187: $path = str_replace( ‘\\’, ‘/’, (string) $path );

    Line 7288: $scheme_separator = strpos( (string)$path, ‘://’ );

    Hope these get added to the core soon.

  • The topic ‘deprecated function use in functions.php using Graphene theme’ is closed to new replies.