Plugin Directory

Changeset 3389458


Ignore:
Timestamp:
11/04/2025 09:01:18 AM (4 months ago)
Author:
smackcoders
Message:

V2.18 update - slim seo support

Location:
wp-ultimate-exporter
Files:
30 added
3 edited

Legend:

Unmodified
Added
Removed
  • wp-ultimate-exporter/trunk/Readme.txt

    r3346878 r3389458  
    1 === Export All Posts, Products, Orders, Refunds & Users ===
     1=== Export All Posts, Products, Orders, Refunds & Users ===
    22Contributors: smackcoders, riswanasmack, premairuthayarajan
    33Donate link: https://www.paypal.me/smackcoders
     
    66Tested up to: 6.8
    77Requires PHP: 7.4
    8 Stable tag: 2.17.1
    9 Version: 2.17.1
     8Stable tag: 2.18
     9Version: 2.18
    1010Author URI: https://www.smackcoders.com/wp-ultimate-csv-importer-pro.html
    1111License: GPLv2 or later
     
    226226No, there is no limitation on the number of records you can export.
    227227
    228 = 8. What is export_wp and how Can I use it? =
     228= 8. What is export_wp and how can I use it? =
    229229
    230230export_wp is a function for WordPress that generates the WXR export file for download. By default, this function can export all the content for post types with the can_export argument enabled and skip posts with ‘auto-draft’ status.
     
    411411
    412412== Changelog ==
     413
     414= 2.18 =
     415
     416* Added: Support for Slim SEO plugin data export
     417* Fixed: Minor bugs
    413418
    414419= 2.17.1 =
     
    857862== Upgrade Notice ==
    858863
    859 = 2.17 =
    860 
    861 Upgrade now to export ACF advanced fields like date picker, time, datetime, etc., introduced in this new release.
    862 
     864= 2.18 =
     865
     866Upgrade to version 2.18 to export Slim SEO plugin data with ease and enjoy a smoother experience with a few minor bug fixes.
     867
  • wp-ultimate-exporter/trunk/exportExtensions/ExportExtension.php

    r3288286 r3389458  
    29352935                                    $rowValue[$key] = $this->returnMetaValueAsCustomerInput($rowValue['wpcr3_' . $key], $hKey);
    29362936                                }
     2937                                else if (is_plugin_active('slim-seo/slim-seo.php')) {
     2938
     2939    $slimseo_keys = ['title','description','canonical','noindex','nofollow','redirect','facebook_image','twitter_image'];
     2940
     2941    if (in_array($key, $slimseo_keys)) {
     2942
     2943        $slim_seo_meta = get_post_meta($recordId, 'slim_seo', true);
     2944
     2945        if (empty($slim_seo_meta)) {
     2946            $rowValue[$key] = '';
     2947        } else {
     2948            if (is_serialized($slim_seo_meta)) {
     2949                $slim_seo_meta = maybe_unserialize($slim_seo_meta);
     2950            }
     2951
     2952            if (in_array($key, ['facebook_image','twitter_image']) && is_array($slim_seo_meta[$key])) {
     2953                $rowValue[$key] = isset($slim_seo_meta[$key]['url']) ? $slim_seo_meta[$key]['url'] : '';
     2954            } else {
     2955                $rowValue[$key] = isset($slim_seo_meta[$key]) ? $slim_seo_meta[$key] : '';
     2956            }
     2957
     2958        }
     2959
     2960        $result[$recordId][$key] = $rowValue[$key];
     2961        continue;
     2962    }
     2963}
     2964
    29372965                                else
    29382966                                {
  • wp-ultimate-exporter/trunk/wp-ultimate-exporter.php

    r3346878 r3389458  
    1111 * @wordpress-plugin
    1212 * Plugin Name: WP Ultimate Exporter
    13  * Version:     2.17.1
     13 * Version:     2.18
    1414 * Plugin URI:  https://www.smackcoders.com/ultimate-exporter.html
    1515 * Description: Backup tool to export all your WordPress data as CSV file. eCommerce data of WooCommerce, eCommerce, Custom Post and Custom field information along with default WordPress modules.
     
    3939    exit; // Exit if accessed directly
    4040
    41 define('IMPORTER_VERSION', '7.22');
    42 define('EXPORTER_VERSION', '2.17.1');
     41define('IMPORTER_VERSION', '7.33');
     42define('EXPORTER_VERSION', '2.18');
    4343require_once('Plugin.php');
    4444require_once('SmackExporterInstall.php');
Note: See TracChangeset for help on using the changeset viewer.