Showing 378 of 379 total issues
Equals sign not aligned with surrounding assignments; expected 26 spaces but found 1 space Open
Open
$current_container_entry['@count'] = $value['value'];
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space Open
Open
$params = $request->get_params();
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space Open
Open
$ldp_container = $params['ldp_container'];
- Exclude checks
Array double arrow not aligned correctly; expected 6 space(s) between "'name'" and double arrow, but found 1. Open
Open
'name' => $ldp_resource_slug,
- Exclude checks
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<input type="hidden" id="ldp_model" name="ldp_model" value="$ldp_model">"'. Open
Open
echo "<input type='hidden' id='ldp_model' name='ldp_model' value='$ldp_model'/>";
- Exclude checks
Found precision alignment of 1 spaces. Open
Open
&& false !== strstr( $headers['accept'][0], 'text/html' ) ) {
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space Open
Open
$current_entry['@id'] = site_url( '/' ) . \WpLdp\Api::LDP_API_URL . $value->slug . '/' . $post->post_name;
- Exclude checks
Each array item in a multi-line array declaration must end in a comma Open
Open
)
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space Open
Open
$rdf_type = isset( $term_meta['ldp_rdf_type'] ) ? $term_meta['ldp_rdf_type'] : null;
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 24 spaces but found 1 space Open
Open
$field_value = get_post_custom_values( $field_name, $post->ID )[0];
- Exclude checks
Array double arrow not aligned correctly; expected 6 space(s) between "'tax_query'" and double arrow, but found 1. Open
Open
'tax_query' => array(
- Exclude checks
Array double arrow not aligned correctly; expected 4 space(s) between "'field'" and double arrow, but found 1. Open
Open
'field' => 'slug',
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space Open
Open
$models_decoded = json_decode( $term_meta['ldp_model'] );
- Exclude checks
Array double arrow not aligned correctly; expected 8 space(s) between "'orderby'" and double arrow, but found 1. Open
Open
'orderby' => 'menu_order',
- Exclude checks
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. Open
Open
echo "<p class='description'>" . __( 'The LDP-compatible JSON Model for this container', 'wpldp' ) . '</p></td>';
- Exclude checks
Missing wp_unslash() before sanitization. Open
Open
$term_meta['ldp_rdf_type'] = $_POST['ldp_rdf_type'];
- Exclude checks
Array double arrow not aligned correctly; expected 3 space(s) between "'@id'" and double arrow, but found 1. Open
Open
'@id' => rtrim( get_rest_url(), '/' ) . $request->get_route() . '/',
- Exclude checks
Processing form data without nonce verification. Open
Open
if ( isset( $_POST['ldp_model'] ) ) {
- Exclude checks
json_encode() is discouraged. Use wp_json_encode() instead. Open
Open
var json = ' . json_encode( json_decode( $ldp_model ) ) . ';
- Exclude checks
Missing wp_unslash() before sanitization. Open
Open
$term_meta['ldp_model'] = stripslashes_deep( $_POST['ldp_model'] );
- Exclude checks