[wp-trac] Re: [WordPress Trac] #7968: Use "wp_die" template message
instead of plain message when Atom is disabled.
WordPress Trac
wp-trac at lists.automattic.com
Sun Oct 26 09:46:36 GMT 2008
#7968: Use "wp_die" template message instead of plain message when Atom is
disabled.
-------------------------+--------------------------------------------------
Reporter: Simek | Owner: anonymous
Type: enhancement | Status: new
Priority: lowest | Milestone: 2.7
Component: General | Version: 2.7
Severity: trivial | Resolution:
Keywords: patch |
-------------------------+--------------------------------------------------
Comment (by DD32):
The AtomServer::forbidden() function is where you should probably do that.
{{{
wp_die($reason, __('Atom Feed'), array('response' => 403) );
}}}
bundled inside that function would take care of it?
--
Ticket URL: <http://trac.wordpress.org/ticket/7968#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list