[wp-trac] [WordPress Trac] #50989: "Blog pages show at most" setting not working when 2 posts are made sticky

WordPress Trac noreply at wordpress.org
Thu Aug 13 17:34:12 UTC 2020


#50989: "Blog pages show at most" setting not working when 2 posts are made sticky
--------------------------+-----------------------------
 Reporter:  wesleytech    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.5
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:  ui            |
--------------------------+-----------------------------
 Version: WordPress 5.5
 Site: https://wesleytech.com

 In WordPress Settings -> Reading, for the setting "Blog pages show at
 most".

 When a single blog post is set to sticky using the "stick to the top of
 the blog" setting on the blog post edit page, the "Blog pages show at
 most" setting is respected.

 However, when TWO blog posts are set as sticky, then the "Blog pages show
 at most" setting is NOT respected, and an extra post gets shown on the
 home page.

 For example, if your "Blog pages show at most" setting is set to 6, and
 you then make 2 blog posts sticky, then your home page will show 7 posts.

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


More information about the wp-trac mailing list