record(); } /** * Record acceptance by a user. * * @param \WP_User $user Accepting user. * @return array */ public function accept( $user ) { $record = array( 'version' => self::VERSION, 'user_id' => (int) $user->ID, 'name' => $user->display_name, 'time' => time(), ); update_option( self::OPTION, $record, false ); return $record; } /** * The terms, as [ heading, body ] pairs. Draft for lawyer review. * * @return array */ public static function sections() { return array( array( __( 'A tool, not a lawyer', 'goconsent' ), __( 'GoConsent helps with privacy laws, but it is not legal advice and does not guarantee compliance. Laws change and every business is different. Have a lawyer review your privacy policy and setup.', 'goconsent' ), ), array( __( 'You stay responsible', 'goconsent' ), __( 'You decide how GoConsent is set up, what wording you publish and which tools run on your site. You are responsible for your site’s compliance with the laws that apply to you.', 'goconsent' ), ), array( __( 'How the scanner works', 'goconsent' ), __( 'The scanner checks a sample of your public pages once a day. It can miss tools that load in unusual ways, or that send data from their own servers.', 'goconsent' ), ), array( __( 'Suggested wording', 'goconsent' ), __( 'Suggested wording is a starting point to adapt, not finished legal text.', 'goconsent' ), ), array( __( 'No warranty and limited liability', 'goconsent' ), __( 'GoConsent is provided “as is,” without warranties of any kind. To the fullest extent the law allows, RoxxiStudios LLC is not liable for fines, claims, damages or losses related to its use. Total liability is limited to the amount you paid for GoConsent in the 12 months before the claim.', 'goconsent' ), ), array( __( 'Your data', 'goconsent' ), __( 'Traffic statistics are stored on your own server. No cookies are set for them, no IP addresses are stored and nothing is sent to RoxxiStudios.', 'goconsent' ), ), array( __( 'Changes to these terms', 'goconsent' ), __( 'If these terms change, you will be asked to accept them again before protection continues to be updated.', 'goconsent' ), ), ); } }