[wp-trac] [WordPress Trac] #48550: Twenty Twenty: Customizer option to show or hide author bio

WordPress Trac noreply at wordpress.org
Tue Nov 19 17:58:20 UTC 2019


#48550: Twenty Twenty: Customizer option to show or hide author bio
-------------------------------------+-------------------------
 Reporter:  williampatton            |       Owner:  nielslange
     Type:  feature request          |      Status:  assigned
 Priority:  normal                   |   Milestone:  5.3.1
Component:  Bundled Theme            |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-------------------------

Comment (by nielslange):

 Replying to [comment:8 dlh]:
 > Do note that this patch will cause the author bio to be hidden on
 existing installations until someone goes into the Customizer and saves
 the default setting, I believe.

 Good catch, David! I just added a default statement to `get_theme_mod(
 'show_author_bio', true )`, which should do the trick. Would you mind
 running a quick test, to see if this adjustment fixes the issue you've
 mentioned?

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


More information about the wp-trac mailing list