/home/vianto5/.trash/cititower.mx/wp-admin/includes
NameSizeModeActions
admin-filters.php79970644editdlrm
admin.php36280644editdlrm
ajax-actions.php1515320644editdlrm
bookmark.php116150644editdlrm
class-automatic-upgrader-skin.php36630644editdlrm
class-bulk-plugin-upgrader-skin.php25900644editdlrm
class-bulk-theme-upgrader-skin.php26600644editdlrm
class-bulk-upgrader-skin.php67530644editdlrm
class-core-upgrader.php150070644editdlrm
class-custom-background.php216190644editdlrm
class-custom-image-header.php490640644editdlrm
class-file-upload-upgrader.php41630644editdlrm
class-ftp-pure.php54260644editdlrm
class-ftp-sockets.php84790644editdlrm
class-ftp.php273040644editdlrm
class-language-pack-upgrader-skin.php28700644editdlrm
class-language-pack-upgrader.php155610644editdlrm
class-pclzip.php1967000644editdlrm
class-plugin-installer-skin.php120470644editdlrm
class-plugin-upgrader-skin.php32780644editdlrm
class-plugin-upgrader.php233340644editdlrm
class-theme-installer-skin.php127280644editdlrm
class-theme-upgrader-skin.php41760644editdlrm
class-theme-upgrader.php267940644editdlrm
class-walker-category-checklist.php48980644editdlrm
class-walker-nav-menu-checklist.php56280644editdlrm
class-walker-nav-menu-edit.php132490644editdlrm
class-wp-ajax-upgrader-skin.php41930644editdlrm
class-wp-application-passwords-list-table.php69490644editdlrm
class-wp-automatic-updater.php611480644editdlrm
class-wp-comments-list-table.php324390644editdlrm
class-wp-community-events.php187690644editdlrm
class-wp-debug-data.php616450644editdlrm
class-wp-filesystem-base.php244100644editdlrm
class-wp-filesystem-direct.php181430644editdlrm
class-wp-filesystem-ftpext.php231010644editdlrm
class-wp-filesystem-ftpsockets.php184790644editdlrm
class-wp-filesystem-ssh2.php233100644editdlrm
class-wp-importer.php74650644editdlrm
class-wp-internal-pointers.php45770644editdlrm
class-wp-links-list-table.php91750644editdlrm
class-wp-list-table-compat.php14970644editdlrm
class-wp-list-table.php528480644editdlrm
class-wp-media-list-table.php255690644editdlrm
class-wp-ms-sites-list-table.php220170644editdlrm
class-wp-ms-themes-list-table.php282780644editdlrm
class-wp-ms-users-list-table.php152210644editdlrm
class-wp-plugin-install-list-table.php247200644editdlrm
class-wp-plugins-list-table.php577260644editdlrm
class-wp-post-comments-list-table.php14530644editdlrm
class-wp-posts-list-table.php637980644editdlrm
class-wp-privacy-data-export-requests-list-table.php55630644editdlrm
class-wp-privacy-data-removal-requests-list-table.php57150644editdlrm
class-wp-privacy-policy-content.php327700644editdlrm
class-wp-privacy-requests-table.php139740644editdlrm
class-wp-screen.php373270644editdlrm
class-wp-site-health-auto-updates.php135050644editdlrm
class-wp-site-health.php1225520644editdlrm
class-wp-site-icon.php64140644editdlrm
class-wp-terms-list-table.php211820644editdlrm
class-wp-theme-install-list-table.php157360644editdlrm
class-wp-themes-list-table.php102880644editdlrm
class-wp-upgrader-skin.php71100644editdlrm
class-wp-upgrader-skins.php14770644editdlrm
class-wp-upgrader.php470510644editdlrm
class-wp-users-list-table.php190580644editdlrm
comment.php61210644editdlrm
continents-cities.php205400644editdlrm
credits.php59410644editdlrm
dashboard.php702080644editdlrm
deprecated.php417760644editdlrm
edit-tag-messages.php14780644editdlrm
export.php255650644editdlrm
file.php984150644editdlrm
image-edit.php433600644editdlrm
image.php418680644editdlrm
import.php66760644editdlrm
list-table.php38020644editdlrm
media.php1188850644editdlrm
menu.php96180644editdlrm
meta-boxes.php661340644editdlrm
misc.php464580644editdlrm
ms-admin-filters.php12960644editdlrm
ms-deprecated.php37700644editdlrm
ms.php339580644editdlrm
nav-menu.php488980644editdlrm
network.php269800644editdlrm
noop.php11480644editdlrm
options.php42510644editdlrm
plugin-install.php399500644editdlrm
plugin.php929110644editdlrm
post.php816400644editdlrm
privacy-tools.php334620644editdlrm
revision.php161420644editdlrm
schema.php426670644editdlrm
screen.php63780644editdlrm
taxonomy.php84240644editdlrm
template.php983130644editdlrm
theme-install.php69900644editdlrm
theme.php478090644editdlrm
translation-install.php89150644editdlrm
update-core.php669800644editdlrm
update.php345780644editdlrm
upgrade.php1130950644editdlrm
user.php235140644editdlrm
widgets.php109120644editdlrm
Edit: /home/vianto5/.trash/cititower.mx/wp-admin/includes/import.php (6676B)
sprintf( /* translators: 1: php.ini, 2: post_max_size, 3: upload_max_filesize */ __( 'File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your %1$s file or by %2$s being defined as smaller than %3$s in %1$s.' ), 'php.ini', 'post_max_size', 'upload_max_filesize' ), ); } $overrides = array( 'test_form' => false, 'test_type' => false, ); $_FILES['import']['name'] .= '.txt'; $upload = wp_handle_upload( $_FILES['import'], $overrides ); if ( isset( $upload['error'] ) ) { return $upload; } // Construct the attachment array. $attachment = array( 'post_title' => wp_basename( $upload['file'] ), 'post_content' => $upload['url'], 'post_mime_type' => $upload['type'], 'guid' => $upload['url'], 'context' => 'import', 'post_status' => 'private', ); // Save the data. $id = wp_insert_attachment( $attachment, $upload['file'] ); /* * Schedule a cleanup for one day from now in case of failed * import or missing wp_import_cleanup() call. */ wp_schedule_single_event( time() + DAY_IN_SECONDS, 'importer_scheduled_cleanup', array( $id ) ); return array( 'file' => $upload['file'], 'id' => $id, ); } /** * Returns a list from WordPress.org of popular importer plugins. * * @since 3.5.0 * * @return array Importers with metadata for each. */ function wp_get_popular_importers() { // Include an unmodified $wp_version. require ABSPATH . WPINC . '/version.php'; $locale = get_user_locale(); $cache_key = 'popular_importers_' . md5( $locale . $wp_version ); $popular_importers = get_site_transient( $cache_key ); if ( ! $popular_importers ) { $url = add_query_arg( array( 'locale' => $locale, 'version' => $wp_version, ), 'http://api.wordpress.org/core/importers/1.1/' ); $options = array( 'user-agent' => 'WordPress/' . $wp_version . '; ' . home_url( '/' ) ); if ( wp_http_supports( array( 'ssl' ) ) ) { $url = set_url_scheme( $url, 'https' ); } $response = wp_remote_get( $url, $options ); $popular_importers = json_decode( wp_remote_retrieve_body( $response ), true ); if ( is_array( $popular_importers ) ) { set_site_transient( $cache_key, $popular_importers, 2 * DAY_IN_SECONDS ); } else { $popular_importers = false; } } if ( is_array( $popular_importers ) ) { // If the data was received as translated, return it as-is. if ( $popular_importers['translated'] ) { return $popular_importers['importers']; } foreach ( $popular_importers['importers'] as &$importer ) { // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText $importer['description'] = translate( $importer['description'] ); if ( 'WordPress' !== $importer['name'] ) { // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText $importer['name'] = translate( $importer['name'] ); } } return $popular_importers['importers']; } return array( // slug => name, description, plugin slug, and register_importer() slug. 'blogger' => array( 'name' => __( 'Blogger' ), 'description' => __( 'Import posts, comments, and users from a Blogger blog.' ), 'plugin-slug' => 'blogger-importer', 'importer-id' => 'blogger', ), 'wpcat2tag' => array( 'name' => __( 'Categories and Tags Converter' ), 'description' => __( 'Convert existing categories to tags or tags to categories, selectively.' ), 'plugin-slug' => 'wpcat2tag-importer', 'importer-id' => 'wp-cat2tag', ), 'livejournal' => array( 'name' => __( 'LiveJournal' ), 'description' => __( 'Import posts from LiveJournal using their API.' ), 'plugin-slug' => 'livejournal-importer', 'importer-id' => 'livejournal', ), 'movabletype' => array( 'name' => __( 'Movable Type and TypePad' ), 'description' => __( 'Import posts and comments from a Movable Type or TypePad blog.' ), 'plugin-slug' => 'movabletype-importer', 'importer-id' => 'mt', ), 'rss' => array( 'name' => __( 'RSS' ), 'description' => __( 'Import posts from an RSS feed.' ), 'plugin-slug' => 'rss-importer', 'importer-id' => 'rss', ), 'tumblr' => array( 'name' => __( 'Tumblr' ), 'description' => __( 'Import posts & media from Tumblr using their API.' ), 'plugin-slug' => 'tumblr-importer', 'importer-id' => 'tumblr', ), 'wordpress' => array( 'name' => 'WordPress', 'description' => __( 'Import posts, pages, comments, custom fields, categories, and tags from a WordPress export file.' ), 'plugin-slug' => 'wordpress-importer', 'importer-id' => 'wordpress', ), ); }