Make WordPress Core


Ignore:
Timestamp:
12/11/2010 09:28:36 AM (14 years ago)
Author:
scribu
Message:

Remove excess comments from url_to_postid(). See #15771

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/rewrite.php

    r16877 r16878  
    269269        return 0;
    270270
    271     // $url cleanup by Mark Jaquith
    272     // This fixes things like #anchors, ?query=strings, missing 'www.',
    273     // added 'www.', or added 'index.php/' that will mess up our WP_Query
    274     // and return a false negative
    275 
    276271    // Get rid of the #anchor
    277272    $url_split = explode('#', $url);
     
    308303
    309304    $request = $url;
    310 
    311     // Done with cleanup
    312305
    313306    // Look for matches.
Note: See TracChangeset for help on using the changeset viewer.