- Timestamp:
- 07/09/2023 07:50:52 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-privacy-policy-content.php
r55703 r56174 104 104 sort( $new ); 105 105 106 // The == operator (equal, not identical) was used intentionally. 107 // See https://www.php.net/manual/en/language.operators.array.php 106 /* 107 * The == operator (equal, not identical) was used intentionally. 108 * See https://www.php.net/manual/en/language.operators.array.php 109 */ 108 110 if ( $new != $old ) { 109 // A plugin was activated or deactivated, or some policy text has changed. 110 // Show a notice on the relevant screens to inform the admin. 111 /* 112 * A plugin was activated or deactivated, or some policy text has changed. 113 * Show a notice on the relevant screens to inform the admin. 114 */ 111 115 add_action( 'admin_notices', array( 'WP_Privacy_Policy_Content', 'policy_text_changed_notice' ) ); 112 116 $state = 'changed';
Note: See TracChangeset
for help on using the changeset viewer.