Make WordPress Core

Opened 5 years ago

Last modified 3 months 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 months ago.
Modified class-wp-theme.php file (only)

Download all attachments as: .zip

Change History (11)

5 years ago

#1 @pross
5 years ago

  • Cc pross@… added

#2 @kawauso
5 years ago

  • Keywords has-patch added; child-theme removed

#3 @GaryJ
5 years ago

  • Cc GaryJ added

#4 @lancewillett
5 years ago

  • Cc lance@… added

#5 @cais
5 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)

#7 @cais
3 years ago

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

#8 follow-up: @chriscct7
3 months ago

  • Keywords needs-refresh added

#9 in reply to: ↑ 8 @cais
3 months ago

Replying to chriscct7:

Refreshed ... see 16395.patch (attached)

3 months ago

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

Note: See TracTickets for help on using tickets.