Pass AtomPub disabled messaged through translation. props josephscott. see #7157
git-svn-id: http://svn.automattic.com/wordpress/trunk@8234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
270555de54
commit
9772330eb6
|
@ -197,7 +197,7 @@ class AtomServer {
|
|||
|
||||
// check to see if AtomPub is enabled
|
||||
if( !get_option( 'enable_app' ) )
|
||||
$this->not_allowed( 'AtomPub services are disabled on this blog. An admin user can enable them at ' . admin_url('options-writing.php') );
|
||||
$this->not_allowed( sprintf( __( 'AtomPub services are disabled on this blog. An admin user can enable them at %s' ), admin_url('options-writing.php') ) );
|
||||
|
||||
// dispatch
|
||||
foreach($this->selectors as $regex => $funcs) {
|
||||
|
|
Loading…
Reference in New Issue