Skip to content

Commit 98cc35d

Browse files
committed
add fullstops
1 parent ba883ef commit 98cc35d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

plugins/faustwp/includes/replacement/callbacks.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ function content_replacement( ?string $content ) {
6060

6161
if ( $replace_content_urls ) {
6262

63-
// Look for href links
63+
// Look for href links.
6464
preg_match_all( '#href="([^"]+)"#i', $content, $href_links );
6565

6666
foreach ( $href_links[1] as $i => $url ) {
67-
// skip media links
67+
// skip media links.
6868
$is_media = array_filter( $wp_media_urls, fn( $media ) => strpos( $url, $media ) === 0 );
6969
if ( $is_media ) {
7070
continue;
@@ -75,7 +75,7 @@ function content_replacement( ?string $content ) {
7575
continue;
7676
}
7777

78-
// get relative link
78+
// get relative link.
7979
$relative = ltrim( str_replace( reset( $is_wp_url ), '', $url ), '/' );
8080
$updated = 'href="' . $frontend_uri . '/' . $relative . '"';
8181

0 commit comments

Comments
 (0)