[glotpress-updates] [GlotPress] #404: Bulk translate action doesn't work in Google plugin.
GlotPress
noreply at wordpress.org
Tue Jan 27 23:42:46 UTC 2015
#404: Bulk translate action doesn't work in Google plugin.
-----------------------+-----------------------------
Reporter: GregRoss | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Keywords: has-patch |
-----------------------+-----------------------------
Selecting multiple strings to translate and then using the bulk Google
Translate option doesn't work because the action hook is registered after
the do_action is called.
The attached patch moves all of the action/filter registration to the
constructor instead of during the script loader.
It also standardizes on the use of the plugin add_action() call instead of
a mix of plugin and global calls.
--
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/404>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'
More information about the glotpress-updates
mailing list