[wp-trac] [WordPress Trac] #17817: do_action/apply_filters/etc. recursion on same filter kills underlying call

WordPress Trac noreply at wordpress.org
Mon Aug 24 02:06:57 UTC 2015


#17817: do_action/apply_filters/etc. recursion on same filter kills underlying call
-------------------------------------------------+-------------------------
 Reporter:  kernfel                              |       Owner:  pento
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.4
Component:  Plugins                              |     Version:  2.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-unit-tests has-patch needs-      |     Focuses:
  refresh needs-docs                             |
-------------------------------------------------+-------------------------
Changes (by DrewAPicture):

 * keywords:  has-unit-tests has-patch needs-refresh => has-unit-tests has-
     patch needs-refresh needs-docs


Comment:

 Replying to [comment:135 pento]:
 > * DrewAPicture - should each method in `WP_Hook` have an `@since` doc,
 or is the one on the class enough?

 The class + every method, every property.

 * Standards for methods (Summary, `@since`, `@access`, `@param`,
 `@return`): https://make.wordpress.org/core/handbook/best-practices
 /inline-documentation-standards/php/#1-functions-and-class-methods

 * Standards for properties (Summary, `@since`, `@access`, `@var`):
 https://make.wordpress.org/core/handbook/best-practices/inline-
 documentation-standards/php/#2-class-properties

 If we can get a refreshed patch in place, I can help with the docs.

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


More information about the wp-trac mailing list