wordpress-develop/tests/phpunit/tests/menu
Tonya Mork e83a341cc0 Coding Standards: Use static closures when not using $this.
When a closure does not use `$this`, it can be made `static` for improved performance.

Static closures are supported in PHP since PHP 5.4. ​

Props jrf, hellofromTonya, swissspidy, SergeyBiryukov.
See #53359.

git-svn-id: https://develop.svn.wordpress.org/trunk@51657 602fd350-edb4-49c9-b593-d223f7449a82
2021-08-26 12:57:08 +00:00
..
nav-menu.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
walker-nav-menu-edit.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
walker-nav-menu.php Coding Standards: Use static closures when not using $this. 2021-08-26 12:57:08 +00:00
wpAjaxMenuQuickSearch.php Tests: Reset $current_screen global between tests to avoid cross-test interdependencies. 2021-07-13 16:13:01 +00:00
wpExpandNavMenuPostData.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00