mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
For doc block types, favor bool over the few remaining booleans
See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32964 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2057,8 +2057,8 @@ function get_next_posts_page_link($max_page = 0) {
|
||||
*
|
||||
* @since 0.71
|
||||
*
|
||||
* @param int $max_page Optional. Max pages.
|
||||
* @param boolean $echo Optional. Echo or return;
|
||||
* @param int $max_page Optional. Max pages.
|
||||
* @param bool $echo Optional. Echo or return;
|
||||
* @return string|void The link URL for next posts page if `$echo = false`.
|
||||
*/
|
||||
function next_posts( $max_page = 0, $echo = true ) {
|
||||
@@ -2151,7 +2151,7 @@ function get_previous_posts_page_link() {
|
||||
*
|
||||
* @since 0.71
|
||||
*
|
||||
* @param boolean $echo Optional. Echo or return;
|
||||
* @param bool $echo Optional. Echo or return;
|
||||
* @return string|void The previous posts page link if `$echo = false`.
|
||||
*/
|
||||
function previous_posts( $echo = true ) {
|
||||
|
||||
Reference in New Issue
Block a user