Making WordPress.org


Ignore:
Timestamp:
03/27/2026 07:03:44 PM (7 months ago)
Author:
obenland
Message:

Plugin Directory, WP.org Abilities: Track plugin upload source.

Record whether successful plugin uploads originate from the webform, REST API,
or MCP submit-plugin tool.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload.php

    r14747 r14770  
    107107                                $type    = 'success';
    108108                                $message = $upload_result;
     109
     110                                if ( function_exists( 'bump_stats_extra' ) && 'production' === wp_get_environment_type() ) {
     111                                        bump_stats_extra( 'plugin-upload-source', 'webform' );
     112                                }
    109113                        }
    110114
Note: See TracChangeset for help on using the changeset viewer.