OSDN Git Service

Use `get_stylesheet_directory()` instead of `TEMPLATEPATH` when determining where...
authorDaniel Bachhuber <d@danielbachhuber.com>
Sat, 1 Jun 2013 20:10:46 +0000 (20:10 +0000)
committerDaniel Bachhuber <d@danielbachhuber.com>
Sat, 1 Jun 2013 20:10:46 +0000 (20:10 +0000)
commit9fb3dc1ba38a15d1c7b5919427d5c15f6ec753f0
tree234e83f7c50d4c91b57fa8ae587b9ff03c430736
parent3d046d1a1ec22000c521f507adf4a75d983be59e
Use `get_stylesheet_directory()` instead of `TEMPLATEPATH` when determining where to place a scaffold.

In parent-child theme relationships, `TEMPLATEPATH` will always be the parent theme. We'd like to instead place our CPT/taxonomy in the child theme, as child themes are where the customizations occur.
php/commands/scaffold.php