Odd /wp-admin/admin-ajax.php entries showing in Wassup

/wp-admin/admin-ajax.php is the callback file for the WordPress Ajax API. I am assuming, but I am fairly confident, that your plugin is using that API (as it should be). It isn’t an issue. You have to have an AJAX call load some file. WordPress just standardized that location. Despite its location in /wp-admin that same … Read more

Disable the “remember me” to wp-admin

You can do it with JavaScript (jQuery) or outputbuffering. A combination of both (outputbuffering and JS) are in the script below. PHP: namespace WPSE77581; add_action( ‘plugins_loaded’, ‘WPSE77581\remove_forgetmenot’, 10, 0 ); function remove_forgetmenot() { add_action( ‘login_enqueue_scripts’, ‘WPSE77581\enqueue_script’, 10, 0 ); add_action( ‘login_head’, ‘WPSE77581\start_outputbuffer’, 1, 0 ); add_action( ‘login_footer’, ‘WPSE77581\end_outputbuffer’, 1, 0 ); } function enqueue_script() { … Read more

Making Comments, a sub_menu in admin menu

Well one way to do it would be to add a new sub menu page and just remove the old one. function wpse_80457_menu() { add_submenu_page( ‘edit.php’, ‘Comments’, ‘Comments’, ‘manage_options’, ‘edit-comments.php’); remove_menu_page( ‘edit-comments.php’ ); } add_action(‘_admin_menu’, ‘wpse_80457_menu’);