<?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>
									Comment approved email template does not add p tags - How-To and Troubleshooting				            </title>
            <link>https://gvectors.com/forum/how-to-and-troubleshooting/comment-approved-email-template-does-not-add-p-tags/</link>
            <description>WordPress Plugins Support Forum</description>
            <language>en-US</language>
            <lastBuildDate>Thu, 12 Mar 2026 01:17:28 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Comment approved email template does not add p tags</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/comment-approved-email-template-does-not-add-p-tags/#post-16344</link>
                        <pubDate>Mon, 08 Jul 2019 11:45:52 +0000</pubDate>
                        <description><![CDATA[OK, thanks. I&#039;ve manually changed the code (it needed wpautop not esc_attr) and tested and it is now working as expected.]]></description>
                        <content:encoded><![CDATA[<p>OK, thanks. I've manually changed the code (it needed wpautop not esc_attr) and tested and it is now working as expected.</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Salubritas</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/comment-approved-email-template-does-not-add-p-tags/#post-16344</guid>
                    </item>
				                    <item>
                        <title>RE: Comment approved email template does not add p tags</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/comment-approved-email-template-does-not-add-p-tags/#post-16342</link>
                        <pubDate>Mon, 08 Jul 2019 11:15:50 +0000</pubDate>
                        <description><![CDATA[Thank you @salubritas for letting us know. The duplication of the website is not necessary anymore.  Posted by: @salubritas Looking at the code in class.WpdiscuzOptions.php, function phrases...]]></description>
                        <content:encoded><![CDATA[<p>Thank you @salubritas for letting us know. </p><p>The duplication of the website is not necessary anymore. </p><blockquote data-userid="12647" data-postid="16341" data-mention="salubritas"><div class="wpforo-post-quote-author"><strong> Posted by: @salubritas </strong></div><p>Looking at the code in class.WpdiscuzOptions.php, function phrasesOptionsForm, the calls to set all the new comment notification messages are wrapped in wpautop, but the call to set the comment approved message is not. (It isn't wrapped with esc_attr either.)</p></blockquote><p>yes, the issue comes from that part. Please add manually the esc_attr and it'll work fine. </p><p>We'll also change this in the next version release. </p><p> </p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Astghik</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/comment-approved-email-template-does-not-add-p-tags/#post-16342</guid>
                    </item>
				                    <item>
                        <title>RE: Comment approved email template does not add p tags</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/comment-approved-email-template-does-not-add-p-tags/#post-16341</link>
                        <pubDate>Mon, 08 Jul 2019 10:45:12 +0000</pubDate>
                        <description><![CDATA[Before I do that, here are some additional findings.I ran the following query against the database:SELECT * FROM webretailernew.wp_wc_phraseswhere phrase_key IN (&#039;wc_email_message&#039;,&#039;wc_all_c...]]></description>
                        <content:encoded><![CDATA[<p>Before I do that, here are some additional findings.</p><p>I ran the following query against the database:</p><pre>SELECT * FROM webretailernew.wp_wc_phrases<br />where phrase_key IN ('wc_email_message','wc_all_comment_new_reply_message',<br />'wc_new_reply_email_message','wc_comment_approved_email_message');</pre><p>This brings back all four messages that I set up.</p><p><img src="https://snag.gy/Sq7vZT.jpg" /></p><p>The results show that the new comment notification messages are all stored with &lt;p&gt; tags in the database, but the comment approved message has no &lt;p&gt; tags in the database.</p><p>Looking at the code in class.WpdiscuzOptions.php, function phrasesOptionsForm, the calls to set all the new comment notification messages are wrapped in wpautop, but the call to set the comment approved message is not. (It isn't wrapped with esc_attr either.)</p><p><img src="https://snag.gy/YuITV7.jpg" /></p><p>vs</p><p><img src="https://snag.gy/kv8aJr.jpg" /></p><p>I am a developer, although not in WordPress or PHP, but it seems pretty clear that this accounts for the message not having &lt;p&gt; tags in the database, and that in turn explains why there are no paragraph breaks in the email message itself.</p><p> </p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Salubritas</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/comment-approved-email-template-does-not-add-p-tags/#post-16341</guid>
                    </item>
				                    <item>
                        <title>RE: Comment approved email template does not add p tags</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/comment-approved-email-template-does-not-add-p-tags/#post-16334</link>
                        <pubDate>Mon, 08 Jul 2019 08:24:02 +0000</pubDate>
                        <description><![CDATA[Hi @salubritas,Thank you for contacting us and for giving so detailed information. We&#039;ve checked and don&#039;t find such an issue on all our test websites. This is something specific on your web...]]></description>
                        <content:encoded><![CDATA[<p>Hi @salubritas,</p><p>Thank you for contacting us and for giving so detailed information. </p><p>We've checked and don't find such an issue on all our test websites. This is something specific on your website. </p><p>Could you please install and activate the <a href="https://wordpress.org/plugins/duplicator/" target="true" rel="nofollow">Duplicator — WordPress Migration Plugin</a>, backup your WordPress site and send it to infogvectors.com email address to allow us to check it?</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Astghik</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/comment-approved-email-template-does-not-add-p-tags/#post-16334</guid>
                    </item>
				                    <item>
                        <title>Comment approved email template does not add p tags</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/comment-approved-email-template-does-not-add-p-tags/#post-16326</link>
                        <pubDate>Sat, 06 Jul 2019 09:28:28 +0000</pubDate>
                        <description><![CDATA[I have set up the email message templates under Phrases / Email.Most of these are working correctly, except for the “Comment approved message”.The other messages insert p tags to create line...]]></description>
                        <content:encoded><![CDATA[<div class="bbp-topic-content"><p>I have set up the email message templates under Phrases / Email.</p><p>Most of these are working correctly, except for the “Comment approved message”.</p><p>The other messages insert p tags to create line breaks, in the same way as a standard WordPress post. But the Comment approved message is not inserting p tags when an email is generated from it, so the email content is all run together.</p><p>Here is the template for the comment approved message:</p><p><a href="https://snag.gy/HKvDTG.jpg" rel="nofollow">https://snag.gy/HKvDTG.jpg</a></p><p>Here is the test comment just before it is posted:</p><p><a href="https://snag.gy/1Y8suh.jpg" rel="nofollow">https://snag.gy/1Y8suh.jpg</a></p><p>After approving the comment, the following email is received:</p><p><a href="https://snag.gy/AJXBZG.jpg" rel="nofollow">https://snag.gy/AJXBZG.jpg</a></p><p>As you can see, there are no paragraph breaks in the email at all.</p><p>This is not a problem with the various comment notification emails, just the comment approved email.</p></div>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Salubritas</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/comment-approved-email-template-does-not-add-p-tags/#post-16326</guid>
                    </item>
							        </channel>
        </rss>
		