[wp-trac] [WordPress Trac] #12821: Merge get_posts() and get_pages()

WordPress Trac noreply at wordpress.org
Wed Apr 26 13:42:40 UTC 2023


#12821: Merge get_posts() and get_pages()
-------------------------------------------------+-------------------------
 Reporter:  mikeschinkel                         |       Owner:
                                                 |  spacedmonkey
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.3
Component:  Posts, Post Types                    |     Version:  3.0
 Severity:  normal                               |  Resolution:
 Keywords:  needs-dev-note has-patch has-unit-   |     Focuses:
  tests needs-testing dev-feedback commit        |  performance
-------------------------------------------------+-------------------------

Comment (by marianne38):

 Replying to [comment:82 spacedmonkey]:
 > @marianne38 I think adding a filter is the only way forward here.
 >
 > I will work on a PR, that allows for this query args to be filtered.
 >
 > This would mean that existing sites would break after 6.3 without update
 on your end, correct?

 Thank you.

 Yes, that's correct.

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


More information about the wp-trac mailing list