Changeset 3330248
- Timestamp:
- 07/18/2025 01:49:03 PM (7 months ago)
- Location:
- moderation-api-automated-content-moderation/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (2 diffs)
-
moderation-api.php (modified) (2 diffs)
-
public/class-moderation-api-public.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
moderation-api-automated-content-moderation/trunk/README.txt
r3326772 r3330248 2 2 Contributors: moderationapi 3 3 Donate link: https://moderationapi.com/ 4 Tags: ai moderation, toxic, nsfw, profanity, spam , multisite4 Tags: ai moderation, toxic, nsfw, profanity, spam 5 5 Requires at least: 5.8 6 6 Tested up to: 6.8.1 7 7 Requires PHP: 7.4 8 Stable tag: 1.0. 38 Stable tag: 1.0.4 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 112 112 * Tested up to WordPress 6.8.1 113 113 114 = 1.0.4 = 115 * Enhanced webhook support to handle both GET and POST requests for action parameter 116 114 117 == Upgrade Notice == 115 118 -
moderation-api-automated-content-moderation/trunk/moderation-api.php
r3326772 r3330248 17 17 * Plugin URI: https://moderationapi.com/integrations/wordpress-content-moderation 18 18 * Description: Use Moderation API to automatically moderate comments on your WordPress site. Detects a large range of contet such as bullying, discrimination, sentiment, NSFW, PII, and much more. 19 * Version: 1.0. 319 * Version: 1.0.4 20 20 * Author: Moderation API 21 21 * Author URI: https://moderationapi.com/ … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'MODERATION_API_VERSION', '1.0. 3' );38 define( 'MODERATION_API_VERSION', '1.0.4' ); 39 39 40 40 define( 'MODERATION_API_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); -
moderation-api-automated-content-moderation/trunk/public/class-moderation-api-public.php
r3326772 r3330248 212 212 213 213 // Sanitize and validate the action 214 $action = isset($_ GET['action']) ? sanitize_key($_GET['action']) : '';214 $action = isset($_REQUEST['action']) ? sanitize_key($_REQUEST['action']) : ''; 215 215 216 216 if (!in_array($action, array('remove', 'show'))) {
Note: See TracChangeset
for help on using the changeset viewer.