Opened 9 years ago
Closed 9 years ago
#1177 closed defect (bug) (fixed)
Switching to wporg-developer theme causes PHP warning
Reported by: | DJPaul | Owned by: | coffee2code |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Developer Hub | Keywords: | has-patch |
Cc: |
Description
When switching *to* the wporg-developer theme, a PHP warning occurs:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'DevHub\add_roles' not found or invalid function name in /srv/www/wordpress-develop/src/wp-includes/plugin.php on line
Patch attached which corrects the path to the function of that same name (I'm assuming that's what the original author intended, to set up the new role when the theme is activated).
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
In 1821: