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

WordPress Trac noreply at wordpress.org
Mon Sep 29 12:02:05 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 philipjohn):

 Slight improvement, based on feedback from johnbillion, to be explicit
 about checking for an empty string, not just using empty().

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


More information about the wp-trac mailing list