Commit fb8478c
committed
fix: fall back to subdomain for blogname when title is empty on duplication
When $args->title arrives empty (e.g. via WooCommerce checkout flow),
the duplicated site kept the template's blogname instead of the
customer's site name. Now falls back to the subdomain portion of the
site's domain, ensuring the blogname always reflects the new site.1 parent 458bc0c commit fb8478c
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
327 | | - | |
328 | | - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
329 | 334 | | |
330 | 335 | | |
331 | 336 | | |
| |||
0 commit comments