User Tools

Site Tools


guides:wordpress:adminmenubar

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
guides:wordpress:adminmenubar [2016/06/25 01:37]
michaelc
guides:wordpress:adminmenubar [2016/06/25 01:44]
michaelc
Line 66: Line 66:
  
       if (($adminbar!='​true'​) && ($is_editor)) {       if (($adminbar!='​true'​) && ($is_editor)) {
-         wp_redirect(home_url(add_query_arg( '​adminbar',​ '​true'​ )));+         wp_safe_redirect(home_url(add_query_arg( '​adminbar',​ '​true'​ )));
          ​exit();​          ​exit();​
       }       }
guides/wordpress/adminmenubar.txt · Last modified: 2016/06/28 11:09 by michaelc