issues
search
UCF
/
UCF-WordPress-Theme
A generic, responsive WordPress theme for UCF websites, built off of the Athena Framework.
3
stars
6
forks
source link
Theme mod retrieval updates
#27
Closed
cjg89
closed
6 years ago
cjg89
commented
6 years ago
Updated theme mod retrieval functions to allow other defaults sets to be referenced (for child themes and their own customizer settings)
Simplified
ucfwp_get_theme_mod_or_default()
by utilizing
get_theme_mod()
's
$default
param.
ucfwp_get_theme_mod_or_default()
should still function the same as it did previously.
get_theme_mod()
's logic can be reviewed here:
https://core.trac.wordpress.org/browser/tags/4.9.8/src/wp-includes/theme.php#L854
ucfwp_get_theme_mod_or_default()
by utilizingget_theme_mod()
's$default
param.ucfwp_get_theme_mod_or_default()
should still function the same as it did previously.get_theme_mod()
's logic can be reviewed here: https://core.trac.wordpress.org/browser/tags/4.9.8/src/wp-includes/theme.php#L854