Permalink
Browse files

Use $post_layouts, not $layouts, for the variable name.

  • Loading branch information...
1 parent 7c2a816 commit 857acc35245eab4af43dd117183b9ee8d82681f5 @justintadlock committed Sep 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 extensions/theme-layouts.php
@@ -496,7 +496,7 @@ function theme_layouts_save_post( $post_id, $post ) {
function theme_layouts_attachment_fields_to_edit( $fields, $post ) {
/* Get theme-supported theme layouts. */
- $layouts = theme_layouts_get_layouts();
+ $post_layouts = theme_layouts_get_layouts();
/* Get the current post's layout. */
$post_layout = get_post_layout( $post->ID );

0 comments on commit 857acc3

Please sign in to comment.