Skip to content
Commit 35428ba9 authored by Andrew Nacin's avatar Andrew Nacin
Browse files

Allow nooped plurals to receive a textdomain on registration to then be used on translation.

This is good for when the code registering the plural is not also translating it. This occurs
in core with register_post_status(), which accepts a nooped plural as an argument, and then
calls translate_nooped_plural() without a domain.

translate_nooped_plural() can still be called with a domain. The argument will just be overridden
if the nooped plural contains a domain key.

fixes #20188.



git-svn-id: https://core.svn.wordpress.org/trunk@20648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 779a78fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment