Repository navigation
Commit f3e0f6b
committed
Tests: Use null coalescing operator over
This commit replaces verbose `isset()`-and-return blocks with the `??` operator in the object cache helper and font-face test dataset.
Follow-up to [40561], [56500], [59260].
Props Soean, mukesh27.
See #64894.
git-svn-id: https://develop.svn.wordpress.org/trunk@62870 602fd350-edb4-49c9-b593-d223f7449a82isset() checks.1 parent 6e37bf1 commit f3e0f6b
2 files changed
Lines changed: 4 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2364 | 2364 | | |
2365 | 2365 | | |
2366 | 2366 | | |
2367 | | - | |
2368 | | - | |
2369 | | - | |
2370 | | - | |
2371 | | - | |
| 2367 | + | |
2372 | 2368 | | |
2373 | 2369 | | |
2374 | 2370 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
| 311 | + | |
316 | 312 | | |
317 | 313 | | |
318 | 314 | | |
| |||
397 | 393 | | |
398 | 394 | | |
399 | 395 | | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
| 396 | + | |
405 | 397 | | |
406 | 398 | | |
407 | 399 | | |
| |||
488 | 480 | | |
489 | 481 | | |
490 | 482 | | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
| 483 | + | |
496 | 484 | | |
497 | 485 | | |
0 commit comments