Docs: Improve inline comments per the documentation standards.
Includes minor code layout fixes for better readability. See #48303. Built from https://develop.svn.wordpress.org/trunk@47122 git-svn-id: http://core.svn.wordpress.org/trunk@46922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -52,7 +52,7 @@ if ( $doaction ) {
|
||||
|
||||
wp_defer_comment_counting( true );
|
||||
|
||||
foreach ( $comment_ids as $comment_id ) { // Check the permissions on each
|
||||
foreach ( $comment_ids as $comment_id ) { // Check the permissions on each.
|
||||
if ( ! current_user_can( 'edit_comment', $comment_id ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user