Moorst
Forum Replies Created
-
Forum: Plugins
In reply to: [WooDiscuz - WooCommerce Comments] Stop changing comment_type to reviewpublic function wpc_new_comment($commentdata) { $commentdata['comment_type'] = isset($commentdata['comment_type']) ? $commentdata['comment_type'] : ''; $comment_post = get_post($commentdata['comment_post_ID']); if ($comment_post->post_type === 'product' && $commentdata['comment_type'] != 'woodiscuz') { $com_parent = $commentdata['comment_parent']; if ($com_parent != 0) { $parent_comment = get_comment($com_parent); if ($parent_comment->comment_type == 'woodiscuz') { $commentdata['comment_type'] = 'woodiscuz'; } else { $commentdata['comment_type'] = 'review'; } } else { $commentdata['comment_type'] = 'review'; } } return $commentdata; }
This is the function responsible. Is there an filter to remove this?
Forum: Plugins
In reply to: [bbPress Mentions Email Notifications] HTML Stripped from email?It’s line 160 causing it;
$opt['email_body'] = esc_attr($_POST['body']);
I’m not sure if esc_attr can be reversed within the filter, so I’ve just altered the plugin for now. Change to;
$opt['email_body'] = $_POST['body'];
- This reply was modified 7 years, 5 months ago by Moorst.
Forum: Plugins
In reply to: [Public Post Preview] Adding a preveiw tag top left ?Any info on this?
I’d find this feature useful.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] If recurring eventSo, if I have a recurring event every Monday, is there any way to output (on the event detail page) “This event occurs every Monday”. Or, if you say that an event occurs every 3 days, output “This event occurs every 3 Days”.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] If recurring eventBrilliant, that’s great.
Do you know if there’s any way of whatever you choose from the recurrences section from the back-end? E.g:
“Event recurs every 4 days”
“Event recurs on the first Monday of each month”Thanks,
Chris