Changeset 10054
- Timestamp:
- 07/10/2020 06:58:39 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-block-validator.php
r10053 r10054 5 5 use WordPressdotorg\Plugin_Directory\Plugin_Directory; 6 6 use WordPressdotorg\Plugin_Directory\Tools; 7 use WordPressdotorg\Plugin_Directory\Jobs\Plugin_Import; 7 8 8 9 class Block_Validator { … … 46 47 Tools::audit_log( 'Plugin added to block directory.', $post->ID ); 47 48 self::maybe_send_email_plugin_added( $post ); 49 Plugin_Import::queue( $post->post_name, array( 'tags_touched' => $post->stable_tag ) ); 48 50 } elseif ( 'remove' === $_POST['block-directory-edit'] ) { 49 51 Tools::audit_log( 'Plugin removed from block directory.', $post->ID );
Note: See TracChangeset
for help on using the changeset viewer.