Advertisement
aitormendez

prr_query

Jul 3rd, 2017
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 15.72 KB | None | 0 0
  1. object(WP_Query)[3291]
  2.   public 'query' =>
  3.     array (size=2)
  4.       'post_status' =>
  5.         array (size=1)
  6.           0 => string 'publish' (length=7)
  7.       'tax_query' =>
  8.         array (size=1)
  9.           0 =>
  10.             array (size=3)
  11.               ...
  12.   public 'query_vars' =>
  13.     array (size=68)
  14.       'post_status' =>
  15.         array (size=1)
  16.           0 => string 'publish' (length=7)
  17.       'tax_query' =>
  18.         array (size=1)
  19.           0 =>
  20.             array (size=3)
  21.               ...
  22.       'error' => string '' (length=0)
  23.       'm' => string '' (length=0)
  24.       'p' => int 0
  25.       'post_parent' => string '' (length=0)
  26.       'subpost' => string '' (length=0)
  27.       'subpost_id' => string '' (length=0)
  28.       'attachment' => string '' (length=0)
  29.       'attachment_id' => int 0
  30.       'name' => string '' (length=0)
  31.       'static' => string '' (length=0)
  32.       'pagename' => string '' (length=0)
  33.       'page_id' => int 0
  34.       'second' => string '' (length=0)
  35.       'minute' => string '' (length=0)
  36.       'hour' => string '' (length=0)
  37.       'day' => int 0
  38.       'monthnum' => int 0
  39.       'year' => int 0
  40.       'w' => int 0
  41.       'category_name' => string '' (length=0)
  42.       'tag' => string '' (length=0)
  43.       'cat' => string '' (length=0)
  44.       'tag_id' => string '' (length=0)
  45.       'author' => string '' (length=0)
  46.       'author_name' => string '' (length=0)
  47.       'feed' => string '' (length=0)
  48.       'tb' => string '' (length=0)
  49.       'paged' => int 0
  50.       'meta_key' => string '' (length=0)
  51.       'meta_value' => string '' (length=0)
  52.       'preview' => string '' (length=0)
  53.       's' => string '' (length=0)
  54.       'sentence' => string '' (length=0)
  55.       'title' => string '' (length=0)
  56.       'fields' => string '' (length=0)
  57.       'menu_order' => string '' (length=0)
  58.       'embed' => string '' (length=0)
  59.       'category__in' =>
  60.         array (size=0)
  61.           empty
  62.       'category__not_in' =>
  63.         array (size=0)
  64.           empty
  65.       'category__and' =>
  66.         array (size=0)
  67.           empty
  68.       'post__in' =>
  69.         array (size=0)
  70.           empty
  71.       'post__not_in' =>
  72.         array (size=0)
  73.           empty
  74.       'post_name__in' =>
  75.         array (size=0)
  76.           empty
  77.       'tag__in' =>
  78.         array (size=0)
  79.           empty
  80.       'tag__not_in' =>
  81.         array (size=0)
  82.           empty
  83.       'tag__and' =>
  84.         array (size=0)
  85.           empty
  86.       'tag_slug__in' =>
  87.         array (size=0)
  88.           empty
  89.       'tag_slug__and' =>
  90.         array (size=0)
  91.           empty
  92.       'post_parent__in' =>
  93.         array (size=0)
  94.           empty
  95.       'post_parent__not_in' =>
  96.         array (size=0)
  97.           empty
  98.       'author__in' =>
  99.         array (size=0)
  100.           empty
  101.       'author__not_in' =>
  102.         array (size=0)
  103.           empty
  104.       'ignore_sticky_posts' => boolean false
  105.       'suppress_filters' => boolean false
  106.       'cache_results' => boolean true
  107.       'update_post_term_cache' => boolean true
  108.       'lazy_load_term_meta' => boolean true
  109.       'update_post_meta_cache' => boolean true
  110.       'post_type' => string '' (length=0)
  111.       'posts_per_page' => int 10
  112.       'nopaging' => boolean false
  113.       'comments_per_page' => string '50' (length=2)
  114.       'no_found_rows' => boolean false
  115.       'taxonomy' => string 'prr' (length=3)
  116.       'term' => string 'proteger' (length=8)
  117.       'order' => string 'DESC' (length=4)
  118.   public 'tax_query' =>
  119.     object(WP_Tax_Query)[3275]
  120.       public 'queries' =>
  121.         array (size=1)
  122.           0 =>
  123.             array (size=5)
  124.               ...
  125.       public 'relation' => string 'AND' (length=3)
  126.       protected 'table_aliases' =>
  127.         array (size=1)
  128.           0 => string 'wp_term_relationships' (length=21)
  129.       public 'queried_terms' =>
  130.         array (size=1)
  131.           'prr' =>
  132.             array (size=2)
  133.               ...
  134.       public 'primary_table' => string 'wp_posts' (length=8)
  135.       public 'primary_id_column' => string 'ID' (length=2)
  136.   public 'meta_query' =>
  137.     object(WP_Meta_Query)[3272]
  138.       public 'queries' =>
  139.         array (size=0)
  140.           empty
  141.       public 'relation' => null
  142.       public 'meta_table' => null
  143.       public 'meta_id_column' => null
  144.       public 'primary_table' => null
  145.       public 'primary_id_column' => null
  146.       protected 'table_aliases' =>
  147.         array (size=0)
  148.           empty
  149.       protected 'clauses' =>
  150.         array (size=0)
  151.           empty
  152.       protected 'has_or_relation' => boolean false
  153.   public 'date_query' => boolean false
  154.   public 'request' => string 'SELECT SQL_CALC_FOUND_ROWS  wp_posts.ID FROM wp_posts  LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) LEFT JOIN wp_posts AS p2 ON (wp_posts.post_parent = p2.ID)  WHERE 1=1  AND (
  155.  wp_term_relationships.term_taxonomy_id IN (2,3,4)
  156. ) AND wp_posts.post_type = 'post' AND (((wp_posts.post_status = 'publish') OR (wp_posts.post_status = 'inherit' AND (p2.post_status = 'publish')))) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 10' (length=481)
  157.   public 'posts' =>
  158.     array (size=4)
  159.       0 =>
  160.         object(WP_Post)[3271]
  161.           public 'ID' => int 72
  162.           public 'post_author' => string '1' (length=1)
  163.           public 'post_date' => string '2017-07-03 06:57:00' (length=19)
  164.           public 'post_date_gmt' => string '2017-07-03 06:57:00' (length=19)
  165.           public 'post_content' => string 'sasdasdasd' (length=10)
  166.           public 'post_title' => string 'Remediar' (length=8)
  167.           public 'post_excerpt' => string '' (length=0)
  168.           public 'post_status' => string 'publish' (length=7)
  169.           public 'comment_status' => string 'closed' (length=6)
  170.           public 'ping_status' => string 'open' (length=4)
  171.           public 'post_password' => string '' (length=0)
  172.           public 'post_name' => string 'remediar' (length=8)
  173.           public 'to_ping' => string '' (length=0)
  174.           public 'pinged' => string '' (length=0)
  175.           public 'post_modified' => string '2017-07-03 06:57:00' (length=19)
  176.           public 'post_modified_gmt' => string '2017-07-03 06:57:00' (length=19)
  177.           public 'post_content_filtered' => string '' (length=0)
  178.           public 'post_parent' => int 0
  179.           public 'guid' => string '//localhost:3000/?p=72' (length=38)
  180.           public 'menu_order' => int 0
  181.           public 'post_type' => string 'post' (length=4)
  182.           public 'post_mime_type' => string '' (length=0)
  183.           public 'comment_count' => string '0' (length=1)
  184.           public 'filter' => string 'raw' (length=3)
  185.       1 =>
  186.         object(WP_Post)[3273]
  187.           public 'ID' => int 65
  188.           public 'post_author' => string '1' (length=1)
  189.           public 'post_date' => string '2017-07-02 15:23:49' (length=19)
  190.           public 'post_date_gmt' => string '2017-07-02 15:23:49' (length=19)
  191.           public 'post_content' => string '' (length=0)
  192.           public 'post_title' => string 'Sitio al que se enlaza' (length=22)
  193.           public 'post_excerpt' => string 'Nam lacinia lacus quis nisi efficitur, a porttitor ex faucibus. Aliquam et lectus auctor, condimentum ex eget, dignissim leo. Vivamus malesuada ipsum vitae venenatis tristique. Vivamus sed eros malesuada, aliquam felis ac, ullamcorper dui. Pellentesque feugiat lectus quis laoreet suscipit' (length=289)
  194.           public 'post_status' => string 'publish' (length=7)
  195.           public 'comment_status' => string 'closed' (length=6)
  196.           public 'ping_status' => string 'open' (length=4)
  197.           public 'post_password' => string '' (length=0)
  198.           public 'post_name' => string 'sitio-al-que-se-enlaza' (length=22)
  199.           public 'to_ping' => string '' (length=0)
  200.           public 'pinged' => string '' (length=0)
  201.           public 'post_modified' => string '2017-07-03 06:48:19' (length=19)
  202.           public 'post_modified_gmt' => string '2017-07-03 06:48:19' (length=19)
  203.           public 'post_content_filtered' => string '' (length=0)
  204.           public 'post_parent' => int 0
  205.           public 'guid' => string '//localhost:3000/?p=65' (length=38)
  206.           public 'menu_order' => int 0
  207.           public 'post_type' => string 'post' (length=4)
  208.           public 'post_mime_type' => string '' (length=0)
  209.           public 'comment_count' => string '0' (length=1)
  210.           public 'filter' => string 'raw' (length=3)
  211.       2 =>
  212.         object(WP_Post)[3276]
  213.           public 'ID' => int 63
  214.           public 'post_author' => string '1' (length=1)
  215.           public 'post_date' => string '2017-07-02 15:18:55' (length=19)
  216.           public 'post_date_gmt' => string '2017-07-02 15:18:55' (length=19)
  217.           public 'post_content' => string '' (length=0)
  218.           public 'post_title' => string 'Funes el memorioso' (length=18)
  219.           public 'post_excerpt' => string 'Donec orci urna, tincidunt ac nulla nec, aliquet lacinia mauris. Curabitur luctus purus a placerat ornare. Praesent pretium velit eget accumsan elementum. Morbi fermentum ante nec scelerisque condimentum. Integer vulputate massa nec lectus tincidunt eleifend. Etiam et aliquet massa, sit amet eleifend turpis. Sed erat erat, faucibus a augue in, commodo faucibus neque. Aliquam et nisi a arcu dapibus dignissim vitae aliquet nisl. Praesent a velit sit amet ante vehicula varius quis ac tellus. Suspendisse ut nib'... (length=920)
  220.           public 'post_status' => string 'publish' (length=7)
  221.           public 'comment_status' => string 'closed' (length=6)
  222.           public 'ping_status' => string 'open' (length=4)
  223.           public 'post_password' => string '' (length=0)
  224.           public 'post_name' => string 'donec-orci-urna-tincidunt-ac-nulla-nec-aliquet-lacinia-mauris' (length=61)
  225.           public 'to_ping' => string '' (length=0)
  226.           public 'pinged' => string '' (length=0)
  227.           public 'post_modified' => string '2017-07-03 06:49:09' (length=19)
  228.           public 'post_modified_gmt' => string '2017-07-03 06:49:09' (length=19)
  229.           public 'post_content_filtered' => string '' (length=0)
  230.           public 'post_parent' => int 0
  231.           public 'guid' => string '//localhost:3000/?p=63' (length=38)
  232.           public 'menu_order' => int 0
  233.           public 'post_type' => string 'post' (length=4)
  234.           public 'post_mime_type' => string '' (length=0)
  235.           public 'comment_count' => string '0' (length=1)
  236.           public 'filter' => string 'raw' (length=3)
  237.       3 =>
  238.         object(WP_Post)[3393]
  239.           public 'ID' => int 58
  240.           public 'post_author' => string '1' (length=1)
  241.           public 'post_date' => string '2017-07-02 14:41:07' (length=19)
  242.           public 'post_date_gmt' => string '2017-07-02 14:41:07' (length=19)
  243.           public 'post_content' => string 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean ornare commodo fermentum. Proin pretium fringilla nibh. Donec pulvinar maximus felis, et bibendum sapien viverra id. Suspendisse ac egestas libero, ullamcorper finibus leo. Integer massa dolor, convallis nec sapien id, dignissim rutrum orci. Sed est est, tempus vitae pellentesque et, suscipit in ex. Aliquam a eros id ex mattis luctus vel accumsan urna. Donec dapibus leo eu consectetur mattis. Aenean posuere, sem a viverra malesuada, tellus diam'... (length=3465)
  244.           public 'post_title' => string 'Lorem ipsum dolor sit amet, consectetur adipiscing elit' (length=55)
  245.           public 'post_excerpt' => string 'Cras sagittis faucibus porta. In non scelerisque enim. Sed at vestibulum dui. Praesent commodo velit quis dignissim suscipit.' (length=125)
  246.           public 'post_status' => string 'publish' (length=7)
  247.           public 'comment_status' => string 'closed' (length=6)
  248.           public 'ping_status' => string 'open' (length=4)
  249.           public 'post_password' => string '' (length=0)
  250.           public 'post_name' => string 'lorem-ipsum-dolor-sit-amet-consectetur-adipiscing-elit' (length=54)
  251.           public 'to_ping' => string '' (length=0)
  252.           public 'pinged' => string '' (length=0)
  253.           public 'post_modified' => string '2017-07-03 06:49:30' (length=19)
  254.           public 'post_modified_gmt' => string '2017-07-03 06:49:30' (length=19)
  255.           public 'post_content_filtered' => string '' (length=0)
  256.           public 'post_parent' => int 0
  257.           public 'guid' => string '//localhost:3000/?p=58' (length=38)
  258.           public 'menu_order' => int 0
  259.           public 'post_type' => string 'post' (length=4)
  260.           public 'post_mime_type' => string '' (length=0)
  261.           public 'comment_count' => string '0' (length=1)
  262.           public 'filter' => string 'raw' (length=3)
  263.   public 'post_count' => int 4
  264.   public 'current_post' => int -1
  265.   public 'in_the_loop' => boolean false
  266.   public 'post' =>
  267.     object(WP_Post)[3271]
  268.       public 'ID' => int 72
  269.       public 'post_author' => string '1' (length=1)
  270.       public 'post_date' => string '2017-07-03 06:57:00' (length=19)
  271.       public 'post_date_gmt' => string '2017-07-03 06:57:00' (length=19)
  272.       public 'post_content' => string 'sasdasdasd' (length=10)
  273.       public 'post_title' => string 'Remediar' (length=8)
  274.       public 'post_excerpt' => string '' (length=0)
  275.       public 'post_status' => string 'publish' (length=7)
  276.       public 'comment_status' => string 'closed' (length=6)
  277.       public 'ping_status' => string 'open' (length=4)
  278.       public 'post_password' => string '' (length=0)
  279.       public 'post_name' => string 'remediar' (length=8)
  280.       public 'to_ping' => string '' (length=0)
  281.       public 'pinged' => string '' (length=0)
  282.       public 'post_modified' => string '2017-07-03 06:57:00' (length=19)
  283.       public 'post_modified_gmt' => string '2017-07-03 06:57:00' (length=19)
  284.       public 'post_content_filtered' => string '' (length=0)
  285.       public 'post_parent' => int 0
  286.       public 'guid' => string '//localhost:3000/?p=72' (length=38)
  287.       public 'menu_order' => int 0
  288.       public 'post_type' => string 'post' (length=4)
  289.       public 'post_mime_type' => string '' (length=0)
  290.       public 'comment_count' => string '0' (length=1)
  291.       public 'filter' => string 'raw' (length=3)
  292.   public 'comment_count' => int 0
  293.   public 'current_comment' => int -1
  294.   public 'found_posts' => string '4' (length=1)
  295.   public 'max_num_pages' => float 1
  296.   public 'max_num_comment_pages' => int 0
  297.   public 'is_single' => boolean false
  298.   public 'is_preview' => boolean false
  299.   public 'is_page' => boolean false
  300.   public 'is_archive' => boolean true
  301.   public 'is_date' => boolean false
  302.   public 'is_year' => boolean false
  303.   public 'is_month' => boolean false
  304.   public 'is_day' => boolean false
  305.   public 'is_time' => boolean false
  306.   public 'is_author' => boolean false
  307.   public 'is_category' => boolean false
  308.   public 'is_tag' => boolean false
  309.   public 'is_tax' => boolean true
  310.   public 'is_search' => boolean false
  311.   public 'is_feed' => boolean false
  312.   public 'is_comment_feed' => boolean false
  313.   public 'is_trackback' => boolean false
  314.   public 'is_home' => boolean false
  315.   public 'is_404' => boolean false
  316.   public 'is_embed' => boolean false
  317.   public 'is_paged' => boolean false
  318.   public 'is_admin' => boolean false
  319.   public 'is_attachment' => boolean false
  320.   public 'is_singular' => boolean false
  321.   public 'is_robots' => boolean false
  322.   public 'is_posts_page' => boolean false
  323.   public 'is_post_type_archive' => boolean false
  324.   private 'query_vars_hash' => string '4e6435be29c31db9aed54a6f2b873ac5' (length=32)
  325.   private 'query_vars_changed' => boolean false
  326.   public 'thumbnails_cached' => boolean false
  327.   private 'stopwords' => null
  328.   private 'compat_fields' =>
  329.     array (size=2)
  330.       0 => string 'query_vars_hash' (length=15)
  331.       1 => string 'query_vars_changed' (length=18)
  332.   private 'compat_methods' =>
  333.     array (size=2)
  334.       0 => string 'init_query_flags' (length=16)
  335.       1 => string 'parse_tax_query' (length=15)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement