Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

WordPressComSiteInfo initializer is missing data #521

@ctarda

Description

@ctarda

WordPressComSiteInfo is initialized with a raw dictionary.

The initializer assigns the site url like this:
url = remote["URL"] as? String ?? ""

It seems, however, that the url is contained in the key urlAfterRedirects

Also, the dictionary passed to this initializer contains keys for isJetpackActive, hasJetpack, isWordPress, isJetpackConnected and exists. Most (if not all) of these keys will be useful for the integration of WooCommerce's Unified Login

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions