Changeset 3135327
- Timestamp:
- 08/14/2024 06:38:52 AM (20 months ago)
- Location:
- ai-translate-for-polylang
- Files:
-
- 8 added
- 2 edited
-
tags/1.0.7 (added)
-
tags/1.0.7/ai-translate-polylang.php (added)
-
tags/1.0.7/inc (added)
-
tags/1.0.7/inc/open-ai (added)
-
tags/1.0.7/inc/open-ai/OpenAi.php (added)
-
tags/1.0.7/inc/open-ai/Url.php (added)
-
tags/1.0.7/inc/settingslib.php (added)
-
tags/1.0.7/readme.txt (added)
-
trunk/ai-translate-polylang.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ai-translate-for-polylang/trunk/ai-translate-polylang.php
r3135322 r3135327 4 4 Plugin URI: https://wordpress.org/plugins/ai-translate-polylang/ 5 5 Description: Add auto AI translation caperbility to Polylang 6 Version: 1.0. 66 Version: 1.0.7 7 7 Author: James Low 8 8 Author URI: http://jameslow.com … … 185 185 // Create a new post with the same content 186 186 $new_post_id = wp_insert_post([ 187 'post_title' => self::translate($post->post_title, $to, $from), 188 'post_content' => self::translate($post->post_content, $to, $from), 189 'post_excerpt' => self::translate($post->post_excerpt, $to, $from), 190 'post_status' => $status, 191 'post_type' => $post->post_type 187 'post_title' => self::translate($post->post_title, $to, $from), 188 'post_content' => self::translate($post->post_content, $to, $from), 189 'post_excerpt' => self::translate($post->post_excerpt, $to, $from), 190 'post_status' => $status, 191 'post_type' => $post->post_type, 192 'post_author' => $post->post_author, 193 'post_date' => $post->post_date, 194 'post_date_gmt' => $post->post_date_gmt, 195 'post_modified' => $post->post_modified, 196 'post_modified_gmt' => $post->post_modified_gmt 192 197 ]); 193 198 -
ai-translate-for-polylang/trunk/readme.txt
r3135322 r3135327 5 5 Requires at least: 3.0 6 6 Tested up to: 6.6.1 7 Stable tag: 1.0. 67 Stable tag: 1.0.7 8 8 License: MIT 9 9 License URI: https://opensource.org/licenses/MIT … … 34 34 == Changelog == 35 35 36 = 1.0.7 = 37 * Copy author and dates when translation post 38 36 39 = 1.0.6 = 37 40 * Add helper function for programmatic translation in PHP
Note: See TracChangeset
for help on using the changeset viewer.