Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 2 months ago

#3048 closed defect (bug) (fixed)

stylesheet-only themes can't have a functions.php

Reported by: skeltoac's profile skeltoac Owned by: ryan's profile ryan
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.0.4
Component: Template Keywords: has-patch tested commit
Focuses: Cc:

Description

Patch forthcoming...

Attachments (1)

load-both-functions.diff (877 bytes) - added by skeltoac 18 years ago.

Download all attachments as: .zip

Change History (7)

#1 @skeltoac
18 years ago

  • Component changed from Administration to Template
  • Owner changed from anonymous to skeltoac

#2 @skeltoac
18 years ago

  • Keywords has-patch tested commit added
  • Owner changed from skeltoac to ryan

#3 @ryan
18 years ago

Well, it's kinda like the other templates and we don't allow them to be overridden. Do we want to allow child themes to selectively override parent templates?

#4 @markjaquith
18 years ago

functions.php isn't really a template, but rather a place to put theme-specific filters in there. Sometimes you can only do so much with CSS, e.g. if you want to do something like change the formatting for the_date() or the_time().

I'd +1 this, but -1 allowing actual parent templates to be overwritten.

#5 @ryan
18 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4131]) Allow stylesheet only themes to provide functions.php. Props skeltoac. fixes #3048

#6 @hernandezdvl93rp
2 months ago

Are you facing an issue where stylesheet-only themes are unable to include a functions.php file in WordPress? Would you like guidance on how to patch this issue?

Note: See TracTickets for help on using tickets.