WordPress.org

Plugin Directory

Changeset 1188599


Ignore:
Timestamp:
06/27/15 14:41:50 (2 years ago)
Author:
RenettaRenula
Message:

Quick fix for a bug in WP 4.0+ where saving meta box no longer works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tako-movable-comments/trunk/tako.php

    r834865 r1188599  
    4747    { 
    4848        add_action( 'add_meta_boxes', array( &$this, 'tako_add_meta_box' ) ); 
    49         add_filter( 'comment_save_pre', array( &$this, 'tako_save_meta_box' ) ); 
     49        add_action( 'edit_comment', array( &$this, 'tako_save_meta_box' ) ); 
    5050        add_action( 'admin_enqueue_scripts', array( &$this, 'tako_load_scripts') ); 
    5151        add_action( 'wp_ajax_tako_chosen_post_type', array( &$this, 'tako_chosen_post_type_callback' ) ); 
Note: See TracChangeset for help on using the changeset viewer.