Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter gri0

    (@gri0)

    The problem exist if no menu aded. Solved by creating the menu.

    Plugin Author Chouby

    (@chouby)

    Thanks for the report. I will fix that in the next release.

    This should be fixing it:

    --- frontend-nav-menu.php	2013-11-20 23:25:12.661878752 +0200
    +++ frontend-nav-menu-fixed.php	2013-11-20 23:23:21.495451201 +0200
    @@ -138,14 +138,14 @@
     	 * @return array|bool modified list of nav menus locations
     	 */
     	public function nav_menu_locations($menus) {
    -		if (is_array($menus))
    +		if (is_array($menus)) {
     			$theme = get_option('stylesheet');
    
     			foreach ($menus as $loc => $menu) {
     				if (!empty($this->options['nav_menus'][$theme][$loc][$this->curlang->slug]))
     					$menus[$loc] = $this->options['nav_menus'][$theme][$loc][$this->curlang->slug];
     			}
    -
    +		}
     		return $menus;
     	}

    Plugin Author Chouby

    (@chouby)

    Yes that’s it. You can use the development version (1.2.3.2) which fixes this issue.
    http://downloads.wordpress.org/plugin/polylang.zip

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem after update from 1.2 to 1.2.3’ is closed to new replies.