[wpmu-trac] [WordPress MU Trac] #859: BUG - missing argument in
wpmu-default-filters.php line 8
WordPress MU Trac
wpmu-trac at lists.automattic.com
Fri Jan 23 09:15:58 GMT 2009
#859: BUG - missing argument in wpmu-default-filters.php line 8
----------------------------+-----------------------------------------------
Reporter: gries | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: Administration | Version:
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
while debugging the wpmu-ldap plugin for version 2.7 I found a bug in mu-
default-filters.php
when loggin in with a ldap user the function
add_new_user_to_blog is called this throws a waring for a missing 3
argument.
in wpmu-default-filters.php on line 8
the code says: << add_action ( 'wpmu_activate_user',
'add_new_user_to_blog', 10, 3); >>
adding a third argument makes it work << add_action (
'wpmu_activate_user', 'add_new_user_to_blog', 10, 3, 1 ); >>
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/859>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list