#1511 closed enhancement (fixed)
Improve i18n of Akismet's new widget
| Reported by: | dimadin | Owned by: | matt |
|---|---|---|---|
| Priority: | normal | Component: | akismet |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
As reported on Twitter, attached patch improves i18n of a new widget that was broken.
Note that I got error unrelated to above which was fixed for me when I changed to
add_action( 'wp_head', array( $this, 'css' ) );
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Akismet_New_Widget::css' was given in /wp-includes/plugin.php on line 405
Attachments (1)
Change History (3)
Changed 14 months ago by dimadin
comment:1 Changed 14 months ago by josephscott
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 14 months ago by josephscott
I wasn't able to reproduce this the add_action() issue you mentioned. I suspect that this is a difference in PHP versions. I went ahead and committed your version since it worked fine for me as well.
Note: See
TracTickets for help on using
tickets.

In [532382]: