Plugin Directory

Changeset 2781613


Ignore:
Timestamp:
09/07/2022 09:36:13 PM (4 years ago)
Author:
mycholan
Message:

Adding debug logs

Location:
wc-fields-factory
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wc-fields-factory/tags/4.1.5/includes/wcff_dao.php

    r2781580 r2781613  
    17071707     *
    17081708     */
    1709     public function migrate_for_version_4xxx() { error_log("V4.X.X Migration script get called");
     1709    public function migrate_for_version_4xxx() {
    17101710       
    17111711        /* Check wccpf */       
     
    17271727    }
    17281728
    1729     private function migrate_fields($_ptype = "") {
     1729    private function migrate_fields($_ptype = "") {   error_log("migrate_fields called for : ". $_ptype);
    17301730       
    17311731        $this->wcff_key_prefix = $_ptype . "_";
     
    18021802                            }
    18031803                        }
    1804                
     1804                        error_log("About to migrate field : ". json_encode($field));
    18051805                        update_post_meta($g_post->ID, $fkey, wp_slash(json_encode($field)));                                               
    18061806                    }
  • wc-fields-factory/tags/4.1.5/wcff.php

    r2781333 r2781613  
    117117    }
    118118   
    119     private function cleanup_wcff_post($_ptype) {
     119    private function cleanup_wcff_post($_ptype) {  error_log("cleanup_wcff_post gets called for : ". $_ptype);
    120120       
    121121        /* Fetch the group posts */
     
    182182                        }
    183183                       
    184                         if ($flaQ) {
     184                        if ($flaQ) { error_log("About to restore : ". json_encode($field));
    185185                            update_post_meta($g_post->ID, $fkey, wp_slash(json_encode($field)));
    186186                        }
  • wc-fields-factory/trunk/includes/wcff_dao.php

    r2781580 r2781613  
    17071707     *
    17081708     */
    1709     public function migrate_for_version_4xxx() { error_log("V4.X.X Migration script get called");
     1709    public function migrate_for_version_4xxx() {
    17101710       
    17111711        /* Check wccpf */       
     
    17271727    }
    17281728
    1729     private function migrate_fields($_ptype = "") {
     1729    private function migrate_fields($_ptype = "") {  error_log("migrate_fields called for : ". $_ptype);
    17301730       
    17311731        $this->wcff_key_prefix = $_ptype . "_";
     
    18021802                            }
    18031803                        }
    1804                
     1804                        error_log("About to migrate field : ". json_encode($field));
    18051805                        update_post_meta($g_post->ID, $fkey, wp_slash(json_encode($field)));                                               
    18061806                    }
  • wc-fields-factory/trunk/wcff.php

    r2781333 r2781613  
    117117    }
    118118   
    119     private function cleanup_wcff_post($_ptype) {
     119    private function cleanup_wcff_post($_ptype) {  error_log("cleanup_wcff_post gets called for : ". $_ptype);
    120120       
    121121        /* Fetch the group posts */
     
    182182                        }
    183183                       
    184                         if ($flaQ) {
     184                        if ($flaQ) { error_log("About to restore : ". json_encode($field));
    185185                            update_post_meta($g_post->ID, $fkey, wp_slash(json_encode($field)));
    186186                        }
Note: See TracChangeset for help on using the changeset viewer.