Ticket #4160: patch.diff
| File patch.diff, 484 bytes (added by alexkingorg, 5 years ago) |
|---|
-
wp-includes/rewrite.php
63 63 // determine the post ID it represents. 64 64 function url_to_postid($url) { 65 65 global $wp_rewrite; 66 67 $url = apply_filters('url_to_postid', $url); 66 68 67 69 // First, check to see if there is a 'p=N' or 'page_id=N' to match against 68 70 preg_match('#[?&](p|page_id)=(\d+)#', $url, $values);
