Showing 378 of 379 total issues
Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space Open
Open
$ch = curl_init();
- Exclude checks
Using cURL functions is highly discouraged. Use wp_remote_get() instead. Open
Open
curl_setopt( $ch, CURLOPT_URL, $build_url );
- Exclude checks
Using cURL functions is highly discouraged. Use wp_remote_get() instead. Open
Open
curl_setopt( $ch, CURLOPT_HTTPGET, true );
- Exclude checks
Detected usage of meta_query, possible slow query. Open
Open
'meta_query' => array(
- Exclude checks
Visibility must be declared on method "add_custom_tax_fields_onedit" Open
Open
function add_custom_tax_fields_onedit( $term ) {
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space Open
Open
$ldp_model = ! empty( $term_meta['ldp_model'] ) ? stripslashes_deep( $term_meta['ldp_model'] ) : '';
- 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></td>';
- Exclude checks
Array double arrow not aligned correctly; expected 3 space(s) between "'menu-item-title'" and double arrow, but found 1. Open
Open
'menu-item-title' => __( 'Ecosystem', 'wpldp' ),
- Exclude checks
Array double arrow not aligned correctly; expected 8 space(s) between "'slug'" and double arrow, but found 1. Open
Open
'slug' => $term,
- Exclude checks
Concat operator must be surrounded by a single space Open
Open
echo "<label for='ldp_site'>" . __( 'web site', 'wpldp' ). '</label>';
- Exclude checks
Concat operator must be surrounded by a single space Open
Open
echo "<p class='description'>" . __( 'WordPress site that you know and on which the WP-LDP plugin is installed', 'wpldp' ). '</p></td>';
- Exclude checks
Concat operator must be surrounded by a single space Open
Open
$outputs[ $ldp_site_url . '/schema/' ]['code'] = curl_getinfo( $ch )['http_code'];
- Exclude checks
Array double arrow not aligned correctly; expected 12 space(s) between "'labels'" and double arrow, but found 21. Open
Open
'labels' => $labels,
- Exclude checks
Array double arrow not aligned correctly; expected 6 space(s) between "'document'" and double arrow, but found 1. Open
Open
'document' => array(
- Exclude checks
Visibility must be declared on method "wpldp_options_page" Open
Open
function wpldp_options_page() {
- Exclude checks
Visibility must be declared on method "ldp_context_field" Open
Open
function ldp_context_field() {
- Exclude checks
Array double arrow not aligned correctly; expected 2 space(s) between "'methods'" and double arrow, but found 1. Open
Open
'methods' => \WP_REST_Server::CREATABLE,
- 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
Visibility must be declared on method "save_custom_tax_field_site" Open
Open
function save_custom_tax_field_site( $term_id ) {
- 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