Docs: Miscellaneous DocBlock corrections.
See #49572. Built from https://develop.svn.wordpress.org/trunk@47892 git-svn-id: http://core.svn.wordpress.org/trunk@47666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -2305,11 +2305,13 @@ function safecss_filter_attr( $css, $deprecated = '' ) {
|
||||
/**
|
||||
* Filters the regex limiting the list of characters not allowed in CSS rules.
|
||||
*
|
||||
* Default behaviour is to remove any css containing \ ( & } = or comments, except for url() usage.
|
||||
* Default behaviour is to remove any CSS containing \ ( & } = or comments,
|
||||
* except for url() usage.
|
||||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @param string $regex Regex pattern of disallowed characters in CSS rules. Default is '%[\\\(&=}]|/\*%'.
|
||||
* @param string $regex Regex pattern of disallowed characters in CSS rules.
|
||||
* Default is '%[\\\(&=}]|/\*%'.
|
||||
* @param string $css_test_string CSS value to test.
|
||||
*/
|
||||
$disallowed_chars = apply_filters( 'safe_style_disallowed_chars', '%[\\\(&=}]|/\*%', $css_test_string );
|
||||
|
||||
Reference in New Issue
Block a user