Skip to content
This repository
Browse code

Merge pull request #2 from woodandgold/patch-2

moved wpuf_edit_attachment() to get rid of nonce error
  • Loading branch information...
commit a338c4b1ce64c4ad785f8f3536d7fe6bc8a92060 2 parents 151d2b5 + a2dff3d
Tareq Hasan authored March 04, 2012

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

  1. 6  wpuf-edit-post.php
6  wpuf-edit-post.php
@@ -133,7 +133,7 @@ function wpuf_edit_show_form( $post ) {
133 133
             <?php } ?>
134 134
 
135 135
             <?php wpuf_attachment_fields(); ?>
136  
-            <?php wpuf_edit_attachment( $post->ID ); ?>
  136
+            
137 137
             <?php do_action( 'wpuf_add_post_form_tags', $post_type ); ?>
138 138
             <?php wpuf_build_custom_field_form( 'bottom', true, $post->ID ); ?>
139 139
 
@@ -145,6 +145,10 @@ function wpuf_edit_show_form( $post ) {
145 145
             </li>
146 146
         </ul>
147 147
     </form>
  148
+    <div class="wpuf-edit-attachment">
  149
+        <?php wpuf_edit_attachment( $post->ID ); ?>
  150
+    </div>
  151
+        
148 152
     <?php
149 153
 }
150 154
 

0 notes on commit a338c4b

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