Docs: Replace multiple single line comments with multi-line comments.
This changeset updates various comments as per WordPress PHP Inline Documentation Standards. See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#5-inline-comments. Follow-up to [56174], [56175], [56176], [56177], [56178], [56179]. Props costdev, audrasjb. See #58459. Built from https://develop.svn.wordpress.org/trunk@56180 git-svn-id: http://core.svn.wordpress.org/trunk@55692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -797,8 +797,10 @@ function fetch_feed( $url ) {
|
||||
$feed = new SimplePie();
|
||||
|
||||
$feed->set_sanitize_class( 'WP_SimplePie_Sanitize_KSES' );
|
||||
// We must manually overwrite $feed->sanitize because SimplePie's constructor
|
||||
// sets it before we have a chance to set the sanitization class.
|
||||
/*
|
||||
* We must manually overwrite $feed->sanitize because SimplePie's constructor
|
||||
* sets it before we have a chance to set the sanitization class.
|
||||
*/
|
||||
$feed->sanitize = new WP_SimplePie_Sanitize_KSES();
|
||||
|
||||
// Register the cache handler using the recommended method for SimplePie 1.3 or later.
|
||||
|
||||
Reference in New Issue
Block a user