[wp-trac] [WordPress Trac] #62975: Twenty Twenty-Five: Exclude sticky posts when offset is used

WordPress Trac noreply at wordpress.org
Tue Feb 18 07:10:50 UTC 2025


#62975: Twenty Twenty-Five: Exclude sticky posts when offset is used
---------------------------+------------------------------
 Reporter:  poena          |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by abcd95):

 Hi @poena, Thanks for bringing this to Trac!

 I have been thinking about this and maybe we can completely remove sticky
 posts from offset queries, or add a custom filter to dynamically exclude
 sticky posts only when offset is used.

 The former approach is simpler but more restrictive, while the latter
 offers more flexibility. What are your thoughts on this?

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


More information about the wp-trac mailing list