Showing 378 of 379 total issues
Equals sign not aligned with surrounding assignments; expected 18 spaces but found 1 space Open
Open
$term_id = $term->term_id;
- 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' => __( 'Document', 'wpldp' ),
- Exclude checks
Array double arrow not aligned correctly; expected 7 space(s) between "'artwork'" and double arrow, but found 1. Open
Open
'artwork' => array(
- Exclude checks
Array double arrow not aligned correctly; expected 9 space(s) between "'event'" and double arrow, but found 1. Open
Open
'event' => array(
- Exclude checks
Array double arrow not aligned correctly; expected 3 space(s) between "'label'" and double arrow, but found 1. Open
Open
'label' => __( 'Thesis', 'wpldp' ),
- Exclude checks
A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders. Open
Open
__( 'List of all resources of type %1$s', 'wpldp' ),
- Exclude checks
Array double arrow not aligned correctly; expected 11 space(s) between "'show_ui'" and double arrow, but found 20. Open
Open
'show_ui' => true,
- Exclude checks
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. Open
Open
echo "<label for='ldp_rdf_type'>" . __( 'Rdf:type, if any', 'wpldp' ) . '</label>';
- 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 fields from the model whose values you would like to include from the associated resources in the container, separated by commas', 'wpldp' ) . '</p>';
- Exclude checks
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. Open
Open
echo "<th scope='row'><label for='ldp_rdf_type'>" . __( 'Rdf:type, if any', 'wpldp' ) . '</label></th>';
- Exclude checks
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'. Open
Open
echo "<th scope='row'><label for='ldp_included_fields_list'>" . __( 'Included fields', 'wpldp' ) . '</label></th>';
- Exclude checks
Each array item in a multi-line array declaration must end in a comma Open
Open
'order' => 'DESC'
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space Open
Open
$term_meta = get_term_meta( $term_id,'ldp_site_url', true );
- Exclude checks
Missing wp_unslash() before sanitization. Open
Open
$term_meta = $_POST['ldp_site_url'];
- Exclude checks
Using cURL functions is highly discouraged. Use wp_remote_get() instead. Open
Open
$ch = curl_init();
- Exclude checks
Concat operator must be surrounded by a single space Open
Open
$outputs[ $ldp_site_url . '/schema/' ]['data'] = curl_exec( $ch );
- Exclude checks
Using cURL functions is highly discouraged. Use wp_remote_get() instead. Open
Open
$outputs[ $ldp_site_url . '/schema/' ]['data'] = curl_exec( $ch );
- Exclude checks
No space after opening parenthesis is prohibited Open
Open
foreach ($outputs as $site_url => $output ) {
- 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