Changeset 41162 for trunk/src/wp-includes/class-wp-query.php
- Timestamp:
- 07/27/2017 12:40:27 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r41042 r41162 22 22 * 23 23 * @since 1.5.0 24 * @access public25 24 * @var array 26 25 */ … … 31 30 * 32 31 * @since 1.5.0 33 * @access public34 32 * @var array 35 33 */ … … 40 38 * 41 39 * @since 3.1.0 42 * @access public43 40 * @var object WP_Tax_Query 44 41 */ … … 49 46 * 50 47 * @since 3.2.0 51 * @access public52 48 * @var object WP_Meta_Query 53 49 */ … … 58 54 * 59 55 * @since 3.7.0 60 * @access public61 56 * @var object WP_Date_Query 62 57 */ … … 69 64 * 70 65 * @since 1.5.0 71 * @access public72 66 * @var object|array 73 67 */ … … 78 72 * 79 73 * @since 1.5.0 80 * @access public81 74 * @var int 82 75 */ … … 87 80 * 88 81 * @since 2.0.1 89 * @access public90 82 * @var string 91 83 */ … … 96 88 * 97 89 * @since 1.5.0 98 * @access public99 90 * @var array 100 91 */ … … 105 96 * 106 97 * @since 1.5.0 107 * @access public108 98 * @var int 109 99 */ … … 114 104 * 115 105 * @since 1.5.0 116 * @access public117 106 * @var int 118 107 */ … … 123 112 * 124 113 * @since 2.0.0 125 * @access public126 114 * @var bool 127 115 */ … … 132 120 * 133 121 * @since 1.5.0 134 * @access public135 122 * @var WP_Post 136 123 */ … … 141 128 * 142 129 * @since 2.2.0 143 * @access public144 130 * @var array 145 131 */ … … 150 136 * 151 137 * @since 2.2.0 152 * @access public153 138 * @var int 154 139 */ … … 159 144 * 160 145 * @since 2.2.0 161 * @access public162 146 * @var int 163 147 */ … … 168 152 * 169 153 * @since 2.2.0 170 * @access public171 154 * @var int 172 155 */ … … 179 162 * 180 163 * @since 2.1.0 181 * @access public182 164 * @var int 183 165 */ … … 188 170 * 189 171 * @since 2.1.0 190 * @access public191 172 * @var int 192 173 */ … … 197 178 * 198 179 * @since 2.7.0 199 * @access public200 180 * @var int 201 181 */ … … 206 186 * 207 187 * @since 1.5.0 208 * @access public209 188 * @var bool 210 189 */ … … 215 194 * 216 195 * @since 2.0.0 217 * @access public218 196 * @var bool 219 197 */ … … 224 202 * 225 203 * @since 1.5.0 226 * @access public227 204 * @var bool 228 205 */ … … 233 210 * 234 211 * @since 1.5.0 235 * @access public236 212 * @var bool 237 213 */ … … 242 218 * 243 219 * @since 1.5.0 244 * @access public245 220 * @var bool 246 221 */ … … 251 226 * 252 227 * @since 1.5.0 253 * @access public254 228 * @var bool 255 229 */ … … 260 234 * 261 235 * @since 1.5.0 262 * @access public263 236 * @var bool 264 237 */ … … 269 242 * 270 243 * @since 1.5.0 271 * @access public272 244 * @var bool 273 245 */ … … 278 250 * 279 251 * @since 1.5.0 280 * @access public281 252 * @var bool 282 253 */ … … 287 258 * 288 259 * @since 1.5.0 289 * @access public290 260 * @var bool 291 261 */ … … 296 266 * 297 267 * @since 1.5.0 298 * @access public299 268 * @var bool 300 269 */ … … 305 274 * 306 275 * @since 2.3.0 307 * @access public308 276 * @var bool 309 277 */ … … 314 282 * 315 283 * @since 2.5.0 316 * @access public317 284 * @var bool 318 285 */ … … 323 290 * 324 291 * @since 1.5.0 325 * @access public326 292 * @var bool 327 293 */ … … 332 298 * 333 299 * @since 1.5.0 334 * @access public335 300 * @var bool 336 301 */ … … 341 306 * 342 307 * @since 2.2.0 343 * @access public344 308 * @var bool 345 309 */ … … 350 314 * 351 315 * @since 1.5.0 352 * @access public353 316 * @var bool 354 317 */ … … 359 322 * 360 323 * @since 1.5.0 361 * @access public362 324 * @var bool 363 325 */ … … 368 330 * 369 331 * @since 1.5.0 370 * @access public371 332 * @var bool 372 333 */ … … 377 338 * 378 339 * @since 4.4.0 379 * @access public380 340 * @var bool 381 341 */ … … 386 346 * 387 347 * @since 1.5.0 388 * @access public389 348 * @var bool 390 349 */ … … 395 354 * 396 355 * @since 1.5.0 397 * @access public398 356 * @var bool 399 357 */ … … 404 362 * 405 363 * @since 2.0.0 406 * @access public407 364 * @var bool 408 365 */ … … 414 371 * 415 372 * @since 2.1.0 416 * @access public417 373 * @var bool 418 374 */ … … 423 379 * 424 380 * @since 2.1.0 425 * @access public426 381 * @var bool 427 382 */ … … 434 389 * 435 390 * @since 2.1.0 436 * @access public437 391 * @var bool 438 392 */ … … 443 397 * 444 398 * @since 3.1.0 445 * @access public446 399 * @var bool 447 400 */ … … 453 406 * 454 407 * @since 3.1.0 455 * @access private456 408 * @var bool|string 457 409 */ … … 463 415 * 464 416 * @since 3.1.1 465 * @access private466 417 */ 467 418 private $query_vars_changed = true; … … 471 422 * 472 423 * @since 3.2.0 473 * @access public474 424 * @var bool 475 425 */ … … 494 444 * 495 445 * @since 2.0.0 496 * @access private497 446 */ 498 447 private function init_query_flags() { … … 529 478 * 530 479 * @since 1.5.0 531 * @access public532 480 */ 533 481 public function init() { … … 557 505 * 558 506 * @since 1.5.0 559 * @access public560 507 */ 561 508 public function parse_query_vars() { … … 568 515 * @since 2.1.0 569 516 * @since 4.4.0 Removed the `comments_popup` public query variable. 570 * @access public571 517 * 572 518 * @param array $array Defined query variables. … … 643 589 * @since 4.6.0 Added 'post_name__in' support for `$orderby`. Introduced the `$lazy_load_term_meta` argument. 644 590 * @since 4.9.0 Introduced the `$comment_count` parameter. 645 * @access public646 591 * 647 592 * @param string|array $query { … … 1067 1012 * For BC, this method is not marked as protected. See [28987]. 1068 1013 * 1069 * @access protected1070 1014 * @since 3.1.0 1071 1015 * … … 1296 1240 * 1297 1241 * @since 3.7.0 1298 * @access protected1299 1242 * 1300 1243 * @global wpdb $wpdb WordPress database abstraction object. … … 1453 1396 * 1454 1397 * @since 3.7.0 1455 * @access protected1456 1398 * 1457 1399 * @global wpdb $wpdb WordPress database abstraction object. … … 1510 1452 * 1511 1453 * @since 4.0.0 1512 * @access protected1513 1454 * 1514 1455 * @global wpdb $wpdb WordPress database abstraction object. … … 1604 1545 * 1605 1546 * @since 4.0.0 1606 * @access protected1607 1547 * 1608 1548 * @param string $order The 'order' query variable. … … 1625 1565 * 1626 1566 * @since 2.0.0 1627 * @access public1628 1567 */ 1629 1568 public function set_404() { … … 1642 1581 * @since 3.9.0 The `$default` argument was introduced. 1643 1582 * 1644 * @access public1645 1583 * 1646 1584 * @param string $query_var Query variable key. … … 1660 1598 * 1661 1599 * @since 1.5.0 1662 * @access public1663 1600 * 1664 1601 * @param string $query_var Query variable key. … … 1676 1613 * 1677 1614 * @since 1.5.0 1678 * @access public1679 1615 * 1680 1616 * @return array List of posts. … … 3075 3011 * 3076 3012 * @since 3.5.0 3077 * @access private3078 3013 * 3079 3014 * @param array $q Query variables. … … 3119 3054 * 3120 3055 * @since 1.5.0 3121 * @access public3122 3056 * 3123 3057 * @return WP_Post Next post. … … 3138 3072 * 3139 3073 * @since 1.5.0 3140 * @access public3141 3074 * 3142 3075 * @global WP_Post $post … … 3166 3099 * 3167 3100 * @since 1.5.0 3168 * @access public3169 3101 * 3170 3102 * @return bool True if posts are available, false if end of loop. … … 3203 3135 * 3204 3136 * @since 1.5.0 3205 * @access public3206 3137 */ 3207 3138 public function rewind_posts() { … … 3216 3147 * 3217 3148 * @since 2.2.0 3218 * @access public3219 3149 * 3220 3150 * @return WP_Comment Comment object. … … 3231 3161 * 3232 3162 * @since 2.2.0 3233 * @access public3234 3163 * @global WP_Comment $comment Current comment. 3235 3164 */ … … 3255 3184 * 3256 3185 * @since 2.2.0 3257 * @access public3258 3186 * 3259 3187 * @return bool True, if more comments. False, if no more posts. … … 3273 3201 * 3274 3202 * @since 2.2.0 3275 * @access public3276 3203 */ 3277 3204 public function rewind_comments() { … … 3286 3213 * 3287 3214 * @since 1.5.0 3288 * @access public3289 3215 * 3290 3216 * @param string|array $query URL query string or array of query arguments. … … 3305 3231 * 3306 3232 * @since 1.5.0 3307 * @access public3308 3233 * 3309 3234 * @return object … … 3377 3302 * 3378 3303 * @since 1.5.0 3379 * @access public3380 3304 * 3381 3305 * @return int … … 3397 3321 * 3398 3322 * @since 1.5.0 3399 * @access public3400 3323 * 3401 3324 * @param string|array $query URL query string or array of vars. … … 3411 3334 * 3412 3335 * @since 4.0.0 3413 * @access public3414 3336 * 3415 3337 * @param string $name Property to get. … … 3426 3348 * 3427 3349 * @since 4.0.0 3428 * @access public3429 3350 * 3430 3351 * @param string $name Property to check if set. … … 3441 3362 * 3442 3363 * @since 4.0.0 3443 * @access public3444 3364 * 3445 3365 * @param callable $name Method to call.
Note: See TracChangeset
for help on using the changeset viewer.