WordPress.org

Make WordPress Core

Opened 3 weeks ago

Last modified 3 weeks ago

#44259 new defect (bug)

wp_query: Post & Page Parameters doc section incorrect

Reported by: pbiron Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords: has-screenshots
Focuses: docs Cc:

Description

The Post & Page Parameters section of the code ref page for WP_Query contains the following incorrect text:

post_name__in (array) – use post slugs. Specify posts to retrieve. (Will be available in version 4.4)

The "Will be available in..." text should be removed since 4.4 was released long ago.

Attachments (1)

wp_query.png (61.3 KB) - added by pbiron 3 weeks ago.

Download all attachments as: .zip

Change History (4)

@pbiron
3 weeks ago

#1 @pbiron
3 weeks ago

  • Keywords has-screenshots added

#2 follow-up: @subrataemfluence
3 weeks ago

  • Component changed from Query to General
  • Version trunk deleted

Good catch! It could be

post_name__in (array) – use post slugs. Specify posts to retrieve. (Available since version 4.4)

#3 in reply to: ↑ 2 @pbiron
3 weeks ago

Replying to subrataemfluence:

Good catch! It could be

post_name__in (array) – use post slugs. Specify posts to retrieve. (Available since version 4.4)

That's fine with me. Altho, to be consistent with other version mentions, "Available" should be "available".

Note: See TracTickets for help on using tickets.