WordPress.org

Make WordPress Core

Changes between Version 3 and Version 6 of Ticket #15773


Ignore:
Timestamp:
04/20/11 20:00:01 (3 years ago)
Author:
scribu
Comment:

Similar: #17195

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15773

    • Property Status changed from new to reviewing
    • Property Summary changed from Replace $is_singular with is_singular() to Lazy load $wp_query->is_singular
    • Property Owner set to markjaquith
    • Property Milestone changed from Awaiting Review to Future Release
  • Ticket #15773 – Description

    v3 v6  
    33Being a variable means we have to also keep it current whenever one of it's components changes. 
    44 
    5 I propose we use the is_singular() method, and deprecate $is_singular. 
     5I propose we use a magic {{{__get()}}} method that would call is_singular() internally.