Skip to content

Commit

Permalink
moved wpuf_edit_attachment() to get rid of nonce error
Browse files Browse the repository at this point in the history
  • Loading branch information
manne-schutt committed Mar 4, 2012
1 parent 7c362bf commit a2dff3d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion wpuf-edit-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function wpuf_edit_show_form( $post ) {
<?php } ?>

<?php wpuf_attachment_fields(); ?>
<?php wpuf_edit_attachment( $post->ID ); ?>

<?php do_action( 'wpuf_add_post_form_tags', $post_type ); ?>
<?php wpuf_build_custom_field_form( 'bottom', true, $post->ID ); ?>

Expand All @@ -145,6 +145,10 @@ function wpuf_edit_show_form( $post ) {
</li>
</ul>
</form>
<div class="wpuf-edit-attachment">
<?php wpuf_edit_attachment( $post->ID ); ?>
</div>

<?php
}

Expand Down

0 comments on commit a2dff3d

Please sign in to comment.