Ticket #11916: wp-app.patch
File wp-app.patch, 546 bytes (added by , 15 years ago) |
---|
-
wp-app.php
old new 226 226 function AtomServer() { 227 227 228 228 $this->script_name = array_pop(explode('/',$_SERVER['SCRIPT_NAME'])); 229 $this->app_base = get_ bloginfo('url') . '/' . $this->script_name . '/';229 $this->app_base = get_option('siteurl') . '/' . $this->script_name . '/'; 230 230 if ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) { 231 231 $this->app_base = preg_replace( '/^http:\/\//', 'https://', $this->app_base ); 232 232 }