Skip to content

Commit 4b8a0db

Browse files
author
Jon Waldstein
committed
fix: include the correct path
1 parent 7ac7b5b commit 4b8a0db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ValueObjects/ScreenCondition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private function validateCondition($condition)
5050

5151
if ($wpScreenProperties === null) {
5252
if (! class_exists('WP_Screen')) {
53-
require_once ABSPATH . 'wp-admin/includes/screen.php';
53+
require_once ABSPATH . 'wp-admin/includes/class-wp-screen.php';
5454
}
5555

5656
$wpScreenProperties = get_class_vars('WP_Screen');

0 commit comments

Comments
 (0)