Skip to content

Commit

Permalink
Apply basic styling to the Switch Back link that appears in the footer.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Jul 30, 2022
1 parent 477b80e commit e07ad1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user-switching.php
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ public function action_wp_footer() {
'redirect_to' => urlencode( self::current_url() ),
), self::switch_back_url( $old_user ) );
printf(
'<p id="user_switching_switch_on"><a href="%s">%s</a></p>',
'<p id="user_switching_switch_on" style="position:fixed;bottom:40px;padding:0;margin:0;left:10px;font-size:13px;z-index:99999;"><a href="%s">%s</a></p>',
esc_url( $url ),
esc_html( self::switch_back_message( $old_user ) )
);
Expand Down

0 comments on commit e07ad1d

Please sign in to comment.