Changeset 51657 for trunk/tests/phpunit/tests/post/revisions.php
- Timestamp:
- 08/26/2021 12:57:08 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/revisions.php
r51568 r51657 595 595 add_filter( 596 596 'wp_revisions_to_keep', 597 function () use ( $expected ) {597 static function () use ( $expected ) { 598 598 return $expected; 599 599 } … … 620 620 add_filter( 621 621 'wp_revisions_to_keep', 622 function () use ( $generic ) {622 static function () use ( $generic ) { 623 623 return $generic; 624 624 } … … 631 631 add_filter( 632 632 "wp_{$post->post_type}_revisions_to_keep", 633 function () use ( $expected ) {633 static function () use ( $expected ) { 634 634 return $expected; 635 635 }
Note: See TracChangeset
for help on using the changeset viewer.