assemblee-virtuelle/wp-ldp

View on GitHub

Showing 378 of 379 total issues

Array double arrow not aligned correctly; expected 3 space(s) between "'taxonomy'" and double arrow, but found 1.
Open

                    'taxonomy' => 'ldp_site',
Severity: Minor
Found in class-site-taxonomy.php by phpcodesniffer

Array double arrow not aligned correctly; expected 3 space(s) between "'label'" and double arrow, but found 1.
Open

                            'label' => __( 'Organization', 'wpldp' ),
Severity: Minor
Found in class-settings.php by phpcodesniffer

Array double arrow not aligned correctly; expected 3 space(s) between "'value'" and double arrow, but found 1.
Open

                        'value' => $source_site_url,
Severity: Minor
Found in class-site-taxonomy.php by phpcodesniffer

Array double arrow not aligned correctly; expected 6 space(s) between "'order'" and double arrow, but found 1.
Open

                    'order' => 'DESC'
Severity: Minor
Found in class-settings.php by phpcodesniffer

Array double arrow not aligned correctly; expected 6 space(s) between "'hierarchical'" and double arrow, but found 15.
Open

                'hierarchical'               => true,
Severity: Minor
Found in class-container-taxonomy.php by phpcodesniffer

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
Open

            echo "<label for='ldp_included_fields_list'>" . __( 'Included fields', 'wpldp' ) . '</label>';
Severity: Minor
Found in class-container-taxonomy.php by phpcodesniffer

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
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>';
Severity: Minor
Found in class-container-taxonomy.php by phpcodesniffer

Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
Open

            $value = null;
Severity: Minor
Found in class-utils.php by phpcodesniffer

"require_once" is a statement not a function; no parentheses are required
Open

require_once( 'class-container-taxonomy.php' );
Severity: Minor
Found in wp-ldp.php by phpcodesniffer

Equals sign not aligned correctly; expected 1 space but found 8 spaces
Open

            $path        = dirname( plugin_basename( __FILE__ ) ) . '/languages';
Severity: Minor
Found in wp-ldp.php by phpcodesniffer

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

                wp_register_script(
Severity: Minor
Found in wp-ldp.php by phpcodesniffer

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

                wp_register_script(
Severity: Minor
Found in wp-ldp.php by phpcodesniffer

Array double arrow not aligned correctly; expected 2 space(s) between "'organization'" and double arrow, but found 1.
Open

                        'organization' => array(
Severity: Minor
Found in class-settings.php by phpcodesniffer

Array double arrow not aligned correctly; expected 3 space(s) between "'label'" and double arrow, but found 1.
Open

                            'label' => __( 'Good or Service', 'wpldp' ),
Severity: Minor
Found in class-settings.php by phpcodesniffer

Array double arrow not aligned correctly; expected 9 space(s) between "'event'" and double arrow, but found 1.
Open

                        'event' => array(
Severity: Minor
Found in class-settings.php by phpcodesniffer

Processing form data without nonce verification.
Open

                if ( ( isset( $_GET['settings-updated'] ) && 'true' === $_GET['settings-updated'] ) ) {
Severity: Minor
Found in class-settings.php by phpcodesniffer

Array double arrow not aligned correctly; expected 9 space(s) between "'slug'" and double arrow, but found 23.
Open

                'slug'                       => 'site',
Severity: Minor
Found in class-site-taxonomy.php by phpcodesniffer

Array double arrow not aligned correctly; expected 11 space(s) between "'show_ui'" and double arrow, but found 20.
Open

                'show_ui'                    => true,
Severity: Minor
Found in class-site-taxonomy.php by phpcodesniffer

Concat operator must be surrounded by a single space
Open

                $outputs[ $ldp_site_url  . '/schema/' ]['data'] = curl_exec( $ch );
Severity: Minor
Found in class-site-taxonomy.php by phpcodesniffer

Array double arrow not aligned correctly; expected 9 space(s) between "'slug'" and double arrow, but found 23.
Open

                'slug'                       => rtrim( \WpLdp\Api::LDP_API_URL, '/' ),
Severity: Minor
Found in class-container-taxonomy.php by phpcodesniffer
Severity
Category
Status
Source
Language