WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/19/2013 09:10:51 PM (7 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r24320 r24446  
    23222322 * @since 3.5.0
    23232323 */
    2324 function edit_form_image_editor() {
    2325     $post = get_post();
    2326 
     2324function edit_form_image_editor( $post ) {
    23272325    $open = isset( $_GET['image-editor'] );
    23282326    if ( $open )
Note: See TracChangeset for help on using the changeset viewer.