Skip to content

Should we really deprecate Timber::get_posts in 2.0? #1957

@palmiak

Description

@palmiak

While reviewing #1813 there is a small difference between get_posts() and WP_Query(). get_posts() always gets three extra params:

  • ignore_sticky_posts
  • no_found_rows
  • suppress filters

I see that Timber::get_posts() is deprecated in 2.0, but shouldn't we keep get_posts() in some way to keep better compatibility with WP? @gchtr what do you think? Or maybe I'm missing something - I don't know 2.0 to good yet :)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions