GaryJones / Gamajo-Template-Loader

A class to copy into your WordPress plugin, to allow loading template parts with fallback through the child theme > parent theme > plugin.
GNU General Public License v2.0
292 stars 61 forks source link

Fixed fatal error #1

Closed pippinsplugins closed 10 years ago

pippinsplugins commented 10 years ago

When copying the child theme path out of the mail $file_paths array and wrapping it in the is_child_theme() check, a comma was left. Just needs to be replaced with a ;.

pippinsplugins commented 10 years ago

Two fatal errors actually.

GaryJones commented 10 years ago

Thanks. The method rename was meant to go the other way i.e. change from possible_parts to file_names, but I obviously got distracted and only changed one. I'll fix it up shortly.