/wp-admin/ – this link showing me “Index of /wp-admin”/ instead of dashboard
/wp-admin/ – this link showing me “Index of /wp-admin”/ instead of dashboard
/wp-admin/ – this link showing me “Index of /wp-admin”/ instead of dashboard
is exposed wp-admin site a serious security vulnerability
insert an admin table inside another admin page
Mail sent from WP uses wp_mail() function. There is a filter that you can use before the mail is sent to filter the arguments used in the wp_mail() function, including the $to value. See https://developer.wordpress.org/reference/hooks/wp_mail/ Look at the example code on that page to get an idea of how to block (or redirect) all mail … Read more
Install the Query Monitor plugin if you can. This is the most powerful WordPress debug plugin that can show all the issues including what is taking how much time to load. Once installed and activated, this plugin shows on the top bar, both on the front end and the admin panel. Once you click the … Read more
The fundamental issue is that MUI is probably not meant to be used in an environment where there are already styles like this. It’s supposed to be the base layer. The WordPress admin has its own styles and it’s highly unusual to try and use a completely different UI framework inside of it. These types … Read more
If you are talking about the “Howdy” message shown on the admin black bar after login, you can use code similar to this to filter that information. add_action(‘admin_bar_menu’, ‘lets_change_howdy’, 11); function lets_change_howdy($wp_admin_bar) { $user_id = get_current_user_id(); $current_user = wp_get_current_user(); $profile_url = get_edit_profile_url($user_id); if (0 != $user_id) { $avatar = get_avatar($user_id, 28); $howdy = sprintf(__(‘Welcome, %1$s’), … Read more
Your code is simply stating CSS properties, but they aren’t defining anything. They’re not attached to any HTML tag, class, or ID. Assuming your “mycustomurl” is a placeholder here for an actual URL that resolves to an image file, I would think that what you want is for these properties to be for the HTML … Read more
You might try renaming the folder that contains your current theme. That should get you back to a default ‘Twenty-xxx’ theme, and then troubleshoot from there. Initial thoughts are perhaps some external call via your theme to the Canva site, so that’s why you might try disabling the current theme by renaming it’s folder.
You could proceed like that : add_filter(“login_redirect”, “wpse_113875_login_redirect”, 10, 3); function wpse_113875_login_redirect($redirect_to, $request, $user) { if(is_array($user->roles)) if(in_array(‘administrator’, $user->roles)) return site_url(‘/wp-admin/’); return home_url(); } This will use the WP login system and redirect users according to their role after login. I think this is easier than building your own script in this case. You could easily … Read more