Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #44100, comment 13


Ignore:
Timestamp:
06/19/2018 12:07:45 PM (7 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44100, comment 13

    initial v1  
    33
    44That's fine, it is a "contextual filtering" for `wp_dropdown_pages()` that is needed only when outputting the drop-down on the Privacy screen.
     5
     6Edit: actually, maybe better to move that and use `get_current_screen()->id`. Cleaner to keep all `add_filter()` in admin-filters.php.