Make WordPress Core

Changeset 18998 for trunk/wp-app.php


Ignore:
Timestamp:
10/18/2011 08:44:39 PM (13 years ago)
Author:
ryan
Message:

Avoid 'Only variables should be passed by reference' warnings. Reverts [18110]. see #18975

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-app.php

    r18110 r18998  
    224224    function __construct() {
    225225
    226         $this->script_name = array_pop( explode( '/', $_SERVER['SCRIPT_NAME'] ) );
     226        $this->script_name = array_pop( $var_by_ref = explode( '/', $_SERVER['SCRIPT_NAME'] ) );
    227227        $this->app_base = site_url( $this->script_name . '/' );
    228228
Note: See TracChangeset for help on using the changeset viewer.