WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18265, comment 6


Ignore:
Timestamp:
07/27/11 11:56:36 (4 years ago)
Author:
elyobo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18265, comment 6

    initial v1  
    11I completely agree on the globals front, I did a check the other day and identified 272 distinct variables called globalised with the "global" keyword in WP core :) 
    22 
    3 However, load_templates doesn't take a $load argument; it ''always'' extracts the query vars (the boolean argument is whether to include or or require_once), so it ''is'' definitely doing this in core already. 
     3However, load_templates doesn't take a $load argument; it ''always'' extracts the query vars if they're there (the boolean argument is whether to include or or require_once), so it ''is'' definitely doing this in core already.