WordPress.org

Make WordPress Core

Ticket #28112: 28112.diff

File 28112.diff, 663 bytes (added by Mte90, 4 years ago)
  • src/wp-admin/includes/post.php

     
    575575                if ( isset( $post_data['post_format'] ) )
    576576                        set_post_format( $post_ID, $post_data['post_format'] );
    577577        }
     578       
     579        /**
     580        * Execute an action with all the post data processed by `bulk_edit_posts`
     581        *
     582        * @since 4.7
     583        *
     584        * @param array  $post_data Contains the processed post data of the bulk
     585        */
     586        do_action( 'bulk_edit_posts', $post_data );
    578587
    579588        return array( 'updated' => $updated, 'skipped' => $skipped, 'locked' => $locked );
    580589}