oik-clone v2.0.0 is a major update, delivering over 80 different commits, developed in just over three years.
oik-clone has been used to clone content from my local development versions of blocks.wp-a2z.org, oik-plugins.com and herbmiller.me. It supports cloning of Gutenberg blocks, including reusable blocks.
Changes
oik-clone version 2.0.0 bundles all the changes since v1.0.0.
Version | Change | Reference |
---|---|---|
2.0.0 | Fixed: Re-unicodify serialised attributes | bobbingwide/oik-clone#52 |
2.0.0-beta-20200616 | Added: Reclone logic run immediately after cloning content | bobbingwide/oik-clone#50 |
2.0.0-beta-20200127 | Added: Clone admin Slave tab to reconcile content and/or clone new content between master and slave | bobbingwide/oik-clone#49 |
2.0.0-beta-20191121 | Changed: map the ref attr used in the reusable blocks block | bobbingwide/oik-clone#38 |
Changed: Only expand clone/cloned shortcodes when just one thing is being displayed | bobbingwide/oik-clone#43 | |
2.0.0-beta-20191103 | Changed: Change [clone] and [cloned] shortcodes to only run for a single post ID display | bobbingwide/oik-clone#43 |
Changed: Improve mapping of post IDs in block attrs | bobbingwide/oik-clones#38 | |
2.0.0-beta-20191011 | Added: Map IDs found in block attributes and content | bobbingwide/oik-clone#38 |
Changed: Support PHPUnit 8 | bobbingwide/oik-clone#42 | |
2.0.0-beta-20191008 | Added: Do Not Clone meta box and logic to selectively restrict cloning to slaves | bobbingwide/oik-clone#37 |
2.0.0-beta-20190811 | Changed: Add support for productID parameter in shortcodes | bobbingwide/oik-clone#38 |
Fix: In oik_clone_pull_media_file use include_once for file.php | ||
Changed: Perform pull when the action is ‘????’. This should correct the differences in the post_modified_gmt | ||
Fixed: Allow for terms where the slug matches the term_id. e.g. when name is & | bobbingwide/oik-clone#33 | |
2.0.0-alpha-20190602 | Added: Add logic to pull (new) posts from the slave that haven’t been cloned from the master | bobbingwide/oik-clone#34 |
Changed: For reconciliation: add verbose and post-type parameters. Add summarise() method. | ||
2.0.0-alpha-20190515 | Added: Batch reconciliation of modified posts with a selected slave server – push and pull | bobbingwide/oik-clone#34 |
Changed: Implement wp_insert_post_data and wp_insert_attachment_data filters to set required post_modified and post_modified_gmt | ||
Fixes: Avoid Fatal errors cloning taxonomy terms by matching terms by slug not name | bobbingwide/oik-clone#33 | |
1.2.0 | Added: Add batch clone pull for MultiSite. | bobbingwide/oik-clone#31 |
Added: Add batch clone push: clone new/changed posts in a selected post type. | bobbingwide/oik-clone#31 | |
Changed: Improve MS pull logic to perform mapping and create target folder for attachments. | bobbingwide/oik-clone#29 | |
Fixed: Avoid messages for corrupted cloning data. Doesn’t prevent / fix the corrupted data. | bobbingwide/oik-clone#14 | |
Fixed: Support listing of all posts in hierarchical/inherited post types in oik-clone admin MultiSite tab | ||
Fixed: cURL error 60 in local WPMS. | bobbingwide/oik-clone#30 | |
1.1.0 | Changed: Update oik-clone admin MultiSite tab | bobbingwide/oik-clone#28 |
Changed: Update MultiSite pull logic for attachments | bobbingwide/oik-clone#29 | |
1.0.2 | Fixed: Convert links correctly – don’t lose the scheme | bobbingwide/oik-clone#26 |
1.0.1 | Fixed: when creating new content call wp_slash to avoid losing backslashes | bobbingwide/oik-clone#22 |
Changed: Use oik_remote class, replaces oik-remote.inc | bobbingwide/oik-clone#24 | |
Fixed: Enable cloning of Block icons by removing kses filters in the server | bobbingwide/oik-clone#24 |
Tested with
- WordPress 5.6-RC2 and WordPress Multi Site
- Gutenberg 9.4.1
- PHP 7.4
- PHPUnit 8