Make WordPress Core

Changeset 52436

Timestamp:
01/04/2022 02:23:56 PM (3 years ago)
Author:
audrasjb
Message:

REST API: Add unit tests for the 404 template slug handler.

Props ockham, SergeyBiryukov, hellofromTonya, rachelbaker.
Fixes #54680.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/wpRestTemplatesController.php

    r52399 r52436  
    384384                'has_theme_file' => false,
    385385                'is_custom'      => true,
     386
     387
     388
     389
     390
     391
     392
     393
     394
     395
     396
     397
     398
     399
     400
     401
     402
     403
     404
     405
     406
     407
     408
     409
     410
     411
     412
     413
     414
     415
     416
     417
     418
     419
     420
     421
     422
     423
     424
     425
     426
     427
     428
     429
     430
     431
    386432                'author'         => self::$admin_id,
    387433            ),
Note: See TracChangeset for help on using the changeset viewer.