Plugin Directory

Changeset 858642


Ignore:
Timestamp:
02/15/2014 10:48:17 PM (12 years ago)
Author:
s-andy
Message:

Skip page_on_front overriding for admin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • language-mix/trunk/language-mix.php

    r841660 r858642  
    244244    global $polylang;
    245245
    246     if ($polylang && $post_id) {
     246    if ($polylang && $post_id && !is_admin()) {
    247247        $language = $polylang->model->get_post_language($post_id);
    248248        if ($language && ($language->locale != $locale)) {
Note: See TracChangeset for help on using the changeset viewer.