mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 23:27:04 +00:00
Docs: Correct grammar when referring to "a URL" vs "an URL" in several places.
Fixes #36218. git-svn-id: https://develop.svn.wordpress.org/trunk@36970 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -379,7 +379,7 @@ class WP_Press_This {
|
||||
return ''; // Return empty rather than a truncated/invalid URL
|
||||
}
|
||||
|
||||
// Does not look like an URL.
|
||||
// Does not look like a URL.
|
||||
if ( ! preg_match( '/^([!#$&-;=?-\[\]_a-z~]|%[0-9a-fA-F]{2})+$/', $url ) ) {
|
||||
return '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user