== Changelog == = 1.5.11 - 13 August 2024 = * Added Divi theme compatibility. * Accounted for for themes that don't use menu item selectors by adding them automatically. = 1.5.10 - 31 May 2024 = * Updated SiteOrigin Installer. * Updated Tested up to tag. * Updated Required PHP version. = 1.5.9 - 11 November 2023 = * Updated Tested up to tag. * Updated SiteOrigin Installer. = 1.5.8 - 11 August 2023 = * Updated the SiteOrigin Installer submodule. = 1.5.7 - 09 August 2023 = * Updated the expand/compress title depending on the state in the visual editor. * Updated the "Tested up to" version in the readme.txt file from 6.2 to 6.3, indicating compatibility with WordPress version 6.3. * Added SiteOrigin Installer submodule and functionality to handle the installer link and status in the editor and page templates. = 1.5.6 - 07 April 2023 = * WordPress PHP Coding Standards improvements. * Updated `Tested up to` tag. = 1.5.5 - 30 September 2022 = * Added a check to ensure WP Filesystem is setup. = 1.5.4 - 28 September 2022 = * Developer: Introduced definable Custom CSS file name and location using `siteorigin_custom_css_file` and `siteorigin_css_enqueue_css`. = 1.5.3 - 25 May 2022 = * Updated WordPress `Tested up to` tag. = 1.5.2 - 27 January 2022 = * Updated `Tested up to` tag to `5.9`. = 1.5.1 - 30 December 2021 = * Basic Editor Theme Setting: Updated field to show selected option. = 1.5.0 - 16 December 2021 = * Basic Editor: Added a dark theme option. * Ajax Saving: Resolved unintended slashes added during escaping. = 1.4.3 - 29 November 2021 = * Restored editor scrollbar. * Added a fixed editor height. = 1.4.2 - 08 November 2021 = * Fixed string translation functions. = 1.4.1 - 02 November 2021 = * Removed Save button rounding. * Fixed Visual Editor `Navigate To` link functionality. = 1.4.0 - 11 October 2021 = * Added Ajax saving. Users can now save in the expanded and visual editors without exiting to basic editor. * Expanded/Visual toolbar buttons re-ordered for consistency between modes. * Removed Font Awesome. Icons are now added via a custom font. = 1.3.2 - 20 July 2021 = * Updated `Tested up to` tag. = 1.3.1 - 10 July 2021 = * Updated the Plugins page action link list. = 1.3.0 - 14 June 2021 = * Inspector: Added a new Border Radius setting to the Decoration tab. * Allowed for right-clicking anywhere in the Basic Editor. = 1.2.14 - 26 April 2021 = * Resolved Photo Gallery by 10Web plugin conflict. = 1.2.13 - 01 February 2021 = * Inspector: Added support for WooCommerce single product tabs. * Inspector: Highlight important classes when element with class is selected. * Restored the scrollbar in the Custom CSS content field. * Developer: Further changes for jQuery 3.5. * Developer: For WP 4.9+ use the WordPress version of CodeMirror if available. * Developer: Removed `socss-codemirror-show-hint` as a dependency. The script can now be removed to disable hints. = 1.2.12 - 12 December 2020 = * Developer: jQuery updates for WordPress 5.6. = 1.2.11 - 21 October 2020 = * Fixed Background image setting writing to CSS. = 1.2.10 - 09 September 2020 = * Increased the specificity of the Save CSS button styling to prevent plugin conflicts. = 1.2.9 - 29 July 2020 = * Resolved Font Family field output. = 1.2.8 - 22 May 2020 = * Renamed `custom_css` textarea to prevent conflicts. = 1.2.7 - 19 May 2020 = * Restored `Save` button functionality. = 1.2.6 - 15 May 2020 = * Minor visual editor form styling fixes. * Resolved PHP 7.4 `preg_replace()` warning. * Moved the basic editor Save button to the sidebar. = 1.2.5 - 05 February 2020 = * Removed `themeCSS` localized script to prevent `preg_replace()` warning. * Minor form styling fixes. * Updated CSS NPM library. * Rebuilt minified files using new build script. = 1.2.4 - 17 January 2019 = * Prefix so-css for all codemirror assets. * Prevent JS error when attempting to set active element to null. = 1.2.3 - 25 June 2018 = * Add preview iframe 'load' event listener in `render` function. * Reverted change to stylesheet hook. = 1.2.2 - 16 June 2018 = * Removed reference to non-existent view. = 1.2.1 - 15 June 2018 = * Removed `.min` suffix from new stylesheets for CodeMirror plugins. = 1.2.0 - 6 June 2018 = * Updated CSS library. * UI changes to make it more obvious when viewing revision. * Ensure revisions are sorted in descending time order. * Don't link to revision currently being displayed. * Add search functionality to editor. * Enable persistent search and JumpToLine. = 1.1.5 - 19 September 2017 = * Use `home_url` instead of `site_url` to determine where to open CSS preview. * Increment and decrement buttons work when value empty or zero. Also added repeating action while button held down. * Scroll editor instead of the whole page so 'Save' button is always visible. * Set color CSS on visual editor and inspector. * Saving generated CSS to stylesheet file in uploads directory. = 1.1.4 - 31 January 2017 = * Updated CodeMirror to 2.25.2. * Removed extra line padding. * Better integration with WordPress.org translation. = 1.1.3 - 31 January 2017 = * Removed leading slash in paths after plugin_dir_url(). * Updated to latest CodeMirror. * Fixed padding issue that was causing problems with Firefox and the color picker. = 1.1.2 - 11 November 2016 = * Ignore anything other than actual rules in media query subrules. * Removed depreciated jQuery function. * Updated CSSLint library. * Updated minicolors. = 1.1.1 - 28 September 2016 = * Properly handle errors in frontend CSS. * Added notice about SiteOrigin Premium. = 1.1 - 26 September 2016 = * Changed CSS parsing library. Fixed several issues with the visual editor mode. * Added address bar to preview window. * Small CSS fixes. * Small changes to allow adding more visual editor fields. = 1.0.8 - 15 August 2016 = * Fixed action link. * Support for GlotPress. * Removed unused code. * Handling of @imports for future addons. = 1.0.7 - 4 July 2016 = * Ensure user can copy/paste in editor via context menu. * Added plugin action links * Add classes on `body` element to selectors window. = 1.0.6 - 24 February 2016 = * Disabled autocompletion on single item (automatic autocompletion). * Fixed conflict with NextGen Gallery. * Only display relevant linting messages. = 1.0.5 - 21 January 2016 = * Updated to latest version of Code Mirror. = 1.0.4 - 10 November 2015 = * Fixed CSS parsing when going into visual mode. = 1.0.3 - 29 October 2015 = * Changed video image * Adjust revision times by GMT offset. * Don't overwrite media queries sub styles, rather just append them. = 1.0.2 = * Dequeue functionality that conflicted with WordPress color picker, if it's enqueued. * Removed wp_styles for compatibility with older versions of WordPress = 1.0.1 = * Fixed conflicts with CSS editor in SiteOrigin themes. * Force dequeue scripts that cause problems with main editing interface. * Made it easier to follow links with inspector enabled. = 1.0 = * Initial release. === WordPress Importer === Contributors: wordpressdotorg Donate link: https://wordpressfoundation.org/donate/ Tags: importer, wordpress Requires at least: 5.2 Tested up to: 6.7 Requires PHP: 5.6 Stable tag: 0.8.3 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file. == Description == The WordPress Importer will import the following content from a WordPress export file: * Posts, pages and other custom post types * Comments and comment meta * Custom fields and post meta * Categories, tags and terms from custom taxonomies and term meta * Authors For further information and instructions please see the [documention on Importing Content](https://wordpress.org/support/article/importing-content/#wordpress). == Installation == The quickest method for installing the importer is: 1. Visit Tools -> Import in the WordPress dashboard 1. Click on the WordPress link in the list of importers 1. Click "Install Now" 1. Finally click "Activate Plugin & Run Importer" If you would prefer to do things manually then follow these instructions: 1. Upload the `wordpress-importer` folder to the `/wp-content/plugins/` directory 1. Activate the plugin through the 'Plugins' menu in WordPress 1. Go to the Tools -> Import screen, click on WordPress == Changelog == = 0.8.3 = * Update compatibility tested-up-to to WordPress 6.7. * Update call to `post_exists` to include `post_type` in the query * PHP 8.4 compatibility fixes. = 0.8.2 = * Update compatibility tested-up-to to WordPress 6.4.2. * Update doc URL references. * Adjust workflow triggers. = 0.8.1 = * Update compatibility tested-up-to to WordPress 6.2. * Update paths to build status badges. = 0.8 = * Update minimum WordPress requirement to 5.2. * Update minimum PHP requirement to 5.6. * Update compatibility tested-up-to to WordPress 6.1. * PHP 8.0, 8.1, and 8.2 compatibility fixes. * Fix a bug causing blank lines in content to be ignored when using the Regex Parser. * Fix a bug resulting in a PHP fatal error when IMPORT_DEBUG is enabled and a category creation error occurs. * Improved Unit testing & automated testing. = 0.7 = * Update minimum WordPress requirement to 3.7 and ensure compatibility with PHP 7.4. * Fix bug that caused not importing term meta. * Fix bug that caused slashes to be stripped from imported meta data. * Fix bug that prevented import of serialized meta data. * Fix file size check after download of remote files with HTTP compression enabled. * Improve accessibility of form fields by adding missing labels. * Improve imports for remote file URLs without name and/or extension. * Add support for `wp:base_blog_url` field to allow importing multiple files with WP-CLI. * Add support for term meta parsing when using the regular expressions or XML parser. * Developers: All PHP classes have been moved into their own files. * Developers: Allow to change `IMPORT_DEBUG` via `wp-config.php` and change default value to the value of `WP_DEBUG`. = 0.6.4 = * Improve PHP7 compatibility. * Fix bug that caused slashes to be stripped from imported comments. * Fix for various deprecation notices including `wp_get_http()` and `screen_icon()`. * Fix for importing export files with multiline term meta data. = 0.6.3 = * Add support for import term metadata. * Fix bug that caused slashes to be stripped from imported content. * Fix bug that caused characters to be stripped inside of CDATA in some cases. * Fix PHP notices. = 0.6.2 = * Add `wp_import_existing_post` filter, see [Trac ticket #33721](https://core.trac.wordpress.org/ticket/33721). = 0.6 = * Support for WXR 1.2 and multiple CDATA sections * Post aren't duplicates if their post_type's are different = 0.5.2 = * Double check that the uploaded export file exists before processing it. This prevents incorrect error messages when an export file is uploaded to a server with bad permissions and WordPress 3.3 or 3.3.1 is being used. = 0.5 = * Import comment meta (requires export from WordPress 3.2) * Minor bugfixes and enhancements = 0.4 = * Map comment user_id where possible * Import attachments from `wp:attachment_url` * Upload attachments to correct directory * Remap resized image URLs correctly = 0.3 = * Use an XML Parser if possible * Proper import support for nav menus * ... and much more, see [Trac ticket #15197](https://core.trac.wordpress.org/ticket/15197) = 0.1 = * Initial release == Frequently Asked Questions == = Help! I'm getting out of memory errors or a blank screen. = If 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](https://wordpress.org/support/article/importing-content/#before-importing) == Filters == The importer has a couple of filters to allow you to completely enable/block certain features: * `import_allow_create_users`: return false if you only want to allow mapping to existing users * `import_allow_fetch_attachments`: return false if you do not wish to allow importing and downloading of attachments * `import_attachment_size_limit`: return an integer value for the maximum file size in bytes to save (default is 0, which is unlimited) There are also a few actions available to hook into: * `import_start`: occurs after the export file has been uploaded and author import settings have been chosen * `import_end`: called after the last output from the importer /*! ./QueryClientProvider.js */ /*! ./QueryErrorResetBoundary.js */ /*! ./cjs/react-jsx-runtime.development.js */ /*! ./errorBoundaryUtils.js */ /*! ./focusManager.js */ /*! ./infiniteQueryBehavior.js */ /*! ./isRestoring.js */ /*! ./mutation.js */ /*! ./mutationCache.js */ /*! ./notifyManager.js */ /*! ./onlineManager.js */ /*! ./query.js */ /*! ./queryCache.js */ /*! ./queryObserver.js */ /*! ./removable.js */ /*! ./retryer.js */ /*! ./subscribable.js */ /*! ./suspense.js */ /*! ./useBaseQuery.js */ /*! ./utils.js */ /*! @tanstack/query-core */ /*! @tanstack/react-query */ /*! react */ /*! react/jsx-runtime */ /*!**************************!*\ !*** external ["React"] ***! \**************************/ /*!*******************************************!*\ !*** ./node_modules/react/jsx-runtime.js ***! \*******************************************/ /*!******************************************************!*\ !*** ./node_modules/@elementor/query/dist/index.mjs ***! \******************************************************/ /*!*****************************************************************!*\ !*** ./node_modules/@tanstack/query-core/build/modern/query.js ***! \*****************************************************************/ /*!*****************************************************************!*\ !*** ./node_modules/@tanstack/query-core/build/modern/utils.js ***! \*****************************************************************/ /*!*****************************************************************!*\ !*** ./node_modules/react/cjs/react-jsx-runtime.development.js ***! \*****************************************************************/ /*!******************************************************************!*\ !*** ./node_modules/@tanstack/react-query/build/modern/utils.js ***! \******************************************************************/ /*!*******************************************************************!*\ !*** ./node_modules/@tanstack/query-core/build/modern/retryer.js ***! \*******************************************************************/ /*!********************************************************************!*\ !*** ./node_modules/@tanstack/query-core/build/modern/mutation.js ***! \********************************************************************/ /*!*********************************************************************!*\ !*** ./node_modules/@tanstack/query-core/build/modern/removable.js ***! \*********************************************************************/ /*!*********************************************************************!*\ !*** ./node_modules/@tanstack/react-query/build/modern/suspense.js ***! \*********************************************************************/ /*!*********************************************************************!*\ !*** ./node_modules/@tanstack/react-query/build/modern/useQuery.js ***! \*********************************************************************/ /*!**********************************************************************!*\ !*** ./node_modules/@tanstack/query-core/build/modern/queryCache.js ***! \**********************************************************************/ /*!***********************************************************************!*\ !*** ./node_modules/@tanstack/query-core/build/modern/queryClient.js ***! \***********************************************************************/ /*!************************************************************************!*\ !*** ./node_modules/@tanstack/query-core/build/modern/focusManager.js ***! \************************************************************************/ /*!************************************************************************!*\ !*** ./node_modules/@tanstack/query-core/build/modern/subscribable.js ***! \************************************************************************/ /*!************************************************************************!*\ !*** ./node_modules/@tanstack/react-query/build/modern/isRestoring.js ***! \************************************************************************/ /*!************************************************************************!*\ !*** ./node_modules/@tanstack/react-query/build/modern/useMutation.js ***! \************************************************************************/ /*!*************************************************************************!*\ !*** ./node_modules/@tanstack/query-core/build/modern/mutationCache.js ***! \*************************************************************************/ /*!*************************************************************************!*\ !*** ./node_modules/@tanstack/query-core/build/modern/notifyManager.js ***! \*************************************************************************/ /*!*************************************************************************!*\ !*** ./node_modules/@tanstack/query-core/build/modern/onlineManager.js ***! \*************************************************************************/ /*!*************************************************************************!*\ !*** ./node_modules/@tanstack/query-core/build/modern/queryObserver.js ***! \*************************************************************************/ /*!*************************************************************************!*\ !*** ./node_modules/@tanstack/react-query/build/modern/useBaseQuery.js ***! \*************************************************************************/ /*!****************************************************************************!*\ !*** ./node_modules/@tanstack/query-core/build/modern/mutationObserver.js ***! \****************************************************************************/ /*!*****************************************************************************!*\ !*** ./node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js ***! \*****************************************************************************/ /*!*******************************************************************************!*\ !*** ./node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js ***! \*******************************************************************************/ /*!********************************************************************************!*\ !*** ./node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js ***! \********************************************************************************/ /*!*********************************************************************************!*\ !*** ./node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js ***! \*********************************************************************************/ /*!*********************************************************************************!*\ !*** ./node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.js ***! \*********************************************************************************/ /*!************************************************************************************!*\ !*** ./node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js ***! \************************************************************************************/