Skip to content

Commit 2fdfc21

Browse files
authored
Fix compatibility with PHP < 7.3
Trailing commas in function calls are only supported since PHP 7.3, see https://wiki.php.net/rfc/trailing-comma-function-calls. Unfortunately there are no tests running whatsoever, so there might be more issues. However, this is the most prominent one I encountered when testing this plugin with WP-CLI.
1 parent 0421137 commit 2fdfc21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin-page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function sqlite_add_admin_menu() {
1717
__( 'SQLite integration', 'sqlite-database-integration' ),
1818
'manage_options',
1919
'sqlite-integration',
20-
'sqlite_integration_admin_screen',
20+
'sqlite_integration_admin_screen'
2121
);
2222
}
2323
add_action( 'admin_menu', 'sqlite_add_admin_menu' );

0 commit comments

Comments
 (0)