Comments: Remove unused `$default_comments_page` variable in `get_comment_link()`.
Left in r34735, fetches the `default_comments_page` option twice since this variable is unused. See #34073 and #35511. Props Latz. Built from https://develop.svn.wordpress.org/trunk@36343 git-svn-id: http://core.svn.wordpress.org/trunk@36310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
61951f5aff
commit
f956379447
|
@ -730,7 +730,6 @@ function get_comment_link( $comment = null, $args = array() ) {
|
|||
* If the default page displays the oldest comments, the permalinks for comments on the default page
|
||||
* do not need a 'cpage' query var.
|
||||
*/
|
||||
$default_comments_page = get_option( 'default_comments_page' );
|
||||
if ( 'oldest' === get_option( 'default_comments_page' ) && 1 === $cpage ) {
|
||||
$cpage = '';
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-alpha-1453111152441';
|
||||
$wp_version = '4.5-alpha-1453134913268';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue