Changeset 20063 for trunk/wp-app.php
- Timestamp:
- 03/01/2012 09:35:15 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-app.php
r20062 r20063 27 27 $_SERVER['PATH_INFO'] = preg_replace( '/.*\/wp-app\.php/', '', $_SERVER['REQUEST_URI'] ); 28 28 29 // Allow for a plugin to insert a different class to handle requests. 30 $wp_atom_server_class = apply_filters('wp_atom_server_class', 'wp_atom_server'); 31 $wp_atom_server = new $wp_atom_server_class; 32 33 // Handle the request 34 $wp_atom_server->handle_request(); 35 36 exit; 37 29 38 /** 30 39 * Writes logging info to a file. … … 43 52 error_log( $label . ' - ' . $message ); 44 53 } 45 46 // Allow for a plugin to insert a different class to handle requests.47 $wp_atom_server_class = apply_filters('wp_atom_server_class', 'wp_atom_server');48 $wp_atom_server = new $wp_atom_server_class;49 50 // Handle the request51 $wp_atom_server->handle_request();
Note: See TracChangeset
for help on using the changeset viewer.