WordPress.org

Make WordPress Core

Ticket #23096: 23096.diff

File 23096.diff, 604 bytes (added by griffinjt, 9 years ago)
  • wp-includes/js/media-editor.js

     
    513513
    514514                        workflow.state('featured-image').on( 'select', wp.media.featuredImage.select );
    515515                        workflow.setState( workflow.options.state );
     516                       
     517                        // Check if anyone has extended the object to manipulate the states and views before outputting on screen.
     518                        if ( this.extend && typeof(this.extend) === 'function' )
     519                                this.extend(workflow);
     520                               
    516521                        return workflow;
    517522                },
    518523