mirror of
git://develop.git.wordpress.org/
synced 2025-02-07 08:04:27 +01:00
225b6cbe78
This affects: * `Tests_Rewrite_OldDateRedirect` * `Tests_Rewrite_OldSlugRedirect` This commit updates the latter test class to create a post in the `wpSetUpBeforeClass()` method, for consistency with the former class. This ensures that both classes declare the `$post_id` property as `static`, to avoid a situation where non-static access is accidentally used when copying similar test cases from one class to the other. Follow-up to [34659], [42587], [54077]. See #55652. git-svn-id: https://develop.svn.wordpress.org/trunk@54078 602fd350-edb4-49c9-b593-d223f7449a82