Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #17581, comment 1


Ignore:
Timestamp:
05/27/2011 02:31:49 AM (13 years ago)
Author:
wpweaver
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17581, comment 1

    initial v1  
    1 Sorry - typo - the substr($content,0,4) should yield a string 5 chars long, not 4 as I mis-typed.
     1The string you check needs to be long enough to demonstrate the problem - didn't put any error checking in the demo. Creating a source with <p> seems to generate most obvious errors, and if you add a strpos check for example, it will fail to find strings that really are in the content.