Support » Plugin: TW Recent Posts Widget » Localization issue with WPML

  • Hey,

    thanks for the plugin. I had an issue regarding the localization of the title and the ‘more’ string, and i was told you use a non-standard way of registering the title filter. Changing the line

    $title = apply_filters ( ‘title’, isset ( $instance [‘title’] ) ? esc_attr ( $instance [‘title’] ) : ” );

    to

    $title = apply_filters ( ‘widget_title’, isset ( $instance [‘title’] ) ? esc_attr ( $instance [‘title’] ) : ” );

    did the trick for me, at least with WPML.

    Just thought I’d let you know…

    http://wordpress.org/extend/plugins/tw-recent-posts-widget/

  • The topic ‘Localization issue with WPML’ is closed to new replies.