Make WordPress Core

Ticket #29583: 29583-class-wp-error.php-brianlayman.patch

File 29583-class-wp-error.php-brianlayman.patch, 425 bytes (added by BrianLayman, 9 years ago)

My version of the fix to get rid of the notices...

  • class-wp-error.php

     
    7575        * @return mixed Property.
    7676        */
    7777       public function __get( $name ) {
    78                return $this->$name;
     78               return ( isset( $this->$name ) ? $this->$name : null );
    7979       }
    8080
    8181       /**