Navigation menu broken when using Event Manager
-
Navigation Menus appear blank when using Event Manager with WordPress2.2
The EventManager plugin has an unexpected consequence of breaking the navigation system in WordPress
when upgrading WordPress to version 2.2. This is apparently due to the “apply_filters(‘the_title’, $page->post_title)”
entry that was added to wp-includes/classes.php in WordPress2.2. The EventManager has it’s own entry for
“add_filter(‘the_title’, ’em_remove_title’)” in wp-content/plugins/EventManager/includes/em-hooks.phpThe ‘title’ of pages in the navigation bars is set to blank (i.e., “”) due to the EventManager add_filter.
The lines that changed in wp-includes/classes.php are listed below:
WordPress 2.2 (about line 517) $output .= $indent . ‘<li class=”‘ . $css_class . ‘”>ID) . ‘” title=”‘ . attribute_escape(apply_filters(‘the_title’, $page->post_title)) . ‘”>’ . apply_filters(‘the_title’, $page->post_title) . ‘‘;
WordPress 2.1.2 (about line 517) $output .= $indent . ‘<li class=”‘ . $css_class . ‘”>ID) . ‘” title=”‘ . attribute_escape($page->post_title) . ‘”>’ . $page->post_title . ‘‘;
- The topic ‘Navigation menu broken when using Event Manager’ is closed to new replies.