开发者 | wordpressdotorg |
---|---|
更新时间 | 2025年9月27日 05:07 |
捐献地址: | 去捐款 |
PHP版本: | 7.2 及以上 |
WordPress版本: | 6.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
wordpress-importer
folder to the /wp-content/plugins/
directoryIf your exported file is very large, the import script may run into your host's configured memory limit for PHP. A message like "Fatal error: Allowed memory size of 8388608 bytes exhausted" indicates that the script can't successfully import your XML file under the current PHP memory limit. If you have access to the php.ini file, you can manually increase the limit; if you do not (your WordPress installation is hosted on a shared server, for instance), you might have to break your exported XML file into several smaller pieces and run the import script one at a time. For those with shared hosting, the best alternative may be to consult hosting support to determine the safest approach for running the import. A host may be willing to temporarily lift the memory limit and/or run the process directly from their end. -- Support Article: Importing Content
WXR_Parser_XML_Processor
that replaces the
deprecated WXR_Parser_Regex
class.post_exists
to include post_type
in the querywp:base_blog_url
field to allow importing multiple files with WP-CLI.IMPORT_DEBUG
via wp-config.php
and change default value to the value of WP_DEBUG
.wp_get_http()
and screen_icon()
.wp_import_existing_post
filter, see Trac ticket #33721.wp:attachment_url