{"id":1018,"date":"2008-11-05T19:16:53","date_gmt":"2008-11-05T17:16:53","guid":{"rendered":"http:\/\/planetozh.com\/blog\/?page_id=1018"},"modified":"2008-11-05T19:50:19","modified_gmt":"2008-11-05T17:50:19","slug":"stupid-plugin-never-authenticate-ie-everybody-logs-as-admin","status":"publish","type":"page","link":"https:\/\/planetozh.com\/blog\/my-projects\/stupid-plugin-never-authenticate-ie-everybody-logs-as-admin\/","title":{"rendered":"Stupid Plugin: Never Authenticate (ie Everybody Logs as admin)"},"content":{"rendered":"<p>When I&#39;m working on a new plugin, a new javascript bit or a new theme, and I want to test something across various browsers, I hate it when I have to login multiple times (once in Firefox, once in MSIE..) to view the same admin area.<\/p>\n<p>So, <strong>for test sites on <tt>localhost<\/tt> only<\/strong>, I made this quick plugin: <a href=\"http:\/\/downloads.wordpress.org\/plugin\/no-login.zip\">No Login<\/a>. The plugin short-circuits the login security tests and authenticates you as &#39;admin&#39;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"580\" height=\"118\" src=\"http:\/\/planetozh.com\/blog\/wp-content\/uploads\/2008\/11\/wp_ozh_no_login.gif\" alt=\"\" title=\"wp_ozh_no_login\" class=\"aligncenter size-full wp-image-1019\" srcset=\"https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2008\/11\/wp_ozh_no_login.gif 580w, https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2008\/11\/wp_ozh_no_login-300x61.gif 300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/p>\n<p>Once it&#39;s enabled, the plugin makes it clear that everybody can visit your admin area as an admin, so be sure not to play with it on your live blog, ok?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I&#39;m working on a new plugin, a new javascript bit or a new theme, and I want to test something across various browsers, I hate it when I have to login multiple times (once in Firefox, once in MSIE..) to view the same admin area. So, for test sites on localhost only, I made [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":241,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1018","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/pages\/1018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/comments?post=1018"}],"version-history":[{"count":0,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/pages\/1018\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/pages\/241"}],"wp:attachment":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/media?parent=1018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}