Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polylang has changed the PLL() derived object #40

Open
SeenNotHurd opened this issue Apr 16, 2016 · 1 comment
Open

Polylang has changed the PLL() derived object #40

SeenNotHurd opened this issue Apr 16, 2016 · 1 comment

Comments

@SeenNotHurd
Copy link

line 181
$post_language = $polylang->model->get_post_language($post->ID);
should now be:
$post_language = $polylang->model->post->get_language($post->ID);

line 282
$term_language = $polylang->model->get_term_language($term->term_id);
Should now be:
$term_language = $polylang->model->term->get_language($term->term_id);

@grappler
Copy link

I think there is already a PR #37

@SeenNotHurd SeenNotHurd changed the title Polylang has changed the PLL() derived object has changed Polylang has changed the PLL() derived object Apr 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants