[wp-trac] [WordPress Trac] #24142: Zero value for posts_per_page value in wp_query custom instance and for 'Blog pages show at most' option

WordPress Trac noreply at wordpress.org
Tue Mar 3 22:20:34 UTC 2020


#24142: Zero value for posts_per_page value in wp_query custom instance and for
'Blog pages show at most' option
--------------------------------------------+-----------------------------
 Reporter:  alexvorn2                       |       Owner:  (none)
     Type:  defect (bug)                    |      Status:  reopened
 Priority:  normal                          |   Milestone:  Future Release
Component:  Query                           |     Version:
 Severity:  normal                          |  Resolution:
 Keywords:  needs-unit-tests needs-testing  |     Focuses:
--------------------------------------------+-----------------------------
Changes (by Howdy_McGee):

 * Attachment "24142.diff" added.

 Removal of empty() in favor of isset() is_numeric() and is_bool()

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/24142>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list