Misuse of admin url redirection
-
Hello
I can see you’re creating an admin url in a bad way :
get_bloginfo(‘wpurl’) . ‘/wp-admin/admin.php?page=TweetOldPost
instead of
admin_url(‘admin.php?page=TweetOldPost’ );You have to include the full url, not only the file.
Can you do this everywhere ?
Why am i asking this ? Not only to be “WordPress Protocoly Correct”, but there is a filter hook in admin_url() and i need (and others plugin authors) to hook the content, and i need to read the params :/
Thanks !
- The topic ‘Misuse of admin url redirection’ is closed to new replies.