Make WordPress Core

Opened 10 years ago

Closed 4 years ago

#33120 closed enhancement (wontfix)

Editor: Filter for word count type

Reported by: extendwings's profile 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 10 years ago.
33120.2.diff (1.1 KB) - added by extendwings 10 years ago.
Add Documentation
33120.3.diff (1.2 KB) - added by extendwings 10 years ago.

Download all attachments as: .zip

Change History (12)

@extendwings
10 years ago

#1 @extendwings
10 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
10 years ago

  • Focuses docs added

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

#3 @iseulde
10 years ago

  • Version trunk deleted

@extendwings
10 years ago

Add Documentation

@extendwings
10 years ago

#4 @extendwings
10 years ago

Updated Documentation since allowed values of words has been changed.

@SergeyBiryukov, could you check this documentation?

#5 @extendwings
10 years ago

  • Version set to 4.3

#6 @iseulde
9 years ago

  • Keywords reporter-feedback added

Why not filter the translation for that string?

#7 @DrewAPicture
9 years ago

  • Focuses docs removed

#8 @swissspidy
8 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 years ago

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