Quantcast
Viewing all articles
Browse latest Browse all 11471

daveagp on "[Plugin: Polylang] API problem on admin page (profile, dashboard)"

I am not getting a correct translation when I call

pll_home_url()

when building the toolbar (specifically within an action hooked to "wp_before_admin_bar_render") when viewing the dashboard or profile (any is_admin page). Investigating the problem and the source code of pll_home_url(), the issue seems to be that

class_exists('Polylang_Core')

returns false. Is this the expected behaviour or not? Thanks!

http://wordpress.org/extend/plugins/polylang/


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>