WordPress.org

Make WordPress Core

Opened 17 months ago

Last modified 17 months 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:
PR Number:

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 17 months ago.

Download all attachments as: .zip

Change History (4)

@pbiron
17 months ago

#1 @pbiron
17 months ago

  • Keywords has-screenshots added

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