[wp-trac] [WordPress Trac] #38545: Add span element to get_the_archive_title()

WordPress Trac noreply at wordpress.org
Mon Jan 21 15:34:03 UTC 2019


#38545: Add span element to get_the_archive_title()
-------------------------+------------------------
 Reporter:  Kaira        |       Owner:  desrosj
     Type:  enhancement  |      Status:  reviewing
 Priority:  normal       |   Milestone:  5.2
Component:  Taxonomy     |     Version:  4.6.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------

Comment (by Confridin):

 Replying to [comment:65 BinaryMoon]:
 > That's a nice idea, but I would rather add the spans (or do both). The
 spans gives the users the freedom to hide them with css, or keep them if
 they prefer.

 I did when I was working on my patch. But I changed my mind : I thought
 enabling automatic <span> addition might break some themes or plugins. For
 example, some theme may already add CSS to existing spans, and adding more
 spans might break their websites.

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


More information about the wp-trac mailing list