mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user