[wp-trac] [WordPress Trac] #49518: Consider adding domain-specific i18N filter hooks

WordPress Trac noreply at wordpress.org
Thu Mar 5 20:01:31 UTC 2020


#49518: Consider adding domain-specific i18N filter hooks
----------------------------------------------------+---------------------
 Reporter:  geminilabs                              |       Owner:  (none)
     Type:  enhancement                             |      Status:  new
 Priority:  normal                                  |   Milestone:  5.5
Component:  I18N                                    |     Version:  5.3.2
 Severity:  normal                                  |  Resolution:
 Keywords:  has-patch needs-testing needs-dev-note  |     Focuses:
----------------------------------------------------+---------------------

Comment (by johnbillion):

 I think these new domain-specific filters should get applied after the
 existing more generic filters, not before. This is a pattern that allows
 for the return value of more specific filters to override that of the more
 generic ones (see for example the `plugin_action_links` and
 `plugin_action_links_{$plugin_file}` filters).

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


More information about the wp-trac mailing list