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

WordPress Trac noreply at wordpress.org
Wed Mar 16 21:03:41 UTC 2016


#17817: do_action/apply_filters/etc. recursion on same filter kills underlying call
-------------------------------------------------+-------------------------
 Reporter:  kernfel                              |       Owner:
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  Future
Component:  Plugins                              |  Release
 Severity:  normal                               |     Version:  2.2
 Keywords:  has-unit-tests has-patch needs-      |  Resolution:
  testing                                        |     Focuses:
-------------------------------------------------+-------------------------

Comment (by dougwollison):

 Replying to [comment:178 khag7]:
 > [attachment:17817.10.2.diff] had an issue, [attachment:17817.10.3.diff]
 fixes it.
 >
 > It looks like @dougwollison copy and pasted the code for that file so it
 was in there twice. First 480 lines were identical to next 480 lines.

 Thanks, legitimately not sure how I managed that.

 By the way, would it be worth adding coding-standards cleanup to
 plugins.php while we're at this? Fixing brace-less if/foreach/while blocks
 mainly.

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


More information about the wp-trac mailing list