Forums

Regression in latest wp-blog-header.php with strpo (4 posts)

  1. gramps
    Member
    Posted 9 years ago #

    I just updated my cvs tree this morning and saw the following when loading a test blog page like "/index.php" instead of just "/":
    Warning: strpos(): Empty delimiter. in wp-blog-header.php on line 36
    The only difference from the cvs update is Ryan Boren's change to wp-blog-header.php to use strpos() instead of preg_match() so this must have caused the regression.
    Addtionally, I saw this when loading wp.php:
    Warning: Invalid argument supplied for foreach() in wp.php on line 21
    Of course, this may just have to do with the test blog not having any posts.

  2. gramps
    Member
    Posted 9 years ago #

    D'oh! That topic should have read, "Regression in latest wp-blog-header.php with strpos() change" but I guess there's a 50-character limit. :)

  3. Ryan Boren
    WordPress Dev
    Posted 9 years ago #

    strpos() problem is now fixed. Give it a try.

  4. gramps
    Member
    Posted 9 years ago #

    Wow! That was a quick response. Thanks, Ryan.
    Now if only the SourceForge CVS server were that responsive I could update and try out the fix. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.