Changeset 11836 for sites/trunk/profiles.wordpress.org/public_html/wp-content/plugins/wporg-profiles-activity-handler/wporg-profiles-activity-handler.php
- Timestamp:
- 05/11/2022 03:13:27 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/profiles.wordpress.org/public_html/wp-content/plugins/wporg-profiles-activity-handler/wporg-profiles-activity-handler.php
r11832 r11836 181 181 // The original `action` was the `admin-ajax.php` action, which is no longer needed. 182 182 // Renaming this allows simple handlers to pass the sanitized $_POST directly to `bp_activity_add()`. 183 $_POST['action'] = $_POST['message'] ;183 $_POST['action'] = $_POST['message'] ?? ''; 184 184 185 185 // The `slack` source requires multiples users, so the parameters are named differently.
Note: See TracChangeset
for help on using the changeset viewer.