[wp-trac] [WordPress Trac] #39945: WP_Query::get_posts fails to correctly sanitize 'posts_per_page'

WordPress Trac noreply at wordpress.org
Tue Mar 3 22:32:24 UTC 2020


#39945: WP_Query::get_posts fails to correctly sanitize 'posts_per_page'
-------------------------------------------------+-------------------------
 Reporter:  biisent                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Query                                |     Version:  4.7.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing 2nd-opinion  |     Focuses:
-------------------------------------------------+-------------------------

Comment (by Howdy_McGee):

 The patch for #24142 should solve this issue, if it isn't solved already.
 I do not believe it solves the scientific notation issue though, I don't
 have a good solution for that.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/39945#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list