Changeset 11812
- Timestamp:
- 08/13/2009 08:52:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-app.php
r11810 r11812 356 356 $categories_url = esc_attr($this->get_categories_url()); 357 357 $media_url = esc_attr($this->get_attachments_url()); 358 $accepted_media_types = ''; 358 359 foreach ($this->media_content_types as $med) { 359 360 $accepted_media_types = $accepted_media_types . "<accept>" . $med . "</accept>"; … … 878 879 */ 879 880 function get_entries_url($page = null) { 880 if ($GLOBALS['post_type'] == 'attachment') {881 if ( isset($GLOBALS['post_type']) && ( $GLOBALS['post_type'] == 'attachment' ) ) { 881 882 $path = $this->MEDIA_PATH; 882 883 } else {
Note: See TracChangeset
for help on using the changeset viewer.