Permalink
Browse files

Correct the callback function when editing attachments.

  • Loading branch information...
1 parent d4eb78a commit e48ba33024e9a42b96744c20f005579a378c34ea @justintadlock committed Jan 31, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/meta-box-post-template.php
View
2 admin/meta-box-post-template.php
@@ -20,7 +20,7 @@
/* Save the post template meta box data on the 'save_post' hook. */
add_action( 'save_post', 'hybrid_meta_box_post_save_template', 10, 2 );
add_action( 'add_attachment', 'hybrid_meta_box_post_save_template' );
-add_action( 'edit_attachment', 'hybrid_meta_box_post_save_temlate' );
+add_action( 'edit_attachment', 'hybrid_meta_box_post_save_template' );
/**
* Adds the post template meta box for all public post types, excluding the 'page' post type since WordPress

0 comments on commit e48ba33

Please sign in to comment.