WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51081, comment 2


Ignore:
Timestamp:
08/21/2020 01:55:33 AM (4 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51081, comment 2

    initial v1  
    2222I don't think we realistically can (or need to) require all of the admin files in the Customizer, so I'm not sure if anything needs changing here.
    2323
    24 We could, however add some documentation for the `display_post_states` to explain that it is now also applied in the Customizer context, so if any admin functions are used, they need to be checked for existence.
     24We could, however add some documentation for the `display_post_states` filter to explain that it is now also applied in the Customizer context, so if any admin functions are used, they need to be checked for existence.