[wp-trac] [WordPress Trac] #9082: wp_page_menu,
home page link isn't use link_before and link_after arguments
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 10 07:21:44 GMT 2009
#9082: wp_page_menu, home page link isn't use link_before and link_after arguments
--------------------------+-------------------------------------------------
Reporter: satranc | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
When I wanted to use this filter;
function aa_wp_page_menu_args($args) {
$args['link_before']='<span>';
$args['link_after']='</span>';
return $args;
}
add_filter('wp_page_menu_args','aa_wp_page_menu_args');
for wp_page_menu, home page didn't took arguments.
--
Ticket URL: <http://trac.wordpress.org/ticket/9082>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list