WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22972


Ignore:
Timestamp:
12/17/12 12:35:22 (3 years ago)
Author:
johnbillion
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22972 – Description

    initial v1  
    1 The name of the first parameter for `wp_get_theme()` is misleading. It's called `$stylesheet` when in fact you're passing in the name of the theme's template, not the stylesheet. 
     1The name of the first parameter for `wp_get_theme()` is misleading. It's called `$stylesheet` when in fact you're passing in the name of the theme's template directory, not the stylesheet. 
    22 
    33The function is a wrapper for the `WP_Theme` class which gets its parameter names correct.