[wp-trac] [WordPress Trac] #35393: should "publish_future_post" be "wp_publish_future_post"?
WordPress Trac
noreply at wordpress.org
Sun Jan 10 21:25:57 UTC 2016
#35393: should "publish_future_post" be "wp_publish_future_post"?
-------------------------+----------------------
Reporter: ixmati | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Cron API | Version: 4.4.1
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
-------------------------+----------------------
Comment (by ixmati):
OK, understood. Thanks for the explanation and the read.
I was thinking maybe something like an alias so the code could become more
standardized and be backward compatible:
{{{
use function wp_publish_future_post as publish_future_post;
}}}
But inspired by @nacin, I'll file this personally under "Code should not
be rewritten under the cloaks of readability, narrow personal opinion, or
general subjectiveness."
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35393#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list