Coding Standards: Document intentional case block fall-throughs.

Fixes `PSR2.ControlStructures.SwitchDeclaration.TerminatingComment` violations.

See #45934.



git-svn-id: https://develop.svn.wordpress.org/trunk@44565 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast
2019-01-11 06:25:37 +00:00
parent d0f00b58e2
commit 83af0329a2
4 changed files with 4 additions and 0 deletions

View File

@@ -205,6 +205,7 @@ switch ( $action ) {
wp_update_attachment_metadata( $post_id, $newmeta );
// Intentional fall-through to trigger the edit_post() call.
case 'editpost':
check_admin_referer( 'update-post_' . $post_id );