Changeset 8069 for trunk/wp-includes/functions.php
- Timestamp:
- 06/11/2008 05:25:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r7999 r8069 1769 1769 return ( 'on' == strtolower($_SERVER['HTTPS']) ) ? true : false; 1770 1770 } 1771 1772 function force_ssl_login($force = '') { 1773 static $forced; 1774 1775 if ( '' != $force ) { 1776 $old_forcded = $forced; 1777 $forced = $force; 1778 return $old_forced; 1779 } 1780 1781 return $forced; 1782 } 1783 1784 function force_ssl_admin($force = '') { 1785 static $forced; 1786 1787 if ( '' != $force ) { 1788 $old_forcded = $forced; 1789 $forced = $force; 1790 return $old_forced; 1791 } 1792 1793 return $forced; 1794 } 1795 1771 1796 ?>
Note: See TracChangeset
for help on using the changeset viewer.