Changeset 3099174
- Timestamp:
- 06/07/2024 08:52:33 AM (22 months ago)
- Location:
- nexmind/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (3 diffs)
-
wl-api.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nexmind/trunk/readme.txt
r3098264 r3099174 4 4 Tags: nexmind, nexmind ai, AI Content Generator, SEO Automation 5 5 Requires at least: 4.7 6 Tested up to: 6.5. 37 Stable tag: 1.0. 26 Tested up to: 6.5.4 7 Stable tag: 1.0.3 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 37 37 == Changelog == 38 38 39 = 1.0.3 = 40 * Updated to WordPress 6.5.4 41 39 42 = 1.0.2 = 40 43 * Updated to WordPress 6.5.3 … … 48 51 == Upgrade Notice == 49 52 53 = 1.0.3 = 54 * Updated to WordPress 6.5.4 55 50 56 = 1.0.2 = 51 57 * Updated to WordPress 6.5.3 -
nexmind/trunk/wl-api.php
r3098264 r3099174 4 4 Plugin URI: https://www.nexmind.ai/ 5 5 Description: a WordPress plugin that brings your generated content into WordPress Posts. 6 Version: 1.0. 16 Version: 1.0.3 7 7 Author: Ali 8 8 License: GPL2 … … 211 211 ); 212 212 foreach ($posts as $post) { 213 $table_name = $wpdb->prefix . 'nexmind_settings';214 $user_id = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM %i WHERE post_id = %d", $table_name, $post->ID));215 $token = $wpdb->get_var($wpdb->prepare("SELECT token FROM %i WHERE post_id = %d", $table_name, $post->ID));213 // $table_name = $wpdb->prefix . 'nexmind_settings'; 214 // $user_id = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM %i WHERE post_id = %d", $table_name, $post->ID)); 215 // $token = $wpdb->get_var($wpdb->prepare("SELECT token FROM %i WHERE post_id = %d", $table_name, $post->ID)); 216 216 $data[] = array( 217 217 'ID' => intval($post->ID), … … 219 219 'author' => sanitize_text_field(get_the_author_meta('display_name', $post->author)), 220 220 'date' => date_i18n(get_option('date_format'), strtotime($post->date)), 221 'user_id' => intval($user_id),222 'token' => esc_html($token),221 // 'user_id' => intval($user_id), 222 // 'token' => esc_html($token), 223 223 ); 224 224 }
Note: See TracChangeset
for help on using the changeset viewer.