Changeset 3146283
- Timestamp:
- 09/04/2024 07:39:44 AM (16 months ago)
- Location:
- login-rebuilder/trunk
- Files:
-
- 2 edited
-
login-rebuilder.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
login-rebuilder/trunk/login-rebuilder.php
r3146266 r3146283 5 5 Description: This plugin will create a new login page for your site. The new login page can be placed in any directory. You can also create separate login pages for administrators and for other users. 6 6 Author: tmatsuur 7 Version: 2.8. 47 Version: 2.8.5 8 8 Author URI: https://12net.jp/ 9 9 Text Domain: login-rebuilder … … 127 127 $this->user_agent = isset( $_SERVER['HTTP_USER_AGENT'] )? wp_specialchars_decode( $_SERVER['HTTP_USER_AGENT'], ENT_QUOTES ): 'None'; 128 128 129 $this->host_name = isset( $_SERVER['HTTP_HOST'] ) ? $_SERVER['HTTP_HOST']: 'Unknown'; // [2.8.3][2.6.2] $_SERVER['SERVER_NAME'] was wrong. 129 // [2.8.5][2.8.3][2.6.2] $_SERVER['SERVER_NAME'] was wrong. 130 if ( isset( $_SERVER['HTTP_HOST'] ) ) { 131 $this->host_name = $_SERVER['HTTP_HOST']; 132 } elseif ( isset( $_SERVER['SERVER_NAME'] ) ) { 133 $this->host_name = $_SERVER['SERVER_NAME']; 134 } else { 135 $this->host_name = gethostbyaddr( $_SERVER['SERVER_ADDR'] ); 136 } 137 130 138 $this->root_url = ( ( is_ssl() || force_ssl_admin() )? "https://": "http://" ) . $this->host_name; 131 139 $this->root_path = $_SERVER['DOCUMENT_ROOT']; -
login-rebuilder/trunk/readme.txt
r3146266 r3146283 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.6.1 8 Stable tag: 2.8. 48 Stable tag: 2.8.5 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 95 95 == Changelog == 96 96 97 = 2.8.5 = 98 * Bug fix: Adjusted what is applied to internally stored hostnames when SERVER['HTTP_HOST'] does not exist. 99 97 100 = 2.8.4 = 98 101 * Bug fix: Fixed a bug that prevented the settings page from displaying.
Note: See TracChangeset
for help on using the changeset viewer.