- Timestamp:
- 09/08/2023 10:01:14 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/inc/template-tags.php
r56045 r56548 89 89 90 90 echo $html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 91 92 91 } 93 92 … … 155 154 } 156 155 return false; 157 158 156 } 159 157 … … 173 171 $link = str_replace( 'class=\'', 'class=\'do-not-scroll ', $link ); 174 172 return $link; 175 176 173 } 177 174 … … 195 192 196 193 echo twentytwenty_get_post_meta( $post_id, $location ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaped in twentytwenty_get_post_meta(). 197 198 194 } 199 195 … … 232 228 233 229 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 235 230 } 236 231 … … 524 519 } 525 520 } 526 527 521 } 528 522 … … 565 559 566 560 return $css_class; 567 568 561 } 569 562 … … 615 608 616 609 return $args; 617 618 610 } 619 611 … … 662 654 <script>document.documentElement.className = document.documentElement.className.replace( 'no-js', 'js' );</script> 663 655 <?php 664 665 656 } 666 657 … … 763 754 764 755 return $classes; 765 766 756 } 767 757 … … 804 794 805 795 return preg_replace( $regex['pattern'], $regex['replacement'], $title ); 806 807 796 } 808 797
Note: See TracChangeset
for help on using the changeset viewer.