Showing 378 of 379 total issues
Class file names should be based on the class name with "class-" prepended. Expected class-sitetaxonomy.php, but found class-site-taxonomy.php. Open
Open
<?php
- Exclude checks
Detected usage of a non-sanitized input variable: $_POST Open
Open
$term_meta = $_POST['ldp_site_url'];
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space Open
Open
$ch = curl_init();
- Exclude checks
Each array item in a multi-line array declaration must end in a comma Open
Open
)
- Exclude checks
Array double arrow not aligned correctly; expected 6 space(s) between "'hierarchical'" and double arrow, but found 15. Open
Open
'hierarchical' => 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 "<th scope='row'><label for='ldp_model_editor'>" . __( 'Model editor mode', 'wpldp' ) . '</label></th>';
- Exclude checks
Visibility must be declared on method "initialize_container" Open
Open
function initialize_container( $force = false ) {
- Exclude checks
Array double arrow not aligned correctly; expected 3 space(s) between "'label'" and double arrow, but found 1. Open
Open
'label' => __( 'Organization', 'wpldp' ),
- 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
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space Open
Open
$updated_term = wp_update_term(
- 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
Processing form data without nonce verification. Open
Open
if ( ( isset( $_GET['settings-updated'] ) && 'true' === $_GET['settings-updated'] ) ) {
- Exclude checks
Each array item in a multi-line array declaration must end in a comma Open
Open
'order' => 'DESC'
- 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 5 space(s) between "'show_tagcloud'" and double arrow, but found 14. Open
Open
'show_tagcloud' => 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
Processing form data without nonce verification. Open
Open
$term_meta = $_POST['ldp_site_url'];
- Exclude checks
Expected 2 spaces after parameter type; 1 found Open
Open
* @param \WP_REST_Request $request The current HTTP request object.
- Exclude checks
Array double arrow not aligned correctly; expected 3 space(s) between "'taxonomy'" and double arrow, but found 1. Open
Open
'taxonomy' => 'ldp_site',
- 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::READABLE,
- Exclude checks