Commit 82d47f1
committed
Editor: Correct error message in
When attempting to unregister a non-existent block template, the error message will now include the template name.
Follow-up to [59073].
Props mukesh27, shailu25.
Fixes #64072.
git-svn-id: https://develop.svn.wordpress.org/trunk@61090 602fd350-edb4-49c9-b593-d223f7449a82WP_Block_Templates_Registry::unregister().1 parent 80156af commit 82d47f1
File tree
2 files changed
+35
-12
lines changed- src/wp-includes
- tests/phpunit/tests
2 files changed
+35
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 63 | + | |
| 64 | + | |
68 | 65 | | |
69 | 66 | | |
70 | 67 | | |
| |||
221 | 218 | | |
222 | 219 | | |
223 | 220 | | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | 221 | | |
231 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
232 | 227 | | |
233 | 228 | | |
234 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
481 | 509 | | |
482 | 510 | | |
483 | 511 | | |
| |||
0 commit comments