Showing 378 of 379 total issues
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space Open
Open
$meta_name = $params['meta_name'];
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space Open
Open
$resource_uri = get_rest_url() . 'ldp/v1/' . $ldp_container->slug . '/' . $resource->post_name . '/';
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space Open
Open
$fields = $models_decoded->{$value->slug}->fields;
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space Open
Open
$project_term = get_term_by( 'slug', 'project', 'ldp_container' );
- Exclude checks
Usage of a direct database call is discouraged. Open
Open
$result = $wpdb->get_results(
- Exclude checks
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete(). Open
Open
$result = $wpdb->get_results(
- Exclude checks
Array double arrow not aligned correctly; expected 2 space(s) between "'show_in_nav_menu'" and double arrow, but found 6. Open
Open
'show_in_nav_menu' => true,
- Exclude checks
Resource version not set in call to wp_register_script(). This means new versions of the script will not always be loaded due to browser caching. Open
Open
wp_register_script(
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space Open
Open
$term = wp_insert_term(
- Exclude checks
Detected usage of a non-validated input variable: $_SERVER Open
Open
$current_url = $_SERVER['REQUEST_URI'];
- Exclude checks
Processing form data without nonce verification. Open
Open
if ( isset( $_GET['settings-updated'] ) || $force ) {
- Exclude checks
In footer ($in_footer) is not set explicitly wp_register_script; It is recommended to load scripts in the footer. Please set this value to true
to load it in the footer, or explicitly false
if it should be loaded in the header. Open
Open
wp_register_script(
- Exclude checks
Resource version not set in call to wp_register_style(). This means new versions of the style will not always be loaded due to browser caching. Open
Open
wp_register_style(
- Exclude checks
Array double arrow not aligned correctly; expected 3 space(s) between "'label'" and double arrow, but found 1. Open
Open
'label' => __( 'Initiative', 'wpldp' ),
- Exclude checks
Detected usage of a non-validated input variable: $_SERVER Open
Open
$current_url = $_SERVER['REQUEST_URI'];
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space Open
Open
$term_meta['ldp_model'] = stripslashes_deep( $model );
- Exclude checks
Each array item in a multi-line array declaration must end in a comma Open
Open
)
- Exclude checks
Processing form data without nonce verification. Open
Open
if ( ( isset( $_GET['settings-updated'] ) && 'true' === $_GET['settings-updated'] ) ) {
- Exclude checks
Visibility must be declared on method "wpldp_validation_notice" Open
Open
function wpldp_validation_notice() {
- Exclude checks
Visibility must be declared on method "menu_setup" Open
Open
function menu_setup() {
- Exclude checks