mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 18:54:29 +00:00
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:
@@ -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