Ticket #7157: wp-app.php.2.diff

File wp-app.php.2.diff, 619 bytes (added by josephscott, 5 years ago)
  • wp-app.php

     
    197197 
    198198                // check to see if AtomPub is enabled 
    199199                if( !get_option( 'enable_app' ) ) 
    200                         $this->not_allowed( 'AtomPub services are disabled on this blog.  An admin user can enable them at ' . admin_url('options-writing.php') ); 
     200                        $this->not_allowed( sprintf( __( 'AtomPub services are disabled on this blog.  An admin user can enable them at %s' ), admin_url('options-writing.php') ) ); 
    201201 
    202202                // dispatch 
    203203                foreach($this->selectors as $regex => $funcs) {