Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#44259 new defect (bug)

wp_query: Post & Page Parameters doc section incorrect

Reported by: pbiron's profile 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 7 years ago.

Download all attachments as: .zip

Change History (4)

@pbiron
7 years ago

#1 @pbiron
7 years ago

  • Keywords has-screenshots added

#2 follow-up: @subrataemfluence
7 years 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
7 years 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.