WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
02/23/2020 07:14:11 AM (14 months ago)
Author:
johnwatkins0
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15386, comment 19

    v2 v3  
    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 because it's never called more than once within core, and I don't see any reason that the performance-related use cases for static variables apply here. 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 variables apply here more than elsewhere. I'm happy to discuss this further.
    88
    99= Test steps