Support » Plugin: Yet Another Related Posts Plugin (YARPP) » [Plugin: Yet Another Related Posts Plugin] Load sequence – YARPP starts before the WordPress init co
5 years, 7 months ago
It looks like YARPP is running before the WordPress init hook completes. As a result, WPML sets the language information after YARPP runs and YARPP loads related posts in the default language.
Can you work on this together with us to make sure that YARPP loads after the WP init completes?
If so, I’ll ask WPML’s lead developer to join this discussion and check this together.
What YARPP function have you caught running before the init hook completes? There are a few things that happen on plugin code load, but it’s not much. What specifically is the issue?
5 years, 6 months ago
This should normally be called at ‘init’.
This allows other plugins to hook in too.
5 years, 4 months ago
Mihai, I’m going to push a beta 3.3.3b1 with what I believe is the fix you’re requesting. Could you then check to see if the issue is resolved?
Here it is, fyi: http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.3.3.3b1.zip