There is no guarantee that any browser would honor or use the second coded class.
The preg_replaces are incorrect in functions/bfa_new_wp3_menus.php:
Old Code:
Code:
$newmenu = preg_replace("/<li id=\"(.*?)\n<ul class=\"sub-menu\">/i","<li class=\"rMenu-expand \\1\n <ul class=\"rMenu-ver sub-menu\">",$newmenu);
$newmenu = preg_replace("/<li id=\"(.*?)\n\t<ul class=\"sub-menu\">/i","<li class=\"rMenu-expand \\1\n\t <ul class=\"rMenu-ver sub-menu\">",$newmenu);
$newmenu = preg_replace("/<li id=\"(.*?)\n\t\t<ul class=\"sub-menu\">/i","<li class=\"rMenu-expand \\1\n\t\t <ul class=\"rMenu-ver sub-menu\">",$newmenu);
$newmenu = preg_replace("/<li id=\"(.*?)\n\t\t\t<ul class=\"sub-menu\">/i","<li class=\"rMenu-expand \\1\n\t\t\t <ul class=\"rMenu-ver sub-menu\">",$newmenu);
$newmenu = preg_replace("/<li id=\"(.*?)\n\t\t\t\t<ul class=\"sub-menu\">/i","<li class=\"rMenu-expand \\1\n\t\t\t\t <ul class=\"rMenu-ver sub-menu\">",$newmenu);
$newmenu = preg_replace("/<li id=\"(.*?)\n\t\t\t\t\t<ul class=\"sub-menu\">/i","<li class=\"rMenu-expand \\1\n\t\t\t\t\t <ul class=\"rMenu-ver sub-menu\">",$newmenu);
$newmenu = preg_replace("/<li id=\"(.*?)\n\t\t\t\t\t\t<ul class=\"sub-menu\">/i","<li class=\"rMenu-expand \\1\n\t\t\t\t\t\t <ul class=\"rMenu-ver sub-menu\">",$newmenu);
$newmenu = preg_replace("/<li id=\"(.*?)\n\t\t\t\t\t\t\t<ul class=\"sub-menu\">/i","<li class=\"rMenu-expand \\1\n\t\t\t\t\t\t\t <ul class=\"rMenu-ver sub-menu\">",$newmenu);
$newmenu = preg_replace("/<li id=\"(.*?)\n\t\t\t\t\t\t\t\t<ul class=\"sub-menu\">/i","<li class=\"rMenu-expand \\1\n\t\t\t\t\t\t\t\t <ul class=\"rMenu-ver sub-menu\">",$newmenu);
$newmenu = preg_replace("/<li id=\"(.*?)\n\t\t\t\t\t\t\t\t\t<ul class=\"sub-menu\">/i","<li class=\"rMenu-expand \\1\n\t\t\t\t\t\t\t\t\t <ul class=\"rMenu-ver sub-menu\">",$newmenu);
New Code:
Code:
$newmenu = preg_replace("/<li id=\"(.*)\" class=\"(.*?)\">(.*)\n(.*)<ul class=\"sub-menu\">/i","<li class=\"rMenu-expand \\2\">\\3\n<ul class=\"rMenu-ver sub-menu\">",$newmenu);