add_submenu_page & __FILE__ problem
Hi, I’m trying to add a page in the wp-admin for my component.
add_submenu_page( 'bp-core.php', __( 'Classifieds Setup', 'classifieds' ), __( 'Classifieds Setup', 'classifieds' ), 2, __FILE__, "bp_classifieds_siteadmin_screen" );
Once in the admin, I have the following problem :
The url of the link is
and should be (like for the other bp components I guess)
Is that a bug of buddypress ??
- The topic ‘add_submenu_page & __FILE__ problem’ is closed to new replies.