# elementor/trunk/migrations/operations/border-radius-to-border-radius-v2.json

Elementor Website Builder – more than just a page builder, version trunk. 45 lines.

- Page: https://pluginprobe.com/plugins/elementor/trunk/code/migrations/operations/border-radius-to-border-radius-v2.json
- Raw: https://pluginprobe.com/plugins/elementor/trunk/raw/migrations/operations/border-radius-to-border-radius-v2.json
- Modified: 2026-07-28T13:36:36+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/trunk/code/migrations/operations/border-radius-to-border-radius-v2.json#L10-L20`.

```json
{
  "up": [
    {
      "op": { "fn": "set", "path": "value.top-left", "key": "start-start" },
      "condition": { "fn": "exists", "path": "value.top-left" }
    },
    {
      "op": { "fn": "set", "path": "value.top-right", "key": "start-end" },
      "condition": { "fn": "exists", "path": "value.top-right" }
    },
    {
      "op": { "fn": "set", "path": "value.bottom-right", "key": "end-end" },
      "condition": { "fn": "exists", "path": "value.bottom-right" }
    },
    {
      "op": { "fn": "set", "path": "value.bottom-left", "key": "end-start" },
      "condition": { "fn": "exists", "path": "value.bottom-left" }
    },
    {
      "op": { "fn": "set", "path": "$$type", "value": "border-radius-v2" }
    }
  ],
  "down": [
    {
      "op": { "fn": "set", "path": "value.start-start", "key": "top-left" },
      "condition": { "fn": "exists", "path": "value.start-start" }
    },
    {
      "op": { "fn": "set", "path": "value.start-end", "key": "top-right" },
      "condition": { "fn": "exists", "path": "value.start-end" }
    },
    {
      "op": { "fn": "set", "path": "value.end-end", "key": "bottom-right" },
      "condition": { "fn": "exists", "path": "value.end-end" }
    },
    {
      "op": { "fn": "set", "path": "value.end-start", "key": "bottom-left" },
      "condition": { "fn": "exists", "path": "value.end-start" }
    },
    {
      "op": { "fn": "set", "path": "$$type", "value": "border-radius" }
    }
  ]
}

```
