Skip to content
This repository
Browse code

Correct the callback function when editing attachments.

  • Loading branch information...
commit e48ba33024e9a42b96744c20f005579a378c34ea 1 parent d4eb78a
Justin Tadlock authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  admin/meta-box-post-template.php
2  admin/meta-box-post-template.php
@@ -20,7 +20,7 @@
20 20
 /* Save the post template meta box data on the 'save_post' hook. */
21 21
 add_action( 'save_post', 'hybrid_meta_box_post_save_template', 10, 2 );
22 22
 add_action( 'add_attachment', 'hybrid_meta_box_post_save_template' );
23  
-add_action( 'edit_attachment', 'hybrid_meta_box_post_save_temlate' );
  23
+add_action( 'edit_attachment', 'hybrid_meta_box_post_save_template' );
24 24
 
25 25
 /**
26 26
  * Adds the post template meta box for all public post types, excluding the 'page' post type since WordPress 

0 notes on commit e48ba33

Please sign in to comment.
Something went wrong with that request. Please try again.