Changeset 12522
- Timestamp:
- 03/31/2023 04:15:23 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/tools/class-upload-token.php
r12508 r12522 1 1 <?php 2 2 namespace WordPressdotorg\Plugin_Directory\Admin\Tools; 3 use WordPressdotorg\Plugin_Directory\Tools; 3 4 4 5 /** … … 29 30 30 31 /** 31 * Plugin Submission handler, delete any upload token for that user if used. 32 * Plugin Submission handler, delete the upload token for that user. 33 * 34 * Note: This is only hooked in the event that an upload token was validated as being available. 32 35 */ 33 36 public function plugin_upload( $plugin, $plugin_post ) { 34 37 $this->delete_token( $plugin_post->post_author ); 38 39 Tools::audit_log( 'Plugin submitted using an Upload Token - Bypassed Trademark and Active Install checks.', $plugin_post->ID ); 35 40 } 36 41
Note: See TracChangeset
for help on using the changeset viewer.