Skip to content

Commit

Permalink
removing the logging code
Browse files Browse the repository at this point in the history
  • Loading branch information
curtismchale committed Dec 15, 2023
1 parent 56ebce0 commit d1f4511
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions intuitive-custom-post-order.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Intuitive Custom Post Order
* Plugin URI: http://hijiriworld.com/web/plugins/intuitive-custom-post-order/
* Description: Intuitively, Order Items (Posts, Pages, ,Custom Post Types, Custom Taxonomies, Sites) using a Drag and Drop Sortable JavaScript.
* Version: 2023.12.14.1435
* Version: 2023.12.15.0923
* Author: hijiri
* Author URI: http://hijiriworld.com/web/
* Text Domain: intuitive-custom-post-order
Expand Down Expand Up @@ -494,14 +494,12 @@ public function hicpo_update_menu_order() {
}

wp_cache_flush();
error_log( 'cache flush 497' );

}

public function hicpo_update_menu_order_tags() {

wp_cache_flush();
error_log( 'cache flush 504 pre nonce' );

if ( ! isset( $_POST['nonce'] ) ) {
return;
Expand Down Expand Up @@ -598,7 +596,6 @@ public function hicpo_update_menu_order_tags() {
}

wp_cache_flush();
error_log( 'cache flush 601 end of hicpo_update_menu_order_tags' );

}

Expand Down
2 changes: 0 additions & 2 deletions js/hicpo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* global jQuery, ajaxurl, hicpojs_ajax_vars */
console.log( 'hicpo loaded' );
( function ( $ ) {
const fixHelper = function ( e, ui ) {
ui.children()
Expand Down Expand Up @@ -32,7 +31,6 @@ console.log( 'hicpo loaded' );
helper: fixHelper,
// eslint-disable-next-line no-unused-vars
update( e, ui ) {
console.log( 'running term order' );
$.post( ajaxurl, {
action: 'update-menu-order-tags',
nonce: hicpojs_ajax_vars.nonce, // eslint-disable-line camelcase
Expand Down

0 comments on commit d1f4511

Please sign in to comment.