%s
%s
' . esc_html__( 'Did something on our website not work for you? Tell us and we will fix it or help you another way.', 'equivora' ) . '
' . "\n\n" . '', ) ); } $data['statement_page'] = (int) wp_insert_post( array( 'post_type' => 'page', 'post_status' => 'publish', 'post_title' => __( 'Accessibility Statement', 'equivora' ), 'post_content' => '', ) ); Equivora_Statement::save( $data ); self::back( admin_url( 'admin.php?page=' . self::MENU ), 'pages' ); } // --------------------------------------------------------------------- // Content check. // --------------------------------------------------------------------- /** * Renders the content check page. */ public static function check_page() { if ( ! current_user_can( 'edit_others_posts' ) ) { return; } $summary = Equivora_Checker::summary(); $rules = Equivora_Checker::rules(); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Read-only pagination. $paged = isset( $_GET['paged'] ) ? max( 1, absint( $_GET['paged'] ) ) : 1; $list = Equivora_Checker::posts_with_issues( $paged ); ?>/