Make WordPress Core


Ignore:
Timestamp:
06/21/2013 02:50:58 AM (13 years ago)
Author:
nacin
Message:

Pass $post to hooks in edit-form-advanced.php including edit_form_advanced and edit_form_after_*. fixes #24611.

Merges [24446] to the 3.5 branch.

Location:
branches/3.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.5

  • branches/3.5/wp-admin/includes/media.php

    r23291 r24465  
    22712271 * @since 3.5.0
    22722272 */
    2273 function edit_form_image_editor() {
    2274         $post = get_post();
    2275 
     2273function edit_form_image_editor( $post ) {
    22762274        $open = isset( $_GET['image-editor'] );
    22772275        if ( $open )
Note: See TracChangeset for help on using the changeset viewer.