Remove wp-url dependency on the front end

XMLWordPrintable

    • Type: Task
    • Resolution: Released
    • Priority: Should have
    • 2.44.1
    • None

      We can probably avoid this dependency as we only use addQueryArgs on the frontend. The apiFetch usages are already replaced with a regular fetch there.

      I tried out replacing addQueryArgs with a much simpler implementation hereĀ https://github.com/greenpeace/planet4-plugin-gutenberg-blocks/compare/less-libs#diff-ae2ad94f551ebb95bd44436991812dac297cd74561b64f68bc2d38ea05bf73c5R1

            Assignee:
            Pieter Vincent (Inactive)
            Reporter:
            Pieter Vincent (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: