Make WordPress Core

Changes between Version 3 and Version 4 of Ticket #15386, comment 19


Ignore:
Timestamp:
02/23/2020 07:14:42 AM (5 years ago)
Author:
johnwatkins0
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15386, comment 19

    v3 v4  
    55This allows the filter in the `get_column_headers` function to be applied multiple times during page execution. Previously this function used a static variable to ensure the filter was only applied once per screen object per page load.
    66
    7 That static variable is not needed. The function doesn't need to maintain internal state, and I don't see any reason that the performance-related use cases for static variables apply here more than elsewhere. I'm happy to discuss this further.
     7That static variable is not needed. The function doesn't need to maintain internal state, and I don't see any reason that the performance-related use cases for static function variables apply here more than elsewhere. I'm happy to discuss this further.
    88
    99= Test steps