BUG on the last UPDATE
-
After i pointed that using the filter can fix the multisite dashboard link issue. I’m very happy you integrated in the plugin but…
I’m not sure how you test things out because it’s now broken
This is your current code$actions['backend'] = sprintf( '<a href="%1$s" class="edit">%2$s</a>', esc_url( get_admin_url( $blog_id, '/' . $this->new_login_slug() ) ), __( 'Dashboard' ) );
this is going to output a link like https://domain.com/wp-admin/your-hide-slug
You have to use get_home_url to avoid inserting /wp-admin/ on the url$actions['backend'] = sprintf(
'<a href="%1$s" class="edit">%2$s</a>',
esc_url( get_home_url( $blog_id, '/' . $this->new_login_slug() ) ),
__( 'Dashboard' )
);so it will outout https://domain.com/your-hide-slug
Dude… test things before going production…
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.