[wp-trac] [WordPress Trac] #33120: Editor: Filter for word count type

WordPress Trac noreply at wordpress.org
Tue Feb 14 20:33:47 UTC 2017


#33120: Editor: Filter for word count type
-----------------------------------------------+---------------------------
 Reporter:  extendwings                        |       Owner:
     Type:  enhancement                        |      Status:  new
 Priority:  normal                             |   Milestone:  Awaiting
Component:  Editor                             |  Review
 Severity:  normal                             |     Version:  4.3
 Keywords:  has-patch reporter-feedback close  |  Resolution:
                                               |     Focuses:
-----------------------------------------------+---------------------------
Changes (by swissspidy):

 * keywords:  has-patch reporter-feedback => has-patch reporter-feedback
               close


Comment:

 Word count type is also used in `wp_trim_words()`. Since it's a
 translatable string, the pre-existing gettext filter can be used when
 desired. No need to add a filter around a filter IMHO.

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


More information about the wp-trac mailing list