Changeset 3286 for branches/plugin/bbp-admin/bbp-replies.php
- Timestamp:
- 06/01/2011 01:37:23 AM (14 years ago)
- File:
-
- 1 edited
-
branches/plugin/bbp-admin/bbp-replies.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-admin/bbp-replies.php
r3274 r3286 227 227 return $reply_id; 228 228 229 // Bail if not a post request 230 if ( 'POST' != strtoupper( $_SERVER['REQUEST_METHOD'] ) ) 231 return $reply_id; 232 229 233 // Current user cannot edit this reply 230 234 if ( !current_user_can( 'edit_reply', $reply_id ) ) … … 298 302 // Bail if no post_id 299 303 if ( empty( $post_id ) ) 304 return $post_id; 305 306 // Bail if not a post request 307 if ( 'POST' != strtoupper( $_SERVER['REQUEST_METHOD'] ) ) 300 308 return $post_id; 301 309
Note: See TracChangeset
for help on using the changeset viewer.