WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35357, comment 15


Ignore:
Timestamp:
01/08/2016 03:28:17 AM (5 years ago)
Author:
chriscct7
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35357, comment 15

    initial v1  
    11In 35357.4.patch:
    22
    3 - Adjusted did_filter to work similar to did_action to count the number of times a filter is called
     3- Adjusted did_filter to work similar to did_action to count the number of times a filter is called by having it wrap did_action and adjusting the filter run functions to count the times a filter is called the same way they do in the action call functions
    44- Adjusted did_filter unit tests to test the number of times a filter that is called 1 and 2 times and one that is never called
    55- Introduced filter_functions_run to count the number of functions run on a filter