[wp-trac] [WordPress Trac] #57887: The WordPress core does not support calling non-static methods for hook filters and actions within a namespace
WordPress Trac
noreply at wordpress.org
Wed Mar 8 17:00:05 UTC 2023
#57887: The WordPress core does not support calling non-static methods for hook
filters and actions within a namespace
-------------------------------+-----------------------------------------
Reporter: markcarbonell2013 | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: invalid
Keywords: close | Focuses: rest-api, coding-standards
-------------------------------+-----------------------------------------
Comment (by TobiasBg):
Hi!
Just for completeness: @hellofromTonya, I believe that @markcarbonell2013
has issues with **non**-static methods, but @jrf's remarks still apply.
@markcarbonell2013: It would indeed be helpful to see the full error
message that is raised here, and, to rule out influences from the Code
Snippets plugin, it would be good to test this directly in a custom
plugin. This might already help you finding the problem.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57887#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list