[wp-trac] [WordPress Trac] #37516: Site title and tagline: allow ability to hide each independently

WordPress Trac noreply at wordpress.org
Fri Aug 25 05:16:30 UTC 2017


#37516: Site title and tagline: allow ability to hide each independently
-----------------------------------------------+---------------------------
 Reporter:  karmatosed                         |       Owner:
     Type:  defect (bug)                       |      Status:  new
 Priority:  normal                             |   Milestone:  Awaiting
Component:  Customize                          |  Review
 Severity:  normal                             |     Version:
 Keywords:  ui-feedback ux-feedback has-patch  |  Resolution:
                                               |     Focuses:
-----------------------------------------------+---------------------------
Changes (by tellyworth):

 * keywords:  ui-feedback ux-feedback => ui-feedback ux-feedback has-patch


Comment:

 attachment:poc-37516.2.diff​ implements this as a proof-of-concept.

 The WP_Customize_Manager changes are fine, I think, though might need
 improvement for certain cases.

 For the POC I've handled this as an option that filters blogname and
 blogdescription to turn the title and tagline on and off. That probably
 has other unintended effects and isn't good enough for release. For this
 to move forward a more robust solution is needed - perhaps it should be a
 theme mod instead. I'm posting the patch as-is to encourage discussion by
 folks who have a better idea as to how that should work.

 Partial refresh works with Twenty Seventeen.

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


More information about the wp-trac mailing list