WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 4 months ago

#33120 closed enhancement (wontfix)

Editor: Filter for word count type

Reported by: extendwings Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.3
Component: Editor Keywords: has-patch reporter-feedback close
Focuses: Cc:

Description

I think word count type should be switched easily.

Same opinion with https://make.wordpress.org/core/2015/07/23/wordcharacter-count-updates-in-4-3/#comment-26377

Attachments (3)

33120.diff (756 bytes) - added by extendwings 6 years ago.
33120.2.diff (1.1 KB) - added by extendwings 6 years ago.
Add Documentation
33120.3.diff (1.2 KB) - added by extendwings 6 years ago.

Download all attachments as: .zip

Change History (12)

@extendwings
6 years ago

#1 @extendwings
6 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
6 years ago

  • Focuses docs added

The filter needs to be documented as per the documentation standards.

#3 @iseulde
6 years ago

  • Version trunk deleted

@extendwings
6 years ago

Add Documentation

@extendwings
6 years ago

#4 @extendwings
6 years ago

Updated Documentation since allowed values of words has been changed.

@SergeyBiryukov, could you check this documentation?

#5 @extendwings
6 years ago

  • Version set to 4.3

#6 @iseulde
5 years ago

  • Keywords reporter-feedback added

Why not filter the translation for that string?

#7 @DrewAPicture
5 years ago

  • Focuses docs removed

#8 @swissspidy
4 years ago

  • Keywords close added

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.

#9 @noisysocks
4 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.