This is something I am interested in myself.
I’m not sure how customizable the WP admin bar is when adding HTML attributes.
The only thing I can think of is removing the item and adding it with rel=nofollow.
Currently I’ve modified the plugin’s source code – which is a NO-NO.
Thank you @prashantvatsh!!
Our login page is a 404, so any meta in it has no effect.
So you want to remove the login link and want to add it back with this attribute right?
Actually it would be a work-around.
I am looking for the clean solution.
Why you didn’t tried it with jquery ? In this way you will not need to edit any plugin also.
You can try something like this : https://stackoverflow.com/questions/25306815/jquery-add-attribute-to-anchor-tag-in-specific-div-tag-with-id-pattern-content-c
Just have to use your classes of login and register links.
Thanks
> Why you didn’t tried it with jquery ?
Maybe search robots will not run JavaScripts.