-
-
Save joshmoto/6df8c87f789564d64892b675c8a18a7f to your computer and use it in GitHub Desktop.
Data blog with multisite switch to Purchase blog query (without tax_query) WP_Query dump
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[0] => WP_Post Object | |
( | |
[ID] => 14 | |
[post_author] => 1 | |
[post_date] => 2021-03-25 17:17:12 | |
[post_date_gmt] => 2021-03-25 17:17:12 | |
[post_content] => | |
[post_title] => Another company | |
[post_excerpt] => | |
[post_status] => publish | |
[comment_status] => closed | |
[ping_status] => closed | |
[post_password] => | |
[post_name] => another-company | |
[to_ping] => | |
[pinged] => | |
[post_modified] => 2021-05-26 20:31:25 | |
[post_modified_gmt] => 2021-05-26 20:31:25 | |
[post_content_filtered] => | |
[post_parent] => 0 | |
[guid] => http://localhost/purchase/?post_type=purchase-supplier&p=14 | |
[menu_order] => 0 | |
[post_type] => purchase-supplier | |
[post_mime_type] => | |
[comment_count] => 0 | |
[filter] => raw | |
) | |
[1] => WP_Post Object | |
( | |
[ID] => 131 | |
[post_author] => 1 | |
[post_date] => 2021-05-20 21:15:56 | |
[post_date_gmt] => 2021-05-20 21:15:56 | |
[post_content] => | |
[post_title] => Barry Callebaut | |
[post_excerpt] => | |
[post_status] => publish | |
[comment_status] => closed | |
[ping_status] => closed | |
[post_password] => | |
[post_name] => barry-callebaut | |
[to_ping] => | |
[pinged] => | |
[post_modified] => 2021-05-25 23:12:05 | |
[post_modified_gmt] => 2021-05-25 23:12:05 | |
[post_content_filtered] => | |
[post_parent] => 0 | |
[guid] => http://localhost/purchase/?post_type=purchase-supplier&p=131 | |
[menu_order] => 0 | |
[post_type] => purchase-supplier | |
[post_mime_type] => | |
[comment_count] => 0 | |
[filter] => raw | |
) | |
[2] => WP_Post Object | |
( | |
[ID] => 12 | |
[post_author] => 1 | |
[post_date] => 2021-03-20 22:53:51 | |
[post_date_gmt] => 2021-03-20 22:53:51 | |
[post_content] => | |
[post_title] => Hancock Cash & Carry Ltd | |
[post_excerpt] => | |
[post_status] => publish | |
[comment_status] => closed | |
[ping_status] => closed | |
[post_password] => | |
[post_name] => hancock-cash-carry-ltd | |
[to_ping] => | |
[pinged] => | |
[post_modified] => 2021-05-26 14:54:08 | |
[post_modified_gmt] => 2021-05-26 14:54:08 | |
[post_content_filtered] => | |
[post_parent] => 0 | |
[guid] => http://localhost/purchase/?post_type=supplier&p=12 | |
[menu_order] => 0 | |
[post_type] => purchase-supplier | |
[post_mime_type] => | |
[comment_count] => 0 | |
[filter] => raw | |
) | |
[3] => WP_Post Object | |
( | |
[ID] => 13 | |
[post_author] => 1 | |
[post_date] => 2021-03-25 16:53:18 | |
[post_date_gmt] => 2021-03-25 16:53:18 | |
[post_content] => | |
[post_title] => Test | |
[post_excerpt] => | |
[post_status] => publish | |
[comment_status] => closed | |
[ping_status] => closed | |
[post_password] => | |
[post_name] => test | |
[to_ping] => | |
[pinged] => | |
[post_modified] => 2021-05-25 23:12:14 | |
[post_modified_gmt] => 2021-05-25 23:12:14 | |
[post_content_filtered] => | |
[post_parent] => 0 | |
[guid] => http://localhost/purchase/?post_type=purchase-supplier&p=13 | |
[menu_order] => 0 | |
[post_type] => purchase-supplier | |
[post_mime_type] => | |
[comment_count] => 0 | |
[filter] => raw | |
) | |
) | |
``` | |
And here is the `new WP_Query($args)` returned output on `$site-data` without `tax_query`... | |
```lang-txt | |
WP_Query Object | |
( | |
[query] => Array | |
( | |
[numberposts] => -1 | |
[post_type] => purchase-supplier | |
[orderby] => title | |
[order] => ASC | |
) | |
[query_vars] => Array | |
( | |
[numberposts] => -1 | |
[post_type] => purchase-supplier | |
[orderby] => title | |
[order] => ASC | |
[error] => | |
[m] => | |
[p] => 0 | |
[post_parent] => | |
[subpost] => | |
[subpost_id] => | |
[attachment] => | |
[attachment_id] => 0 | |
[name] => | |
[pagename] => | |
[page_id] => 0 | |
[second] => | |
[minute] => | |
[hour] => | |
[day] => 0 | |
[monthnum] => 0 | |
[year] => 0 | |
[w] => 0 | |
[category_name] => | |
[tag] => | |
[cat] => | |
[tag_id] => | |
[author] => | |
[author_name] => | |
[feed] => | |
[tb] => | |
[paged] => 0 | |
[meta_key] => | |
[meta_value] => | |
[preview] => | |
[s] => | |
[sentence] => | |
[title] => | |
[fields] => | |
[menu_order] => | |
[embed] => | |
[category__in] => Array | |
( | |
) | |
[category__not_in] => Array | |
( | |
) | |
[category__and] => Array | |
( | |
) | |
[post__in] => Array | |
( | |
) | |
[post__not_in] => Array | |
( | |
) | |
[post_name__in] => Array | |
( | |
) | |
[tag__in] => Array | |
( | |
) | |
[tag__not_in] => Array | |
( | |
) | |
[tag__and] => Array | |
( | |
) | |
[tag_slug__in] => Array | |
( | |
) | |
[tag_slug__and] => Array | |
( | |
) | |
[post_parent__in] => Array | |
( | |
) | |
[post_parent__not_in] => Array | |
( | |
) | |
[author__in] => Array | |
( | |
) | |
[author__not_in] => Array | |
( | |
) | |
[ignore_sticky_posts] => | |
[suppress_filters] => | |
[cache_results] => 1 | |
[update_post_term_cache] => 1 | |
[lazy_load_term_meta] => 1 | |
[update_post_meta_cache] => 1 | |
[posts_per_page] => 10 | |
[nopaging] => | |
[comments_per_page] => 50 | |
[no_found_rows] => | |
) | |
[tax_query] => WP_Tax_Query Object | |
( | |
[queries] => Array | |
( | |
) | |
[relation] => AND | |
[table_aliases:protected] => Array | |
( | |
) | |
[queried_terms] => Array | |
( | |
) | |
[primary_table] => tsp_2_posts | |
[primary_id_column] => ID | |
) | |
[meta_query] => WP_Meta_Query Object | |
( | |
[queries] => Array | |
( | |
) | |
[relation] => | |
[meta_table] => | |
[meta_id_column] => | |
[primary_table] => | |
[primary_id_column] => | |
[table_aliases:protected] => Array | |
( | |
) | |
[clauses:protected] => Array | |
( | |
) | |
[has_or_relation:protected] => | |
) | |
[date_query] => | |
[request] => SELECT SQL_CALC_FOUND_ROWS tsp_2_posts.ID FROM tsp_2_posts WHERE 1=1 AND tsp_2_posts.post_type = 'purchase-supplier' AND (tsp_2_posts.post_status = 'publish' OR tsp_2_posts.post_status = 'acf-disabled' OR tsp_2_posts.post_status = 'private') ORDER BY tsp_2_posts.post_title ASC LIMIT 0, 10 | |
[posts] => Array | |
( | |
[0] => WP_Post Object | |
( | |
[ID] => 14 | |
[post_author] => 1 | |
[post_date] => 2021-03-25 17:17:12 | |
[post_date_gmt] => 2021-03-25 17:17:12 | |
[post_content] => | |
[post_title] => Another company | |
[post_excerpt] => | |
[post_status] => publish | |
[comment_status] => closed | |
[ping_status] => closed | |
[post_password] => | |
[post_name] => another-company | |
[to_ping] => | |
[pinged] => | |
[post_modified] => 2021-05-26 20:31:25 | |
[post_modified_gmt] => 2021-05-26 20:31:25 | |
[post_content_filtered] => | |
[post_parent] => 0 | |
[guid] => http://localhost/purchase/?post_type=purchase-supplier&p=14 | |
[menu_order] => 0 | |
[post_type] => purchase-supplier | |
[post_mime_type] => | |
[comment_count] => 0 | |
[filter] => raw | |
) | |
[1] => WP_Post Object | |
( | |
[ID] => 131 | |
[post_author] => 1 | |
[post_date] => 2021-05-20 21:15:56 | |
[post_date_gmt] => 2021-05-20 21:15:56 | |
[post_content] => | |
[post_title] => Barry Callebaut | |
[post_excerpt] => | |
[post_status] => publish | |
[comment_status] => closed | |
[ping_status] => closed | |
[post_password] => | |
[post_name] => barry-callebaut | |
[to_ping] => | |
[pinged] => | |
[post_modified] => 2021-05-25 23:12:05 | |
[post_modified_gmt] => 2021-05-25 23:12:05 | |
[post_content_filtered] => | |
[post_parent] => 0 | |
[guid] => http://localhost/purchase/?post_type=purchase-supplier&p=131 | |
[menu_order] => 0 | |
[post_type] => purchase-supplier | |
[post_mime_type] => | |
[comment_count] => 0 | |
[filter] => raw | |
) | |
[2] => WP_Post Object | |
( | |
[ID] => 12 | |
[post_author] => 1 | |
[post_date] => 2021-03-20 22:53:51 | |
[post_date_gmt] => 2021-03-20 22:53:51 | |
[post_content] => | |
[post_title] => Hancock Cash & Carry Ltd | |
[post_excerpt] => | |
[post_status] => publish | |
[comment_status] => closed | |
[ping_status] => closed | |
[post_password] => | |
[post_name] => hancock-cash-carry-ltd | |
[to_ping] => | |
[pinged] => | |
[post_modified] => 2021-05-26 14:54:08 | |
[post_modified_gmt] => 2021-05-26 14:54:08 | |
[post_content_filtered] => | |
[post_parent] => 0 | |
[guid] => http://localhost/purchase/?post_type=supplier&p=12 | |
[menu_order] => 0 | |
[post_type] => purchase-supplier | |
[post_mime_type] => | |
[comment_count] => 0 | |
[filter] => raw | |
) | |
[3] => WP_Post Object | |
( | |
[ID] => 13 | |
[post_author] => 1 | |
[post_date] => 2021-03-25 16:53:18 | |
[post_date_gmt] => 2021-03-25 16:53:18 | |
[post_content] => | |
[post_title] => Test | |
[post_excerpt] => | |
[post_status] => publish | |
[comment_status] => closed | |
[ping_status] => closed | |
[post_password] => | |
[post_name] => test | |
[to_ping] => | |
[pinged] => | |
[post_modified] => 2021-05-25 23:12:14 | |
[post_modified_gmt] => 2021-05-25 23:12:14 | |
[post_content_filtered] => | |
[post_parent] => 0 | |
[guid] => http://localhost/purchase/?post_type=purchase-supplier&p=13 | |
[menu_order] => 0 | |
[post_type] => purchase-supplier | |
[post_mime_type] => | |
[comment_count] => 0 | |
[filter] => raw | |
) | |
) | |
[post_count] => 4 | |
[current_post] => -1 | |
[in_the_loop] => | |
[post] => WP_Post Object | |
( | |
[ID] => 14 | |
[post_author] => 1 | |
[post_date] => 2021-03-25 17:17:12 | |
[post_date_gmt] => 2021-03-25 17:17:12 | |
[post_content] => | |
[post_title] => Another company | |
[post_excerpt] => | |
[post_status] => publish | |
[comment_status] => closed | |
[ping_status] => closed | |
[post_password] => | |
[post_name] => another-company | |
[to_ping] => | |
[pinged] => | |
[post_modified] => 2021-05-26 20:31:25 | |
[post_modified_gmt] => 2021-05-26 20:31:25 | |
[post_content_filtered] => | |
[post_parent] => 0 | |
[guid] => http://localhost/purchase/?post_type=purchase-supplier&p=14 | |
[menu_order] => 0 | |
[post_type] => purchase-supplier | |
[post_mime_type] => | |
[comment_count] => 0 | |
[filter] => raw | |
) | |
[comment_count] => 0 | |
[current_comment] => -1 | |
[found_posts] => 4 | |
[max_num_pages] => 1 | |
[max_num_comment_pages] => 0 | |
[is_single] => | |
[is_preview] => | |
[is_page] => | |
[is_archive] => | |
[is_date] => | |
[is_year] => | |
[is_month] => | |
[is_day] => | |
[is_time] => | |
[is_author] => | |
[is_category] => | |
[is_tag] => | |
[is_tax] => | |
[is_search] => | |
[is_feed] => | |
[is_comment_feed] => | |
[is_trackback] => | |
[is_home] => 1 | |
[is_privacy_policy] => | |
[is_404] => | |
[is_embed] => | |
[is_paged] => | |
[is_admin] => | |
[is_attachment] => | |
[is_singular] => | |
[is_robots] => | |
[is_favicon] => | |
[is_posts_page] => | |
[is_post_type_archive] => | |
[query_vars_hash:WP_Query:private] => 69db87ac7d28f1cebe89b02b1f4cc144 | |
[query_vars_changed:WP_Query:private] => | |
[thumbnails_cached] => | |
[stopwords:WP_Query:private] => | |
[compat_fields:WP_Query:private] => Array | |
( | |
[0] => query_vars_hash | |
[1] => query_vars_changed | |
) | |
[compat_methods:WP_Query:private] => Array | |
( | |
[0] => init_query_flags | |
[1] => parse_tax_query | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment