Skip to content

Commit 6e91bb6

Browse files
authored
Merge pull request #359 from skaut/php-7.4-fix
Removed the use of str_ends_with
2 parents 8d56039 + d1a4b54 commit 6e91bb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/php/src/admin/class-users-management.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function () {
159159
* @return void
160160
*/
161161
public static function enqueue_scripts_and_styles( $hook_suffix ) {
162-
if ( ! str_ends_with( $hook_suffix, SKAUTIS_INTEGRATION_NAME . '_usersManagement' ) ) {
162+
if ( 'skautis_page_skautis-integration_usersManagement' !== $hook_suffix ) {
163163
return;
164164
}
165165
wp_enqueue_script( 'thickbox' );

0 commit comments

Comments
 (0)