Ticket #7157: wp-app.php.diff
| File wp-app.php.diff, 699 bytes (added by , 18 years ago) |
|---|
-
wp-app.php
195 195 $this->redirect($this->get_service_url()); 196 196 } 197 197 198 // check to see if AtomPub is enabled 199 if( !get_option( 'enable_app' ) ) 200 $this->not_allowed( 'AtomPub services are disbaled on this blog. An admin user can enable them at ' . get_bloginfo( 'wpurl' ) . '/wp-admin/options-writing.php' ); 201 198 202 // dispatch 199 203 foreach($this->selectors as $regex => $funcs) { 200 204 if(preg_match($regex, $path, $matches)) { … … 1187 1191 $server = new AtomServer(); 1188 1192 $server->handle_request(); 1189 1193 1190 ?> 1191 No newline at end of file 1194 ?>