WordPress.org

Make WordPress Core

Changeset 28289


Ignore:
Timestamp:
05/06/2014 02:45:22 PM (7 years ago)
Author:
wonderboymusic
Message:

Remove unreachable break statements in wp-admin/comments.php. break is unnecessary after die, exit, and wp_die.

See #27882.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/comment.php

    r27469 r28289  
    267267    wp_redirect( $redir );
    268268    die;
    269     break;
    270269
    271270case 'editedcomment' :
     
    292291
    293292    exit();
    294     break;
    295293
    296294default:
    297295    wp_die( __('Unknown action.') );
    298     break;
    299296
    300297} // end switch
Note: See TracChangeset for help on using the changeset viewer.