Showing 378 of 379 total issues
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 3 spaces but found 1 space Open
Open
$locations = get_nav_menu_locations();
- Exclude checks
Space found before semicolon; expected "];" but found "] ;" Open
Open
$menu_id = $locations[ $menu_name ] ;
- Exclude checks
Array double arrow not aligned correctly; expected 3 space(s) between "'label'" and double arrow, but found 1. Open
Open
'label' => __( 'Group', 'wpldp' ),
- Exclude checks
Array double arrow not aligned correctly; expected 3 space(s) between "'label'" and double arrow, but found 1. Open
Open
'label' => __( 'Document', 'wpldp' ),
- Exclude checks
Array double arrow not aligned correctly; expected 3 space(s) between "'label'" and double arrow, but found 1. Open
Open
'label' => __( 'Theme', 'wpldp' ),
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space Open
Open
$model = file_get_contents( __DIR__ . '/models/' . $term . '.json' );
- Exclude checks
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. Open
Open
echo __( 'The generals settings of the WP-LDP plugin.', 'wpldp' );
- Exclude checks
Array double arrow not aligned correctly; expected 5 space(s) between "'show_tagcloud'" and double arrow, but found 14. Open
Open
'show_tagcloud' => true,
- Exclude checks
Expected type hint "{\WP_REST_Response}"; found "\WP_REST_Response" for $response Open
Open
public function add_new_site( \WP_REST_Request $request, \WP_REST_Response $response = null ) {
- Exclude checks
Array double arrow not aligned correctly; expected 9 space(s) between "'slug'" and double arrow, but found 23. Open
Open
'slug' => rtrim( \WpLdp\Api::LDP_API_URL, '/' ),
- Exclude checks
Array double arrow not aligned correctly; expected 12 space(s) between "'public'" and double arrow, but found 21. Open
Open
'public' => true,
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space Open
Open
$term_meta = get_option( "ldp_container_$term_id" );
- Exclude checks
Array double arrow not aligned correctly; expected 6 space(s) between "'post_type'" and double arrow, but found 1. Open
Open
'post_type' => 'ldp_resource',
- Exclude checks
Array double arrow not aligned correctly; expected 1 space(s) between "'show_in_admin_bar'" and double arrow, but found 5. Open
Open
'show_in_admin_bar' => true,
- Exclude checks
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$term'. Open
Open
<input id="in-ldp_container-<?php echo $term->term_id; ?>" type="radio" name="tax_input[ldp_container][]" value="<?php echo $term->term_id; ?>" checked>
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space Open
Open
$term_id = $term[0]->term_id;
- Exclude checks
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$term'. Open
Open
template: "{{{form '<?php echo $term[0]->slug; ?>'}}}",
- 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
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