Although I don’t see the point. You could “disable” that action directly by going to the following directory: wp-includes/pluggable.php
Then search for “wp_logout” and comment out out as follows:
function wp_logout() {
//wp_clear_auth_cookie();
//do_action('wp_logout');
}
Not sure exactly where you want to remove the button from, but if it’s from the admin bar you could always check out: how to add or remove link from the admin bar
Thread Starter
Josh
(@mcfarljw)
I finally tracked the problem down. The Yoast SEO plugin was suppressing the category base slug which was in turn conflicting with the pages that had duplicate slugs.
I just clicked to disable that feature and now all is back in order. Not sure if it’s on by default, but something I’ve surely taken note of.
Thread Starter
Josh
(@mcfarljw)
Hmm, yes going back to the default permalink structure does fix this. The category base by default should go to index.php/category/{category_name}/ which shouldn’t overlap with a base structure using index.php/{post_name}. Correct?