[wp-trac] [WordPress Trac] #56698: Define 'Word count type' as a WP_Locale property
WordPress Trac
noreply at wordpress.org
Tue Feb 7 08:33:20 UTC 2023
#56698: Define 'Word count type' as a WP_Locale property
-------------------------------------------------+-------------------------
Reporter: pedromendonca | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.2
Component: I18N | Version: 4.3
Severity: normal | Resolution:
Keywords: has-patch needs-testing-info needs- | Focuses:
testing changes-requested has-unit-tests |
commit |
-------------------------------------------------+-------------------------
Comment (by pedromendonca):
Thanks @costdev for the improvements in the tests.
I would suggest a different wording for the keys of the data provider
array.
There is one `a valid option`, when in fact the valid ones are three,
maybe prefixing them is clearer:
- `valid - words`
- `valid - characters_excluding_spaces`
- `valid - characters_including_spaces`
What do you think?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56698#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list