Pass AtomPub disabled messaged through translation. props josephscott. see #7157
git-svn-id: https://develop.svn.wordpress.org/trunk@8234 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e0f44cba0c
commit
a1e44c371c
@ -197,7 +197,7 @@ class AtomServer {
|
|||||||
|
|
||||||
// check to see if AtomPub is enabled
|
// check to see if AtomPub is enabled
|
||||||
if( !get_option( 'enable_app' ) )
|
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
|
// dispatch
|
||||||
foreach($this->selectors as $regex => $funcs) {
|
foreach($this->selectors as $regex => $funcs) {
|
||||||
|
Loading…
Reference in New Issue
Block a user