Changeset 43571 for trunk/tests/phpunit/tests/post/revisions.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/revisions.php
r42343 r43571 323 323 function test_revision_view_caps_cpt() { 324 324 register_post_type( 325 $this->post_type, array( 325 $this->post_type, 326 array( 326 327 'capability_type' => 'event', 327 328 'map_meta_cap' => true, … … 364 365 function test_revision_restore_caps_cpt() { 365 366 register_post_type( 366 $this->post_type, array( 367 $this->post_type, 368 array( 367 369 'capability_type' => 'event', 368 370 'map_meta_cap' => true, … … 409 411 function test_revision_restore_caps_before_publish() { 410 412 register_post_type( 411 $this->post_type, array( 413 $this->post_type, 414 array( 412 415 'capability_type' => 'post', 413 416 'capabilities' => array( … … 468 471 function test_revision_diff_caps_cpt() { 469 472 register_post_type( 470 $this->post_type, array( 473 $this->post_type, 474 array( 471 475 'capability_type' => 'event', 472 476 'map_meta_cap' => true,
Note: See TracChangeset
for help on using the changeset viewer.