Changeset 1091313
- Timestamp:
- 02/16/2015 12:46:56 PM (11 years ago)
- Location:
- cleantalk-spam-protect/trunk
- Files:
-
- 2 edited
-
cleantalk-admin.php (modified) (1 diff)
-
cleantalk-public.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cleantalk-spam-protect/trunk/cleantalk-admin.php
r1073975 r1091313 518 518 } 519 519 520 /** 521 * Unmark bad words 522 * @param string $message 523 * @return string Cleat comment 524 */ 525 function ct_unmark_red($message) { 526 $message = preg_replace("/\<font rel\=\"cleantalk\" color\=\"\#FF1000\"\>(\S+)\<\/font>/iu", '$1', $message); 527 528 return $message; 529 } 530 520 531 ?> -
cleantalk-spam-protect/trunk/cleantalk-public.php
r1091178 r1091313 741 741 kses_remove_filters(); 742 742 wp_update_comment($comment); 743 }744 745 /**746 * Unmark bad words747 * @param string $message748 * @return string Cleat comment749 */750 function ct_unmark_red($message) {751 $message = preg_replace("/\<font rel\=\"cleantalk\" color\=\"\#FF1000\"\>(\S+)\<\/font>/iu", '$1', $message);752 753 return $message;754 743 } 755 744
Note: See TracChangeset
for help on using the changeset viewer.