"wp-query" ambiguously refers to one of two things. 1) WP_Query is a class native to WordPress which allows users to query the posts database using a number of criteria. 2) $wp_query is the global variable that holds the main query object prepared by WordPress based on a given request.
Corrected typo and restated second sentence to make a little bit more sense (what is "default object"? ;) )
Krzysiek Dróżdż
- 25.5k
- 9
- 53
- 74
mor7ifer
- 8.6k
- 2
- 19
- 32