Changeset 12566
- Timestamp:
- 05/02/2023 03:23:28 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php
r12012 r12566 349 349 } 350 350 351 $topic_content = false; 352 if ( ! empty( $_POST['bbp_topic_content'] ) ) { 353 // Apply the new-topic pre-content filters. This allows for various forum hooks to remove links. 354 $topic_content = apply_filters( 'bbp_new_topic_pre_content', $_POST['bbp_topic_content'] ); 355 } 356 351 357 if ( 352 ! empty( $_POST['bbp_topic_content'] )&&358 $topic_content && 353 359 ( 354 false !== stripos( $ _POST['bbp_topic_content'], 'https://' ) ||355 false !== stripos( $ _POST['bbp_topic_content'], 'http://' )360 false !== stripos( $topic_content, 'https://' ) || 361 false !== stripos( $topic_content, 'http://' ) 356 362 ) 357 363 ) {
Note: See TracChangeset
for help on using the changeset viewer.