Make WordPress Core

Opened 5 years ago

Last modified 3 weeks ago

#16395 new enhancement

Add 'Template Version' for use with 'Template' in Child-Themes

Reported by: cais Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.1
Component: Themes Keywords: has-patch needs-refresh
Focuses: Cc:


From the discussions on the http://make.wordpress.org/themes/ site I am suggesting the addition of 'Template Version' for inclusion into the get_theme_data() function to be used as a reference for a Child-Theme's compatibility with its Parent-Theme ('Template').

PS: This is my first "patch" submission, any constructive feedback would be greatly appreciated. EAC

Attachments (2)

theme.php.diff (2.2 KB) - added by cais 5 years ago.
16395.patch (2.2 KB) - added by cais 3 weeks ago.
Modified class-wp-theme.php file (only)

Download all attachments as: .zip

Change History (11)

@cais5 years ago

comment:1 @pross5 years ago

  • Cc pross@… added

comment:2 @kawauso5 years ago

  • Keywords has-patch added; child-theme removed

comment:3 @GaryJ5 years ago

  • Cc GaryJ added

comment:4 @lancewillett5 years ago

  • Cc lance@… added

comment:5 @cais5 years ago

  • Version set to 3.1

I forgot to note a version for this ... just a suggestion.

Last edited 5 years ago by cais (previous) (diff)

comment:7 @cais3 years ago

Related: #16868 - updated patch on #16868 takes into account this ticket

comment:8 follow-up: @chriscct75 weeks ago

  • Keywords needs-refresh added

comment:9 in reply to: ↑ 8 @cais3 weeks ago

Replying to chriscct7:

Refreshed ... see 16395.patch (attached)

@cais3 weeks ago

Modified class-wp-theme.php file (only)

Note: See TracTickets for help on using tickets.