[wp-trac] [WordPress Trac] #32139: Add PHPDoc for all global $wp_query in /wp-includes/query.php

WordPress Trac noreply at wordpress.org
Mon Apr 27 12:36:17 UTC 2015


#32139: Add PHPDoc for all global $wp_query in /wp-includes/query.php
------------------------------------+------------------------------
 Reporter:  MikeSchinkel            |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Query                   |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  docs
------------------------------------+------------------------------

Comment (by jdgrimes):

 Replying to [comment:3 MikeSchinkel]:
 Just the other day I was getting tired of the lack of auto-completion for
 `$wpdb`, so I created a file in the PHP path with this in it:

 {{{
 <?php

 /** @var wpdb $wpdb */
 global $wpdb;

 }}}

 I now have autocompletion for `$wpdb` everywhere.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32139#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list