- Timestamp:
- 04/15/2016 01:50:06 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-admin.php
r2898 r2962 59 59 function metabox () { 60 60 do_action( 'wcpt_metabox' ); 61 }62 63 /**64 * metabox_save ()65 *66 * Pass the metabox values before saving67 *68 * @param int $post_id69 * @return int70 */71 function metabox_save ( $post_id ) {72 if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )73 return $post_id;74 75 if ( !current_user_can( 'edit_post', $post_id ) )76 return $post_id;77 78 do_action( 'wcpt_metabox_save' );79 61 } 80 62 … … 189 171 } 190 172 endif; // class_exists check 191 192 ?>
Note: See TracChangeset
for help on using the changeset viewer.