Changeset 8164
- Timestamp:
- 01/30/2019 10:53:55 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/wordcamp-budgets.php
r8136 r8164 2674 2674 */ 2675 2675 public static function can_submit_request( $post ) { 2676 // A request must have documentation attached before it can be submitted. 2677 $files = self::get_attached_files( $post ); 2678 if ( empty( $files ) ) { 2679 return false; 2676 if ( ! current_user_can( 'manage_network' ) ) { 2677 // A request must have documentation attached before it can be submitted. 2678 $files = self::get_attached_files( $post ); 2679 if ( empty( $files ) ) { 2680 return false; 2681 } 2680 2682 } 2681 2683
Note: See TracChangeset
for help on using the changeset viewer.