We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@since MU
1 parent 003a00e commit 35afd18Copy full SHA for 35afd18
tests/phpunit/HooksTest.php
@@ -107,6 +107,17 @@ public function testCanGetSince(): void {
107
self::assertSame( '2.3.0', $since );
108
}
109
110
+ function testCanGetSinceForMU(): void {
111
+ $hooks = $this->getFilters();
112
+ $hook = $hooks->find( 'wpmu_blogs_columns' );
113
+
114
+ self::assertInstanceOf( Hook::class, $hook );
115
116
+ $since = $hook->getDoc()->getSince();
117
118
+ self::assertSame( '3.0.0', $since );
119
+ }
120
121
/**
122
* @return array<string, array<int, string>>
123
* @phpstan-return array{
0 commit comments