[wp-trac] [WordPress Trac] #33279: Smilies forcibly have font-height

WordPress Trac noreply at wordpress.org
Tue Dec 15 01:15:46 UTC 2015


#33279: Smilies forcibly have font-height
--------------------------+----------------------
 Reporter:  acbaile       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Formatting    |     Version:  4.2
 Severity:  normal        |  Resolution:  wontfix
 Keywords:  has-patch     |     Focuses:  ui
--------------------------+----------------------
Changes (by pento):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 This change was on purpose, to ensure that smilies and emoji are displayed
 correctly in environments that don't load CSS - for example, RSS readers
 and email. It's not possible to remove these rules without breaking smiley
 display for every WordPress site.

 To override this for your specific use case, the best method would
 probably be to add a filter to `the_content`, and `preg_replace()` the
 inline style attributes.

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


More information about the wp-trac mailing list