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:
@@ -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='
|
||||
);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user