Make WordPress Core


Ignore:
Timestamp:
07/02/2008 11:07:56 PM (17 years ago)
Author:
mdawaffe
Message:

crazyhorse: merge with log:trunk@8151:8240

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/crazyhorse/wp-app.php

    r8031 r8242  
    195195            $this->redirect($this->get_service_url());
    196196        }
     197
     198        // check to see if AtomPub is enabled
     199        if( !get_option( 'enable_app' ) )
     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') ) );
    197201
    198202        // dispatch
Note: See TracChangeset for help on using the changeset viewer.