[wp-trac] [WordPress Trac] #22269: Page template in parent theme root always overrides child
WordPress Trac
noreply at wordpress.org
Wed Oct 24 18:22:19 UTC 2012
#22269: Page template in parent theme root always overrides child
--------------------------+------------------------------
Reporter: DrewAPicture | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 3.4.2
Severity: normal | Resolution: invalid
Keywords: |
--------------------------+------------------------------
Changes (by DrewAPicture):
* status: new => closed
* resolution: => invalid
Comment:
Replying to [comment:1 duck_]:
> I cannot reproduce if the file name is the same, e.g. showcase.php for a
twentyeleven child theme.
>
> However, if the name is different, e.g. showcase2.php, then the template
dropdown list will only have an option for the parent theme's version
since `get_page_templates()` performs `array_flip(
wp_get_theme()->get_page_templates() )`.
You're correct. I did some more testing and the premise of this ticket is
invalid. I'll submit a separate enhancement ticket to see if we can't make
this more consistent.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22269#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list