Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] GS 3.1 beta - encoding issues
#2
Another encoding issue that is still happening (we discussed in other threads but hasn't been fixed), this one with the menu (generated by get_navigation()). Problems with backslashes, double quotes...

I suggest you try this fix:
Edit admin/inc/theme_functions.php, line 613. Replace:
Code:
$menu .= '<li class="'. $classes .'"><a href="'. find_url($page['url'],$page['parent']) . '" title="'. $page['title'] .'">'.$page['menu'].'</a></li>'."\n";
by:
Code:
$menu .= '<li class="'. $classes .'"><a href="'. find_url($page['url'],$page['parent']) . '" title="'. encode_quotes(cl($page['title'])) .'">'.strip_decode($page['menu']).'</a></li>'."\n";
(What we've done here is changing $page['title'] to encode_quotes(cl($page['title'])) and $page['menu'] to strip_decode($page['menu']))

Note that you also have to do my previous suggested patch (to basic.php)

Please people test and tell me if it works for you...
Reply


Messages In This Thread
[SOLVED] GS 3.1 beta - encoding issues - by Carlos - 2012-02-04, 20:22:24



Users browsing this thread: 1 Guest(s)