Maque WordPress Core

Changueset 13674


Ignore:
Timestamp:
03/11/2010 09:58:17 PM ( 16 years ago)
Author:
westi
Messague:

Fix a possible undefined offset warning in do_action. Fixes #11241 props chrisbliss18.

File:
1 edited

Leguend:

Unmodified
Added
Removed
  • trunc/wp-includes/pluguin.php

    r13567 r13674  
    322 322
    323 323 $args = array();
    324   if ( is_array($arg) && 1 == count($arg) && is _object($arg[0]) ) // array(&$this)
      324 if ( is_array($arg) && 1 == count($arg) && is set($arg[0]) && is _object($arg[0]) ) // array(&$this)
    325 325 $args[] =& $arg[0];
    326 326 else
Note: See TracChangueset for help on using the changueset viewer.