<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Buddypress notifications are not marked as read. - Bug Reports - wpForo 2.0				            </title>
            <link>https://wpforo.com/community/general-forums-bug-reports/buddypress-notifications-are-not-marked-as-read/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 10 Jun 2026 09:39:04 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Buddypress notifications are not marked as read.</title>
                        <link>https://wpforo.com/community/general-forums-bug-reports/buddypress-notifications-are-not-marked-as-read/#post-47413</link>
                        <pubDate>Wed, 04 Nov 2020 11:32:26 +0000</pubDate>
                        <description><![CDATA[Hi @mrwhisk,
Thank you for letting us know. I let developers known about the issue, and it will be fixed in the near feature.]]></description>
                        <content:encoded><![CDATA[<p>Hi <span>@mrwhisk,</span></p>
<p>Thank you for letting us know. I let developers known about the issue, and it will be fixed in the near feature.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-forums-bug-reports/">Bug Reports - wpForo 2.0</category>                        <dc:creator>Alvina</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-forums-bug-reports/buddypress-notifications-are-not-marked-as-read/#post-47413</guid>
                    </item>
				                    <item>
                        <title>Buddypress notifications are not marked as read.</title>
                        <link>https://wpforo.com/community/general-forums-bug-reports/buddypress-notifications-are-not-marked-as-read/#post-47400</link>
                        <pubDate>Tue, 03 Nov 2020 20:42:13 +0000</pubDate>
                        <description><![CDATA[Hello.
File: wpforo/wpf-includes/integration/buddypress.php:684
In function wpforo_bp_buddypress_mark_notifications we have:
if ( isset($wp_error) &amp;&amp; !is_wp_error($wp_error) ) { $...]]></description>
                        <content:encoded><![CDATA[<p>Hello.</p>
<pre>File: wpforo/wpf-includes/integration/buddypress.php:684</pre>
<p>In function <strong>wpforo_bp_buddypress_mark_notifications</strong> we have:</p>
<pre>if ( isset($wp_error) &amp;&amp; !is_wp_error($wp_error) ) {<br /> $success = bp_notifications_mark_notifications_by_item_id( $user_id, $reply_id, 'community', 'wpforo_new_reply' );<br /> do_action( 'wpforo_bp_notifications_handler', $success, $user_id, $reply_id, $action );<br />}</pre>
<p>Since <strong>$wp_error</strong> is only defined in the event that there either <strong>!$result</strong> or <strong>!current_user_can( 'edit_user', $user_id )</strong>, the contents of the above if statement are <span style="text-decoration: underline">never</span> run. (If there isn't an error, then $wp_error is not set)</p>
<p>As a consequence, notifications are not cleared on action wpforo_mark_read.</p>
<p>Thankyou.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-forums-bug-reports/">Bug Reports - wpForo 2.0</category>                        <dc:creator>mrwhisk</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-forums-bug-reports/buddypress-notifications-are-not-marked-as-read/#post-47400</guid>
                    </item>
							        </channel>
        </rss>
		