mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 07:36:58 +00:00
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], [56180], [56191]. Props costdev, audrasjb. See #58459. git-svn-id: https://develop.svn.wordpress.org/trunk@56192 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -285,8 +285,10 @@ function get_the_content( $more_link_text = null, $strip_teaser = false, $post =
|
||||
return '';
|
||||
}
|
||||
|
||||
// Use the globals if the $post parameter was not specified,
|
||||
// but only after they have been set up in setup_postdata().
|
||||
/*
|
||||
* Use the globals if the $post parameter was not specified,
|
||||
* but only after they have been set up in setup_postdata().
|
||||
*/
|
||||
if ( null === $post && did_action( 'the_post' ) ) {
|
||||
$elements = compact( 'page', 'more', 'preview', 'pages', 'multipage' );
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user