Make WordPress Core


Ignore:
Timestamp:
09/08/2023 10:01:14 AM (2 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Remove superfluous blank lines at the end of various functions.

Note: This is enforced by WPCS 3.0.0.

Follow-up to [56536], [56547].

Props jrf.
See #59161, #58831.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/inc/template-tags.php

    r56045 r56548  
    8989
    9090    echo $html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    91 
    9291}
    9392
     
    155154    }
    156155    return false;
    157 
    158156}
    159157
     
    173171    $link = str_replace( 'class=\'', 'class=\'do-not-scroll ', $link );
    174172    return $link;
    175 
    176173}
    177174
     
    195192
    196193    echo twentytwenty_get_post_meta( $post_id, $location ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaped in twentytwenty_get_post_meta().
    197 
    198194}
    199195
     
    232228
    233229    return '<div class="post-meta-wrapper post-meta-edit-link-wrapper"><ul class="post-meta"><li class="post-edit meta-wrapper"><span class="meta-icon">' . twentytwenty_get_theme_svg( 'edit' ) . '</span><span class="meta-text"><a href="' . esc_url( $edit_url ) . '">' . $text . '</a></span></li></ul><!-- .post-meta --></div><!-- .post-meta-wrapper -->';
    234 
    235230}
    236231
     
    524519        }
    525520    }
    526 
    527521}
    528522
     
    565559
    566560    return $css_class;
    567 
    568561}
    569562
     
    615608
    616609    return $args;
    617 
    618610}
    619611
     
    662654    <script>document.documentElement.className = document.documentElement.className.replace( 'no-js', 'js' );</script>
    663655    <?php
    664 
    665656}
    666657
     
    763754
    764755    return $classes;
    765 
    766756}
    767757
     
    804794
    805795    return preg_replace( $regex['pattern'], $regex['replacement'], $title );
    806 
    807796}
    808797
Note: See TracChangeset for help on using the changeset viewer.