Changeset 47084 for trunk/src/wp-admin/includes/import.php
- Timestamp:
- 01/18/2020 12:52:28 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/import.php
r47043 r47084 104 104 } 105 105 106 // Construct the object array 106 // Construct the object array. 107 107 $object = array( 108 108 'post_title' => wp_basename( $upload['file'] ), … … 114 114 ); 115 115 116 // Save the data 116 // Save the data. 117 117 $id = wp_insert_attachment( $object, $upload['file'] ); 118 118 … … 137 137 */ 138 138 function wp_get_popular_importers() { 139 include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version139 include( ABSPATH . WPINC . '/version.php' ); // Include an unmodified $wp_version. 140 140 141 141 $locale = get_user_locale(); … … 185 185 186 186 return array( 187 // slug => name, description, plugin slug, and register_importer() slug 187 // slug => name, description, plugin slug, and register_importer() slug. 188 188 'blogger' => array( 189 189 'name' => __( 'Blogger' ),
Note: See TracChangeset
for help on using the changeset viewer.