Congratulations!

[Valid RSS] This is a valid RSS feed.

Recommendations

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: https://core.trac.wordpress.org/ticket/61944?format=rss

  1. <?xml version="1.0"?>
  2. <rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  3.  <channel>
  4.    <title>WordPress Trac: Ticket #61944: Wrong argument type in documentation for hook new_user_email_content</title>
  5.    <link>https://core.trac.wordpress.org/ticket/61944</link>
  6.    <description>&lt;p&gt;
  7. In wp-includes/user.php, the docs for the &lt;code&gt;new_user_email_content&lt;/code&gt; hook specify that both arguments are of type &lt;code&gt;string&lt;/code&gt;. The second argument, &lt;code&gt;new_user_email&lt;/code&gt; is actually an array, containing the new address as well as a hash. It  is declared on line 3726 in the same file.
  8. &lt;/p&gt;
  9. &lt;p&gt;
  10. &lt;a href="https://core.trac.wordpress.org/browser/tags/6.6/src/wp-includes/user.php#L3774"&gt;https://core.trac.wordpress.org/browser/tags/6.6/src/wp-includes/user.php#L3774&lt;/a&gt;
  11. &lt;/p&gt;
  12. </description>
  13.    <language>en-us</language>
  14.    <image>
  15.      <title>WordPress Trac</title>
  16.      <url>https://core.trac.wordpress.org/chrome/site/your_project_logo.png</url>
  17.      <link>https://core.trac.wordpress.org/ticket/61944</link>
  18.    </image>
  19.    <generator>Trac 1.2.2</generator>
  20.    <item>
  21.      
  22.        <dc:creator>mukesh27</dc:creator>
  23.  
  24.      <pubDate>Wed, 28 Aug 2024 06:46:02 GMT</pubDate>
  25.      <title>keywords set</title>
  26.      <link>https://core.trac.wordpress.org/ticket/61944#comment:1</link>
  27.      <guid isPermaLink="false">https://core.trac.wordpress.org/ticket/61944#comment:1</guid>
  28.      <description>
  29.          &lt;ul&gt;
  30.            &lt;li&gt;&lt;strong&gt;keywords&lt;/strong&gt;
  31.              &lt;em&gt;reporter-feedback&lt;/em&gt; added
  32.            &lt;/li&gt;
  33.          &lt;/ul&gt;
  34.        &lt;p&gt;
  35. Hi there!
  36. &lt;/p&gt;
  37. &lt;p&gt;
  38. The &lt;code&gt;new_user_email_content&lt;/code&gt; shows second args array. See &lt;a class="ext-link" href="https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes/user.php#L3761-L3782"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes/user.php#L3761-L3782&lt;/a&gt;
  39. &lt;/p&gt;
  40. &lt;pre class="wiki"&gt;/**
  41. * Filters the text of the email sent when a change of user email address is attempted.
  42. *
  43. * The following strings have a special meaning and will get replaced dynamically:
  44. * - ###USERNAME###  The current user's username.
  45. * - ###ADMIN_URL### The link to click on to confirm the email change.
  46. * - ###EMAIL###     The new email.
  47. * - ###SITENAME###  The name of the site.
  48. * - ###SITEURL###   The URL to the site.
  49. *
  50. * @since MU (3.0.0)
  51. * @since 4.9.0 This filter is no longer Multisite specific.
  52. *
  53. * @param string $email_text     Text in the email.
  54. * @param array  $new_user_email {
  55. *     Data relating to the new user email address.
  56. *
  57. *     @type string $hash     The secure hash used in the confirmation link URL.
  58. *     @type string $newemail The proposed new email address.
  59. * }
  60. */
  61. $content = apply_filters( 'new_user_email_content', $email_text, $new_user_email );
  62. &lt;/pre&gt;
  63.      </description>
  64.      <category>Ticket</category>
  65.    </item><item>
  66.      
  67.        <dc:creator>roytanck</dc:creator>
  68.  
  69.      <pubDate>Wed, 28 Aug 2024 06:48:30 GMT</pubDate>
  70.      <title>status changed; resolution set</title>
  71.      <link>https://core.trac.wordpress.org/ticket/61944#comment:2</link>
  72.      <guid isPermaLink="false">https://core.trac.wordpress.org/ticket/61944#comment:2</guid>
  73.      <description>
  74.          &lt;ul&gt;
  75.            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
  76.                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
  77.            &lt;/li&gt;
  78.            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
  79.                set to &lt;em&gt;invalid&lt;/em&gt;
  80.            &lt;/li&gt;
  81.          &lt;/ul&gt;
  82.        &lt;p&gt;
  83. You're right, I completely misread the docblock. Sorry about this. I'll close the ticket. Thank you.
  84. &lt;/p&gt;
  85.      </description>
  86.      <category>Ticket</category>
  87.    </item><item>
  88.      
  89.        <dc:creator>mukesh27</dc:creator>
  90.  
  91.      <pubDate>Wed, 28 Aug 2024 07:20:13 GMT</pubDate>
  92.      <title>milestone deleted</title>
  93.      <link>https://core.trac.wordpress.org/ticket/61944#comment:3</link>
  94.      <guid isPermaLink="false">https://core.trac.wordpress.org/ticket/61944#comment:3</guid>
  95.      <description>
  96.          &lt;ul&gt;
  97.            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
  98.                &lt;em&gt;Awaiting Review&lt;/em&gt; deleted
  99.            &lt;/li&gt;
  100.          &lt;/ul&gt;
  101.      </description>
  102.      <category>Ticket</category>
  103.    </item>
  104. </channel>
  105. </rss>

If you would like to create a banner that links to this page (i.e. this validation result), do the following:

  1. Download the "valid RSS" banner.

  2. Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)

  3. 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:

http://www.feedvalidator.org/check.cgi?url=https%3A//core.trac.wordpress.org/ticket/61944%3Fformat%3Drss

Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda