self::SLUG, 'aivor_notice' => 'cleared', ), admin_url( 'admin.php' ) ) ); exit; } /** * Gibt die Seite aus. * * @return void */ public static function render(): void { if ( ! current_user_can( Plugin::CAPABILITY ) ) { wp_die( esc_html__( 'You are not allowed to do this.', 'aivor-content-import' ) ); } // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nur Anzeige einer Rueckmeldung. $notice = isset( $_GET['aivor_notice'] ) ? sanitize_key( wp_unslash( $_GET['aivor_notice'] ) ) : ''; if ( 'cleared' === $notice ) { printf( '

%s

', esc_html__( 'Import log cleared.', 'aivor-content-import' ) ); } $entries = EventLog::all(); $format = get_option( 'date_format' ) . ' ' . get_option( 'time_format' ); ?>


0 && get_post( $post_id ) instanceof \WP_Post ) : ?> —