soderlind/read-offline

View on GitHub

Showing 1,262 of 1,262 total issues

Attribute selectors with ^= are slow!
Open

a[href^="#"]::after {
Severity: Minor
Found in templates/print/custom-print.css by csslint

Rule doesn't have all its properties in alphabetical order.
Open

@page {
Severity: Minor
Found in templates/pdf/custom-print.css by csslint

Unknown property 'margin-footer'.
Open

    margin-footer: 5mm; /*any of the usual CSS values for margins*/
Severity: Minor
Found in templates/pdf/default-print.css by csslint

No space found after comma in function call
Open

        wp_enqueue_style( 'read-offline-css',   READOFFLINE_URL . '/css/read-offline.css',array(), READOFFLINE_VERSION );

Unknown property 'margin-footer'.
Open

    margin-footer: 5mm; /*any of the usual CSS values for margins*/
Severity: Minor
Found in templates/pdf/custom-print.css by csslint

Attribute selectors with ^= are slow!
Open

a[href^="https://"]::after {
Severity: Minor
Found in templates/print/custom-print.css by csslint

No space found after comma in function call
Open

                , ('print' == $type) ? __( 'Print','read-offline' ) : __( 'Download','read-offline' )

No space found after comma in function call
Open

            $text = str_ireplace( '%title%', $post->post_title,$text );

No space found after comma in function call
Open

            $readoffline .= sprintf( '<div class="readoffline-embed-text">%s</div>',stripslashes( $text ) );

No space found after comma in function call
Open

            $str_info = (1 == parent::$options['how']['icons_only']) ? '' : sprintf( '%s',$document_type );

No space found after comma in function call
Open

                , parent::query_url( $post->ID,$post->post_name,$type )

No space found after comma in function call
Open

                , ('print' == $type) ? __( 'Print','read-offline' ) : __( 'Download','read-offline' )

No space found after comma in function call
Open

                , ('print' == $type) ? sprintf( '<iframe style="display:none;" id="read_offline_print" name="read_offline_print" src="%s"></iframe>',parent::query_url( $post->ID,$post->post_name,$type ) ) : ''

No space found after comma in function call
Open

                'title'            => __( 'Miscellaneous','read-offline' ),// the section title

No space found after comma in function call
Open

                , parent::query_url( $post->ID,$post->post_name,$type )

No space found after comma in function call
Open

                , ('print' == $type) ? sprintf( '<iframe style="display:none;" id="read_offline_print" name="read_offline_print" src="%s"></iframe>',parent::query_url( $post->ID,$post->post_name,$type ) ) : ''

No space found after comma in function call
Open

                'title'            => __( 'How','read-offline' ),// the section title

No space found after comma in function call
Open

                'title'            => __( 'Copyright','read-offline' ),// the section title

No space found after comma in function call
Open

                , ('print' == $type) ? sprintf( '<iframe style="display:none;" id="read_offline_print" name="read_offline_print" src="%s"></iframe>',parent::query_url( $post->ID,$post->post_name,$type ) ) : ''

No space found after comma in function call
Open

                'title'            => __( 'Where','read-offline' ),// the section title
Severity
Category
Status
Source
Language