Changeset 47284
- Timestamp:
- 02/12/2020 11:42:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-privacy-policy-content.php
r46596 r47284 319 319 } 320 320 321 $current_screen = get_current_screen(); 321 322 $policy_page_id = (int) get_option( 'wp_page_for_privacy_policy' ); 322 323 323 if ( ! $policy_page_id|| $policy_page_id !== $post->ID ) {324 if ( 'post' !== $current_screen->base || $policy_page_id !== $post->ID ) { 324 325 return; 325 326 }
Note: See TracChangeset
for help on using the changeset viewer.