Fix: Uninstall distributor #1369
Annotations
11 errors and 12 warnings
phpcs
Process completed with exit code 2.
|
phpcs:
uninstall.php#L7
There must be exactly one blank line after the file comment
|
phpcs:
uninstall.php#L41
Use placeholders and $wpdb->prepare(); found interpolated variable $ids_string at "DELETE FROM $wpdb->postmeta WHERE post_id IN ($ids_string)"
|
phpcs:
uninstall.php#L47
Use placeholders and $wpdb->prepare(); found interpolated variable $ids_string at "DELETE FROM $wpdb->posts WHERE ID IN ($ids_string)"
|
phpcs:
uninstall.php#L84
String "option_name LIKE %s" does not require double quotes; use single quotes instead
|
phpcs:
uninstall.php#L90
Use placeholders and $wpdb->prepare(); found $where_clause
|
phpcs:
uninstall.php#L92
Opening parenthesis of a multi-line function call must be the last content on the line
|
phpcs:
uninstall.php#L94
Only one argument is allowed per line in a multi-line function call
|
phpcs:
uninstall.php#L94
Closing parenthesis of a multi-line function call must be on a line by itself
|
phpcs:
uninstall.php#L98
Use placeholders and $wpdb->prepare(); found $query
|
phpcs:
uninstall.php#L108
Use placeholders and $wpdb->prepare(); found interpolated variable $ids_string at "DELETE FROM $wpdb->options WHERE option_id IN ($ids_string)"
|
phpcs:
uninstall.php#L29
Usage of a direct database call is discouraged.
|
phpcs:
uninstall.php#L29
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
|
phpcs:
uninstall.php#L40
Usage of a direct database call is discouraged.
|
phpcs:
uninstall.php#L40
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
|
phpcs:
uninstall.php#L45
Usage of a direct database call is discouraged.
|
phpcs:
uninstall.php#L45
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
|
phpcs:
uninstall.php#L87
Incorrect number of replacements passed to $wpdb->prepare(). Found 1 replacement parameters, expected 0.
|
phpcs:
uninstall.php#L98
Usage of a direct database call is discouraged.
|
phpcs:
uninstall.php#L98
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
|
phpcs:
uninstall.php#L106
Usage of a direct database call is discouraged.
|
eslint
The following actions uses node12 which is deprecated and will be forced to run on node16: ataylorme/eslint-annotate-action@1.2.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
eslint
The following actions use a deprecated Node.js version and will be forced to run on node20: ataylorme/eslint-annotate-action@1.2.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|