WordPress.org

Make WordPress Core

Ticket #48354: 48354.diff

File 48354.diff, 612 bytes (added by shaampk1, 20 months ago)
  • src/wp-includes/class-wp-query.php

     
    39463946         *
    39473947         * @since 3.1.0
    39483948         *
    3949          * @param int|string|array $page Optional. Page ID, title, slug, path, or array of such. Default empty.
     3949         * @param int|string|int[]|string[] $page Optional. Page ID, title, slug, path, or array of such. Default empty.
    39503950         * @return bool Whether the query is for an existing single page.
    39513951         */
    39523952        public function is_page( $page = '' ) {