This is a valid RSS feed.
This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
</description>
<title>WordPress Trac</title>
^
</channel>
^
<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
<channel>
<title>WordPress Trac: Ticket #61944: Wrong argument type in documentation for hook new_user_email_content</title>
<link>https://core.trac.wordpress.org/ticket/61944</link>
<description><p>
In wp-includes/user.php, the docs for the <code>new_user_email_content</code> hook specify that both arguments are of type <code>string</code>. The second argument, <code>new_user_email</code> is actually an array, containing the new address as well as a hash. It is declared on line 3726 in the same file.
</p>
<p>
<a href="https://core.trac.wordpress.org/browser/tags/6.6/src/wp-includes/user.php#L3774">https://core.trac.wordpress.org/browser/tags/6.6/src/wp-includes/user.php#L3774</a>
</p>
</description>
<language>en-us</language>
<image>
<title>WordPress Trac</title>
<url>https://core.trac.wordpress.org/chrome/site/your_project_logo.png</url>
<link>https://core.trac.wordpress.org/ticket/61944</link>
</image>
<generator>Trac 1.2.2</generator>
<item>
<dc:creator>mukesh27</dc:creator>
<pubDate>Wed, 28 Aug 2024 06:46:02 GMT</pubDate>
<title>keywords set</title>
<link>https://core.trac.wordpress.org/ticket/61944#comment:1</link>
<guid isPermaLink="false">https://core.trac.wordpress.org/ticket/61944#comment:1</guid>
<description>
<ul>
<li><strong>keywords</strong>
<em>reporter-feedback</em> added
</li>
</ul>
<p>
Hi there!
</p>
<p>
The <code>new_user_email_content</code> shows second args array. See <a class="ext-link" href="https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes/user.php#L3761-L3782"><span class="icon"></span>https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes/user.php#L3761-L3782</a>
</p>
<pre class="wiki">/**
* Filters the text of the email sent when a change of user email address is attempted.
*
* The following strings have a special meaning and will get replaced dynamically:
* - ###USERNAME### The current user's username.
* - ###ADMIN_URL### The link to click on to confirm the email change.
* - ###EMAIL### The new email.
* - ###SITENAME### The name of the site.
* - ###SITEURL### The URL to the site.
*
* @since MU (3.0.0)
* @since 4.9.0 This filter is no longer Multisite specific.
*
* @param string $email_text Text in the email.
* @param array $new_user_email {
* Data relating to the new user email address.
*
* @type string $hash The secure hash used in the confirmation link URL.
* @type string $newemail The proposed new email address.
* }
*/
$content = apply_filters( 'new_user_email_content', $email_text, $new_user_email );
</pre>
</description>
<category>Ticket</category>
</item><item>
<dc:creator>roytanck</dc:creator>
<pubDate>Wed, 28 Aug 2024 06:48:30 GMT</pubDate>
<title>status changed; resolution set</title>
<link>https://core.trac.wordpress.org/ticket/61944#comment:2</link>
<guid isPermaLink="false">https://core.trac.wordpress.org/ticket/61944#comment:2</guid>
<description>
<ul>
<li><strong>status</strong>
changed from <em>new</em> to <em>closed</em>
</li>
<li><strong>resolution</strong>
set to <em>invalid</em>
</li>
</ul>
<p>
You're right, I completely misread the docblock. Sorry about this. I'll close the ticket. Thank you.
</p>
</description>
<category>Ticket</category>
</item><item>
<dc:creator>mukesh27</dc:creator>
<pubDate>Wed, 28 Aug 2024 07:20:13 GMT</pubDate>
<title>milestone deleted</title>
<link>https://core.trac.wordpress.org/ticket/61944#comment:3</link>
<guid isPermaLink="false">https://core.trac.wordpress.org/ticket/61944#comment:3</guid>
<description>
<ul>
<li><strong>milestone</strong>
<em>Awaiting Review</em> deleted
</li>
</ul>
</description>
<category>Ticket</category>
</item>
</channel>
</rss>
If you would like to create a banner that links to this page (i.e. this validation result), do the following:
Download the "valid RSS" banner.
Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)
Add this HTML to your page (change the image src
attribute if necessary):
If you would like to create a text link instead, here is the URL you can use: