Make WordPress Core

Opened 7 weeks ago

Last modified 6 weeks ago

#48354 new enhancement

Stricter docs for is_page() and WP_Query::is_page()

Reported by: marekdedic Owned by:
Milestone: 5.4 Priority: normal
Severity: minor Version: 5.2
Component: Query Keywords: good-first-bug has-patch
Focuses: docs Cc:
PR Number:


Both could have the $page parameter narrowed from int|string|array to int|string|int[]|string[].

Attachments (2)

Stricter_docs_for_WP_Query__is_page().patch (702 bytes) - added by shaharia.azam 6 weeks ago.
Stricter docs for WP_Query::is_page()
48354.diff (612 bytes) - added by shaampk1 6 weeks ago.

Download all attachments as: .zip

Change History (6)

#1 @johnbillion
7 weeks ago

  • Keywords needs-patch good-first-bug added

#2 @desrosj
7 weeks ago

  • Milestone changed from Awaiting Review to 5.4

#3 @SergeyBiryukov
7 weeks ago

  • Component changed from General to Query

6 weeks ago

Stricter docs for WP_Query::is_page()

#4 @shaampk1
6 weeks ago

  • Keywords has-patch added; needs-patch removed

6 weeks ago

Note: See TracTickets for help on using tickets.