Changeset 402892
- Timestamp:
- 06/30/2011 05:12:38 PM (15 years ago)
- Location:
- require-ssl-for-pages
- Files:
-
- 4 edited
-
tags/0.1/plugin.php (modified) (2 diffs)
-
tags/0.1/readme.txt (modified) (1 diff)
-
trunk/plugin.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
require-ssl-for-pages/tags/0.1/plugin.php
r402883 r402892 20 20 21 21 // Function to redirect to SSL version of the page if needed 22 add_action( 'template_redirect', 'bdn_redirect_ss h_pages', 1 );22 add_action( 'template_redirect', 'bdn_redirect_ssl_pages', 1 ); 23 23 24 24 // Filter the permalink … … 86 86 87 87 //Redirect if you try to visit a non-SSL page 88 function bdn_redirect_ss h_pages( ) {88 function bdn_redirect_ssl_pages( ) { 89 89 90 90 global $post; -
require-ssl-for-pages/tags/0.1/readme.txt
r402883 r402892 18 18 2. Activate the plugin 19 19 3. Make sure either FORCE_SSL_LOGIN or FORCE_SSL_ADMIN (or both) is defined true in your wp-config. 20 4. Check the box on the edit page screen to force it to be ss h.20 4. Check the box on the edit page screen to force it to be ssl. -
require-ssl-for-pages/trunk/plugin.php
r402883 r402892 20 20 21 21 // Function to redirect to SSL version of the page if needed 22 add_action( 'template_redirect', 'bdn_redirect_ss h_pages', 1 );22 add_action( 'template_redirect', 'bdn_redirect_ssl_pages', 1 ); 23 23 24 24 // Filter the permalink … … 86 86 87 87 //Redirect if you try to visit a non-SSL page 88 function bdn_redirect_ss h_pages( ) {88 function bdn_redirect_ssl_pages( ) { 89 89 90 90 global $post; -
require-ssl-for-pages/trunk/readme.txt
r402883 r402892 18 18 2. Activate the plugin 19 19 3. Make sure either FORCE_SSL_LOGIN or FORCE_SSL_ADMIN (or both) is defined true in your wp-config. 20 4. Check the box on the edit page screen to force it to be ss h.20 4. Check the box on the edit page screen to force it to be ssl.
Note: See TracChangeset
for help on using the changeset viewer.