Skip to content

Commit 3cc297a

Browse files
committed
Added comment regarding regexp source
1 parent 36f8e37 commit 3cc297a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

admin/class-shortcodes-ultimate-admin-settings.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ protected function get_plugin_settings() {
234234
* @since 5.0.1
235235
* @param string $prefix Prefix value.
236236
* @return string Sanitized string.
237+
* @see https://developer.wordpress.org/reference/functions/add_shortcode/ Source of the RegExp.
237238
*/
238239
public function sanitize_prefix( $prefix ) {
239240
return preg_replace( '@[<>&/\[\]\x00-\x20="\']@', '', $prefix );

0 commit comments

Comments
 (0)