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

WordPress Trac noreply at wordpress.org
Wed Jun 25 22:21:34 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:                |     Focuses:  administration
--------------------------+------------------------------

Comment (by philipjohn):

 I should have known not to be trying to do patches quickly before going to
 the pub! You are right, nofearinc, it should be empty not isset.

 I'll look into the unsetting as per obenland's point though and see where
 that takes me...

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


More information about the wp-trac mailing list