WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #21767, comment 76


Ignore:
Timestamp:
02/16/2013 08:42:15 AM (6 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21767, comment 76

    v1 v2  
    66$value = wp_filter_kses( $value );
    77
    8 update_post_meta( $post_id, 'my_plugin', $value );
     8update_metadata( 'post', $post_id, 'my_plugin', $value );
    99}}}
    1010