id : ''; if ( 'plugins' !== $id && false === strpos( $id, Screens::SLUG ) ) { return; } $key = Requirements::NOTICE_TRANSIENT . '_' . get_current_user_id(); $notice = get_transient( $key ); if ( ! is_array( $notice ) ) { return; } delete_transient( $key ); foreach ( (array) $notice['problems'] as $problem ) { echo '

' . esc_html( (string) $problem ) . '

'; } if ( ! empty( $notice['others'] ) ) { echo '

' . esc_html__( 'Another consent plugin is active. Running two consent banners produces conflicting records. Deactivate one before activating Consiva.', 'consiva-ai' ) . ' ' /* translators: %s: plugin names. */ . esc_html( sprintf( __( 'Found: %s.', 'consiva-ai' ), implode( ', ', array_map( 'strval', (array) $notice['others'] ) ) ) ) . '

'; } } }