WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24062, comment 5


Ignore:
Timestamp:
05/17/13 23:14:23 (11 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24062, comment 5

    initial v1  
    11Are you certain it is necessary to remove the  
    2  
    3 if (workflow) 
    4  return workflow 
    5  
     2{{{ 
     3if ( workflow ) 
     4        return workflow 
     5}}} 
    66from the add function? Without this, current modifications that depend on getting a reference from the wp.media.editor.add function will break the uploading functionality, since other calls to add will create it again. 
    77