Showing 1,811 of 1,811 total issues
Space after opening parenthesis of function call prohibited Open
Open
$expl = explode( ':', $node->getAttribute( 'property' ), 2 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$key = sanitize_key( str_replace( ':', '_', $expl[1] ) );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$sailthru = $xpath->query( '//meta[ starts-with( @name, "sailthru" ) ]' );
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
foreach ( $sailthru as $node ) {
- Exclude checks
Expected 0 spaces after opening bracket; 1 found Open
Open
if ( 'author' === $key ) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if ( $issued->hasAttribute( 'datetime' ) ) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$payload['issued'] = esc_attr( $issued->getAttribute( 'datetime' ) );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$authors = $xpath->query( '//*[ @itemprop="author" ][ not( ancestor::*[ @itemtype="http://schema.org/Comment" ] ) ]' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$a = explode( ' ', sanitize_text_field( $author->textContent ), 2 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$payload['title'] = sanitize_text_field( $title->textContent );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$abt = $xpath->query( '//meta[ starts-with( @property, "abt:" ) ]' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$payload['title'] = sanitize_text_field( $title->textContent );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if ( ! isset( $_POST['state'], $_POST['post_id'] ) ) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
wp_send_json_error( 'required fields not sent', 400 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$post_id = intval( $_POST['post_id'] );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$value = sanitize_text_field( $node->getAttribute( 'content' ) );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$value = sanitize_text_field( $node->getAttribute( 'content' ) );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$value = sanitize_text_field( $node->getAttribute( 'content' ) );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$title = $xpath->query( '//*[ @itemprop="headline" ]' )->item( 0 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$key = sanitize_key( $expl[1] );
- Exclude checks