Changeset 2767500
- Timestamp:
- 08/07/2022 10:23:51 PM (4 years ago)
- Location:
- wordable
- Files:
-
- 1 added
- 3 edited
- 9 copied
-
tags/8.0.9 (added)
-
tags/8.0.9/includes (copied) (copied from wordable/trunk/includes)
-
tags/8.0.9/includes/action_params.php (copied) (copied from wordable/trunk/includes/action_params.php)
-
tags/8.0.9/includes/actions.php (copied) (copied from wordable/trunk/includes/actions.php) (1 diff)
-
tags/8.0.9/includes/connector.php (copied) (copied from wordable/trunk/includes/connector.php)
-
tags/8.0.9/includes/wordable_plugin.php (copied) (copied from wordable/trunk/includes/wordable_plugin.php)
-
tags/8.0.9/readme.txt (copied) (copied from wordable/trunk/readme.txt) (2 diffs)
-
tags/8.0.9/settings (copied) (copied from wordable/trunk/settings)
-
tags/8.0.9/settings/views/authors.php (copied) (copied from wordable/trunk/settings/views/authors.php)
-
tags/8.0.9/wordable.php (copied) (copied from wordable/trunk/wordable.php) (1 diff)
-
trunk/includes/actions.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wordable.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wordable/tags/8.0.9/includes/actions.php
r2743102 r2767500 123 123 ); 124 124 125 $post_id = $this->throw_if_wp_error(wp_insert_post($post_attributes, true)); 125 if(array_key_exists('previous_post_id', $params['post']) && get_post_status($params['post']['previous_post_id']) !== false) { 126 $post_attributes['ID'] = $params['post']['previous_post_id']; 127 $post_id = $post_attributes['ID']; 128 $this->throw_if_wp_error(wp_update_post($post_attributes, true)); 129 } else { 130 $post_id = $this->throw_if_wp_error(wp_insert_post($post_attributes, true)); 131 } 132 126 133 return $this->segmented_post_hook($post_id, $post_attributes, $params); 127 134 } -
wordable/tags/8.0.9/readme.txt
r2743102 r2767500 3 3 Tags: posts, pages 4 4 Requires at least: 5.0.0 5 Tested up to: 5.9.25 Tested up to: 6.0 6 6 Requires PHP: 5.2.4 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 Stable Tag: 8.0. 89 Stable Tag: 8.0.9 10 10 11 11 This plugin allows you to instantly export Google Docs to WordPress posts or pages. … … 55 55 56 56 == Changelog == 57 58 = 8.0.9 = 59 * Allowing to update previously exported posts 57 60 58 61 = 8.0.8 = -
wordable/tags/8.0.9/wordable.php
r2743102 r2767500 4 4 * Plugin URI: http://wordable.io 5 5 * Description: This plugin allows you to instantly export Google Docs to WordPress posts or pages. 6 * Version: 8.0. 86 * Version: 8.0.9 7 7 * Author: Wordable 8 8 * Author URI: https://wordable.io 9 9 * Tested up to: 5.9.2 10 10 * Requires at least: 5.0 11 * Stable tag: 8.0. 811 * Stable tag: 8.0.9 12 12 * 13 13 * Wordpress 5.0+ 14 14 */ 15 15 16 define('WORDABLE_VERSION', '8.0. 8');16 define('WORDABLE_VERSION', '8.0.9'); 17 17 18 18 include 'includes/wordable_plugin.php'; -
wordable/trunk/includes/actions.php
r2743102 r2767500 123 123 ); 124 124 125 $post_id = $this->throw_if_wp_error(wp_insert_post($post_attributes, true)); 125 if(array_key_exists('previous_post_id', $params['post']) && get_post_status($params['post']['previous_post_id']) !== false) { 126 $post_attributes['ID'] = $params['post']['previous_post_id']; 127 $post_id = $post_attributes['ID']; 128 $this->throw_if_wp_error(wp_update_post($post_attributes, true)); 129 } else { 130 $post_id = $this->throw_if_wp_error(wp_insert_post($post_attributes, true)); 131 } 132 126 133 return $this->segmented_post_hook($post_id, $post_attributes, $params); 127 134 } -
wordable/trunk/readme.txt
r2743102 r2767500 3 3 Tags: posts, pages 4 4 Requires at least: 5.0.0 5 Tested up to: 5.9.25 Tested up to: 6.0 6 6 Requires PHP: 5.2.4 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 Stable Tag: 8.0. 89 Stable Tag: 8.0.9 10 10 11 11 This plugin allows you to instantly export Google Docs to WordPress posts or pages. … … 55 55 56 56 == Changelog == 57 58 = 8.0.9 = 59 * Allowing to update previously exported posts 57 60 58 61 = 8.0.8 = -
wordable/trunk/wordable.php
r2743102 r2767500 4 4 * Plugin URI: http://wordable.io 5 5 * Description: This plugin allows you to instantly export Google Docs to WordPress posts or pages. 6 * Version: 8.0. 86 * Version: 8.0.9 7 7 * Author: Wordable 8 8 * Author URI: https://wordable.io 9 9 * Tested up to: 5.9.2 10 10 * Requires at least: 5.0 11 * Stable tag: 8.0. 811 * Stable tag: 8.0.9 12 12 * 13 13 * Wordpress 5.0+ 14 14 */ 15 15 16 define('WORDABLE_VERSION', '8.0. 8');16 define('WORDABLE_VERSION', '8.0.9'); 17 17 18 18 include 'includes/wordable_plugin.php';
Note: See TracChangeset
for help on using the changeset viewer.