[wp-trac] [WordPress Trac] #28637: get_theme_mod returns empty string instead of default

WordPress Trac noreply at wordpress.org
Tue Sep 30 07:37:54 UTC 2014


#28637: get_theme_mod returns empty string instead of default
--------------------------+------------------------------
 Reporter:  philipjohn    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Customize     |     Version:  3.9.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+------------------------------

Comment (by obenland):

 Again, IMO this is not an issue with `get_theme_mod()`, but rather with a
 value being set (in this case an empty string) when it shouldn't.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28637#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list