Changeset 19593 for trunk/wp-app.php
- Timestamp:
- 12/13/2011 11:45:31 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-app.php
r19074 r19593 286 286 // check to see if AtomPub is enabled 287 287 if ( !get_option( 'enable_app' ) ) 288 $this->forbidden( sprintf( __( 'AtomPub services are disabled on this site. 288 $this->forbidden( sprintf( __( 'AtomPub services are disabled on this site. An admin user can enable them at %s' ), admin_url('options-writing.php') ) ); 289 289 290 290 // dispatch … … 371 371 $cats = get_categories(array('hierarchical' => 0, 'hide_empty' => 0)); 372 372 foreach ( (array) $cats as $cat ) { 373 $categories .= " <category term=\"" . esc_attr($cat->name) . 373 $categories .= " <category term=\"" . esc_attr($cat->name) . "\" />\n"; 374 374 } 375 375 $output = <<<EOD
Note: See TracChangeset
for help on using the changeset viewer.