[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:09:57 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 hellofromTonya):

 Replying to [comment:3 TobiasBg]:
 > Hi!
 >
 > Just for completeness: @hellofromTonya, I believe that
 @markcarbonell2013 has issues with **non**-static methods, but @jrf's
 remarks still apply.

 Well duh on my part. You're right @TobiasBg. Imagine me doing a facepalm
 right now lol

 Apologies @markcarbonell2013 for my misunderstanding.

 I do still think this report is best reported in the
 [https://wordpress.org/support/forums/ Support Forum]. As @TobiasBg,
 providing additional information can help folks to help you.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57887#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list