mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1189,11 +1189,11 @@ class WP_Rewrite {
|
||||
$feedregex2 = '';
|
||||
foreach ( (array) $this->feeds as $feed_name)
|
||||
$feedregex2 .= $feed_name . '|';
|
||||
$feedregex2 = '(' . trim($feedregex2, '|') . ')/?$';
|
||||
$feedregex2 = '(' . trim($feedregex2, '|') . ')/?$';
|
||||
|
||||
//$feedregex is identical but with /feed/ added on as well, so URLs like <permalink>/feed/atom
|
||||
//and <permalink>/atom are both possible
|
||||
$feedregex = $this->feed_base . '/' . $feedregex2;
|
||||
$feedregex = $this->feed_base . '/' . $feedregex2;
|
||||
|
||||
//build a regex to match the trackback and page/xx parts of URLs
|
||||
$trackbackregex = 'trackback/?$';
|
||||
|
||||
Reference in New Issue
Block a user