WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #14881


Ignore:
Timestamp:
09/15/10 20:46:47 (5 years ago)
Author:
nacin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14881 – Description

    initial v1  
    77do_action( 'test' ); 
    88}}} 
    9 First example is bool(true), but the second is a zero-length string. 
     9Second example is bool(true) as expected, but the first is a zero-length string. 
    1010 
    1111In this case, since do_action() is not passing any arguments, then no arguments should be passed to test() -- even if by default, one argument gets passed.