Showing 378 of 379 total issues
Array double arrow not aligned correctly; expected 1 space(s) between "'hierarchical'" and double arrow, but found 15. Open
Open
'hierarchical' => false,
- Exclude checks
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space Open
Open
$locations = get_nav_menu_locations();
- Exclude checks
Array double arrow not aligned correctly; expected 3 space(s) between "'label'" and double arrow, but found 1. Open
Open
'label' => __( 'Theme', '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
__(
- Exclude checks
Processing form data without nonce verification. Open
Open
if ( 'options-general.php' === $pagenow && 'wpldp' === $_GET['page'] ) { // change my-plugin to your plugin page.
- Exclude checks
Overriding WordPress globals is prohibited. Found assignment to $submenu Open
Open
$submenu['edit.php?post_type=ldp_resource'][ 10 - $i ] = $submenu_item_value;
- Exclude checks
Visibility must be declared on method "add_custom_tax_fields_oncreate_site" Open
Open
function add_custom_tax_fields_oncreate_site() {
- 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_site_url'>" . __( 'web site', 'wpldp' ). '</label></th>';
- Exclude checks
Using cURL functions is highly discouraged. Use wp_remote_get() instead. Open
Open
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
- Exclude checks
Array double arrow not aligned correctly; expected 29 space(s) between "'@type'" and double arrow, but found 4. Open
Open
'@type' => 'http://www.w3.org/ns/ldp#BasicContainer',
- 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'>" . __( 'Rdf:type associated with this container', 'wpldp' ) . '</p></td>';
- 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
Array double arrow not aligned correctly; expected 2 space(s) between "'menu-item-status'" and double arrow, but found 1. Open
Open
'menu-item-status' => 'publish',
- Exclude checks
Array double arrow not aligned correctly; expected 3 space(s) between "'label'" and double arrow, but found 1. Open
Open
'label' => __( 'Group', 'wpldp' ),
- Exclude checks
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'get_option'. Open
Open
echo "<input type='text' size='150' name='ldp_context' value='" . get_option( 'ldp_context', 'http://lov.okfn.org/dataset/lov/context' ) . "' />";
- 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 3 space(s) between "'taxonomy'" and double arrow, but found 1. Open
Open
'taxonomy' => 'ldp_site',
- Exclude checks
Class file names should be based on the class name with "class-" prepended. Expected class-containertaxonomy.php, but found class-container-taxonomy.php. Open
Open
<?php
- Exclude checks
Array double arrow not aligned correctly; expected 11 space(s) between "'rewrite'" and double arrow, but found 20. Open
Open
'rewrite' => $rewrite,
- Exclude checks