Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #49911


Ignore:
Timestamp:
04/15/2020 07:33:57 PM (3 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49911

    • Property Version changed from 5.4 to
    • Property Component changed from Database to Query
  • Ticket #49911 – Description

    initial v2  
    11When calling WP_Query($arguments)::get_posts() like:
    2 
     2{{{
    33$arguments = [
    44  'category__in' = ['7','31','704'],
     
    77  'nopaging' => true
    88];
    9 
     9}}}
    1010704 is the category for posts and 7, 31 for pages. The following query will be produced:
    1111