Make WordPress Core

Opened 8 years ago

Last modified 8 years ago

#44259 new defect (bug)

wp_query: Post & Page Parameters doc section incorrect

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

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 8 years ago.

Download all attachments as: .zip

Change History (4)

@pbiron
8 years ago

#1 @pbiron
8 years ago

  • Keywords has-screenshots added

#2 follow-up: @subrataemfluence
8 years ago

  • Component QueryGeneral
  • Version trunk

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
8 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.