WordPress admin never finishes saving page on site with large page count

Have you tried optimizing and repairing the table in your MySQL database you are running WordPress on? Your can manually do this with phpmyadmin: http://support.hostgator.com/articles/specialized-help/technical/how-to-optimize-a-mysql-database-using-phpmyadmin Or you can install a WordPress plugin such as WP Database Optimizer and set a regular optimization schedule: http://wordpress.org/extend/plugins/wp-database-optimizer/

Why does dbDelta() not catch MysqlErrors?

As @Charleston Software Associates mentioned, the DESCRIBE query should not be executed if the table doesn’t exist. The best solution, as he pointed out, is to prevent the error from occurring in the first place. To do so, patch wp-admin/includes/upgrade.php as follows: Change the following line from dbDelta(): $tablefields = $wpdb->get_results(“DESCRIBE {$table};”); to: //Begin core … Read more

WP_list_table bulk_action get edit and delete

So, I found the problem. First of all, I was not selecting the right ID’s on my checkbox or buttons, so I changed to code to do so: function column_name($item){ $item_json = json_decode(json_encode($item), true); $actions = array( ‘edit’ => sprintf(‘<a href=”https://wordpress.stackexchange.com/questions/265648/?page=%s&action=%s&id=%s”>Edit</a>’, $_REQUEST[‘page’], ‘edit’, $item_json[‘id’]), ‘delete’ => sprintf(‘<a href=”https://wordpress.stackexchange.com/questions/265648/?page=%s&action=%s&id=%s”>Delete</a>’, $_REQUEST[‘page’], ‘delete’, $item_json[‘id’]), ); return ‘<em>’ . … Read more

Why is Woocommerce writing in my wp_comment table?

Oh, that is double offtopic, but for the sake of helping other people which might wonder the same about EDD and maybe other plugins, the reason is because wordpress core to not have any easy support for hierarchy between CPTs except for comments being under posts. As orders are “belonging” to specific products it makes … Read more

Export User Info to CSV from Front End

Nevermind, I figured out a way to make it work. I just removed the need for a url altogether. Here’s what I did in case anybody else wants to know. I changed the link to an form input button: <form method=”post”> <input type=”submit” name=”bc_export” class=”btn btn-export” value=”Export Store List for ‘.$atts[‘value’].'” /> </form> And changed … Read more