Changeset 1099127
- Timestamp:
- 02/25/2015 10:59:13 AM (11 years ago)
- Location:
- kush-micro-news/trunk
- Files:
-
- 3 edited
-
includes/admin.php (modified) (3 diffs)
-
index.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kush-micro-news/trunk/includes/admin.php
r1084839 r1099127 24 24 $what=''; 25 25 //$_POST = array_map('stripslashes_deep', $_POST['myRename']); 26 26 27 if(isset($_POST['valSub'])) 27 28 { … … 238 239 <br><hr> 239 240 Download Backup of your Micro News data : <a href="?backup=true" target="_blank" class="button-primary">Download</a> 241 242 243 <br><hr> 244 Update table storage(to support utf-8 charset): <a href="?updatedb=true" target="_blank" class="button-primary">Update</a> 245 <h5 style="display:inline-block;margin:0;">Create a backup first.</h5> 240 246 </form> 241 247 <br><br> … … 255 261 </script> 256 262 <?php 263 } 264 265 if(isset($_GET['updatedb']) && $_GET['updatedb']=='true') 266 update_table(); 267 function update_table(){ 268 global $wpdb; 269 $table_name = $wpdb->prefix . "kushmicronews"; 270 271 $rows_affected = $wpdb->query("ALTER TABLE `$table_name` CONVERT TO CHARACTER SET utf8"); 272 if($rows_affected == 1) 273 echo 'Updated Successfully!'; 274 257 275 } 258 276 -
kush-micro-news/trunk/index.php
r1084839 r1099127 3 3 Plugin Name: Kush Micro News 4 4 Description: Spread the news in shortest possible way. Use links to refer data and title to concise it. 5 Version: 1.5. 25 Version: 1.5.3 6 6 Author: Kush Sharma 7 7 Author Email: thekushsharma@gmail.com 8 8 Author URI: http://softnuke.com/ 9 9 Plugin URI: https://github.com/kushsharma/micro-news 10 Last Officially Updated: 08Feb 201510 Last Officially Updated: 25 Feb 2015 11 11 */ 12 12 -
kush-micro-news/trunk/readme.txt
r1084839 r1099127 4 4 Tags: post,news,micro,short,share,link,kush,refer,concise,fast 5 5 Requires at least: 3.0.1 6 Tested up to: 4. 17 Stable tag: 1.5. 26 Tested up to: 4.2 7 Stable tag: 1.5.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 83 83 84 84 == Changelog == 85 86 = 1.5.3 = 87 * Added option: Update database table to charset UTF8. 85 88 86 89 = 1.5.2 =
Note: See TracChangeset
for help on using the changeset viewer.