Changeset 3255024
- Timestamp:
- 03/12/2025 08:54:47 PM (9 months ago)
- Location:
- bp-email-assign-templates/trunk
- Files:
-
- 4 edited
-
pp-email-templates-admin-buddyboss.php (modified) (2 diffs)
-
pp-email-templates-admin-buddypress.php (modified) (1 diff)
-
pp-email-templates-admin.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bp-email-assign-templates/trunk/pp-email-templates-admin-buddyboss.php
r3250543 r3255024 344 344 'ajax' => false 345 345 ) ); 346 }346 } 347 347 348 348 function get_columns() { … … 367 367 368 368 $id = absint( $id ); 369 370 $wpdb->query( "DELETE FROM $wpdb->options WHERE option_id = $id" ); 371 369 370 $option_name = $wpdb->get_var( "SELECT option_name FROM $wpdb->options WHERE option_id = $id" ); 371 372 if ( strncmp( $option_name, "bp-email-template-", 18 ) === 0 ) { 373 $wpdb->query( "DELETE FROM $wpdb->options WHERE option_id = $id" ); 374 } 375 372 376 } 373 377 -
bp-email-assign-templates/trunk/pp-email-templates-admin-buddypress.php
r3250543 r3255024 358 358 359 359 $id = absint( $id ); 360 361 $wpdb->query( "DELETE FROM $wpdb->options WHERE option_id = $id" ); 362 360 361 $option_name = $wpdb->get_var( "SELECT option_name FROM $wpdb->options WHERE option_id = $id" ); 362 363 if ( strncmp( $option_name, "bp-email-template-", 18 ) === 0 ) { 364 $wpdb->query( "DELETE FROM $wpdb->options WHERE option_id = $id" ); 365 } 366 363 367 } 364 368 -
bp-email-assign-templates/trunk/pp-email-templates-admin.php
r3250543 r3255024 356 356 function delete_eto( $id ) { 357 357 global $wpdb; 358 358 359 359 $id = absint( $id ); 360 361 $wpdb->query( "DELETE FROM $wpdb->options WHERE option_id = $id" ); 362 360 361 $option_name = $wpdb->get_var( "SELECT option_name FROM $wpdb->options WHERE option_id = $id" ); 362 363 if ( strncmp( $option_name, "bp-email-template-", 18 ) === 0 ) { 364 $wpdb->query( "DELETE FROM $wpdb->options WHERE option_id = $id" ); 365 } 366 363 367 } 364 368 -
bp-email-assign-templates/trunk/readme.txt
r3250543 r3255024 55 55 56 56 = 1.7 = 57 * fixes a nother XSS security issue57 * fixes arbitrary option value deletion risk 58 58 59 59 = 1.6 = … … 86 86 87 87 = 1.7 = 88 * fixes a nother XSS security issue88 * fixes arbitrary option value deletion risk 89 89 90 90 = 1.6 =
Note: See TracChangeset
for help on using the changeset viewer.