mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17771 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -216,12 +216,12 @@ class AtomServer {
|
||||
var $do_output = true;
|
||||
|
||||
/**
|
||||
* PHP4 constructor - Sets up object properties.
|
||||
* Constructor - Sets up object properties.
|
||||
*
|
||||
* @since 2.2.0
|
||||
* @return AtomServer
|
||||
*/
|
||||
function AtomServer() {
|
||||
function __construct() {
|
||||
|
||||
$this->script_name = array_pop( $var_by_ref = explode( '/', $_SERVER['SCRIPT_NAME'] ) );
|
||||
$this->app_base = site_url( $this->script_name . '/' );
|
||||
|
||||
Reference in New Issue
Block a user