Plugin Directory

Opened 7 years ago

#1283 new defect

Magic fields write panel menu's overwrite other menu's

Reported by: intermesh Owned by:
Priority: normal Severity: normal
Plugin: not-listed Keywords: magic-fields


When we installed magic-fields and created about 6 write panels we noticed the "Pages" menu disappeared. We discovered this happened because wordpress doesn't update a variable that other plugins use to insert new menu's. The fix was made in RCCWP_Menu.php at line 374:


  • Magic fields inserts new menus but doesn't update $_wp_last_object_menu
  • This may conflict with other plugins that add menus like the Shopp
  • plugin. */

foreach ($menu as $k => $v) {
if($k > 5) $new_menu[$k+$offset]=$v;

foreach ($menu as $k => $v) {

if($k > 5) {

global $_wp_last_object_menu;
$_wp_last_object_menu += $offset;



We hope you can include this fix in the next version.

Change History (0)

Note: See TracTickets for help on using tickets.