Ticket #18084: 18084.patch
File 18084.patch, 877 bytes (added by , 11 years ago) |
---|
-
wp-includes/rewrite.php
483 483 var $pagination_base = 'page'; 484 484 485 485 /** 486 * Comments pagination permalink base. 487 * 488 * @since 3.5 489 * @access private 490 * @var string 491 */ 492 var $comments_pagination_base = 'comment-page'; 493 494 /** 486 495 * Feed permalink base. 487 496 * 488 497 * @since 1.5.0 … … 1237 1246 //build a regex to match the trackback and page/xx parts of URLs 1238 1247 $trackbackregex = 'trackback/?$'; 1239 1248 $pageregex = $this->pagination_base . '/?([0-9]{1,})/?$'; 1240 $commentregex = 'comment-page-([0-9]{1,})/?$';1249 $commentregex = $this->comments_pagination_base . '-([0-9]{1,})/?$'; 1241 1250 1242 1251 //build up an array of endpoint regexes to append => queries to append 1243 1252 if ( $endpoints ) {