Fixed %post_id% token handling. Fixed pingback link detection.

git-svn-id: https://develop.svn.wordpress.org/trunk@640 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dougal Campbell
2003-12-22 23:00:45 +00:00
parent b9b4a54123
commit 0937ec283d
3 changed files with 20 additions and 9 deletions

View File

@@ -104,19 +104,22 @@ $rewritecode = array(
'%year%',
'%monthnum%',
'%day%',
'%postname%'
'%postname%',
'%post_id%'
);
$rewritereplace = array(
'([0-9]{4})?',
'([0-9]{1,2})?',
'([0-9]{1,2})?',
'([0-9a-z-]+)?'
'([0-9a-z-]+)?',
'([0-9]+)?'
);
$queryreplace = array (
'year=',
'monthnum=',
'day=',
'name='
'name=',
'p='
);