From bc53a39130cb515c7217241cdaa74c221d96cb06 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Mon, 24 Nov 2014 23:11:54 +0000 Subject: [PATCH] Remove incorrect documentation for `wp.media()`. props ericlewis. fixes #30090. git-svn-id: https://develop.svn.wordpress.org/trunk@30556 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/js/media-models.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/wp-includes/js/media-models.js b/src/wp-includes/js/media-models.js index c8b9b3f0ec..84bb02fa05 100644 --- a/src/wp-includes/js/media-models.js +++ b/src/wp-includes/js/media-models.js @@ -7,9 +7,7 @@ window.wp = window.wp || {}; /** * Create and return a media frame. * - * Handles the default media experience. Automatically creates - * and opens a media frame, and returns the result. - * Does nothing if the controllers do not exist. + * Handles the default media experience. * * @param {object} attributes The properties passed to the main media controller. * @return {wp.media.view.MediaFrame} A media workflow.