Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #28637, comment 14


Ignore:
Timestamp:
08/19/2015 06:06:42 PM (8 years ago)
Author:
MikeHansenMe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28637, comment 14

    initial v1  
    1 In the steps to reproduce the remove and image they had set. What is happening is now an empty string is being returned so whatever is depending on it is getting an empty string and likely not handling it. I think the correct behavior here is for it to be unset, then when it checks for the theme mod the default will be used.
     1In the steps to reproduce they remove the image they had set. What is happening is now an empty string is being returned so whatever is depending on it is getting an empty string and likely not handling it. I think the correct behavior here is for it to be unset, then when it checks for the theme mod the default will be used.
    22
    33so if someone is using get_theme_mod('thing', 'http://url-to-default-image.com/image.png' );