Sunday, July 24, 2022
HomeWordPress Developmentcore - When is the wp-mail.php within the WP root requested?

core – When is the wp-mail.php within the WP root requested?


However I’m wondering, when is that this file being executed? It appears to not be used anymore.

The outdated Codex data right here:

https://codex.wordpress.org/Post_to_your_blog_using_email

mentions this being deprecated and recommends utilizing plugins as an alternative.

It appears to be the person’s personal accountability to run wp-mail.php to fetch posts from the mailbox, both through hook, calling the file manually through browser or through a cron job. See the Codex hyperlink above for code examples.

This looks like a really gradual deprecation because it nonetheless ships with WordPress core:

https://github.com/WordPress/WordPress/blob/d61b86229736b550457ef7d61563e17c50de9561/wp-mail.php

The ticket to take away it’s right here:

https://core.trac.wordpress.org/ticket/22942

and the outdated dev blogs right here:

https://make.wordpress.org/core/tag/post-by-email/

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments