[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 21:22:56 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:7 MikeSchinkel]:
 > Looking at core it would seem that the most appropriate place for these
 would be in `/wp-includes/vars.php`.  It we define and declare all well-
 know WordPress global variables in that file then PhpStorm will recognize
 them throughout.

 I think that would be useful for everyone, just to have a nice list of
 these globals and what they are in one place, even if they aren't using an
 IDE with auto-completion.

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


More information about the wp-trac mailing list