WordPress.org

Make WordPress Core

Ticket #8960: wordpress-post-form.patch

File wordpress-post-form.patch, 589 bytes (added by chrisnorthwood, 5 years ago)

Patch against revision 10437 to fix the problem

  • wp-admin/edit-form-advanced.php

     
    539539<?php if (isset($_GET['message'])) : ?> 
    540540<div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div> 
    541541<?php endif; ?> 
    542 <form name="post" action="post.php" method="post" id="post"> 
     542<form name="post" action="post.php" method="post" id="post" enctype="multipart/form-data"> 
    543543<?php 
    544544 
    545545if ( 0 == $post_ID)