mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Avoid 'Only variables should be passed by reference' warnings. Reverts [18110]. see #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@18998 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -223,7 +223,7 @@ class AtomServer {
|
||||
*/
|
||||
function __construct() {
|
||||
|
||||
$this->script_name = array_pop( explode( '/', $_SERVER['SCRIPT_NAME'] ) );
|
||||
$this->script_name = array_pop( $var_by_ref = explode( '/', $_SERVER['SCRIPT_NAME'] ) );
|
||||
$this->app_base = site_url( $this->script_name . '/' );
|
||||
|
||||
$this->selectors = array(
|
||||
|
||||
Reference in New Issue
Block a user