[wp-trac] [WordPress Trac] #28637: get_theme_mod returns empty string instead of default
WordPress Trac
noreply at wordpress.org
Wed Nov 4 07:35:50 UTC 2015
#28637: get_theme_mod returns empty string instead of default
--------------------------------------------+-----------------------------
Reporter: philipjohn | Owner: valendesigns
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Customize | Version: 3.9.1
Severity: normal | Resolution: wontfix
Keywords: has-patch has-unit-tests close | Focuses: administration
--------------------------------------------+-----------------------------
Changes (by westonruter):
* status: assigned => closed
* resolution: => wontfix
* milestone: 4.4 =>
Comment:
I suppose the only path forward with this is to introduce a new theme_mod
function that _does_ return the default value instead of an empty string,
so that backwards-compatibility is not violated.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28637#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list