WordPress.org

Make WordPress Core

Ticket #7968: wp_app.die.patch

File wp_app.die.patch, 647 bytes (added by Simek, 5 years ago)
  • wp-app.php

     
    309309 
    310310                // check to see if AtomPub is enabled 
    311311                if( !get_option( 'enable_app' ) ) 
    312                         $this->forbidden( sprintf( __( 'AtomPub services are disabled on this blog.  An admin user can enable them at %s' ), admin_url('options-writing.php') ) ); 
     312                        $this->forbidden( wp_die( sprintf( __( 'AtomPub services are disabled on this blog. An admin user can enable them at %s' ), admin_url('options-writing.php') ) ) ); 
    313313 
    314314                // dispatch 
    315315                foreach($this->selectors as $regex => $funcs) {