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

git-svn-id: http://svn.automattic.com/wordpress/trunk@640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
emc3
2003-12-22 23:00:45 +00:00
parent 75f9641bb1
commit c8604702fc
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='
);