From: scribu Date: Sun, 4 Aug 2013 15:16:14 +0000 (+0300) Subject: escape "*/" sequence in media.php X-Git-Tag: v0.11.0~7^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=0212ebe4b3288bb456929e203d7db637c8fe42d6;p=wvm%2Fwvm.git escape "*/" sequence in media.php --- diff --git a/php/commands/media.php b/php/commands/media.php index dfb188dc..3c3bbafc 100644 --- a/php/commands/media.php +++ b/php/commands/media.php @@ -98,11 +98,10 @@ class Media_Command extends WP_CLI_Command { * --featured_image * : If set, set the imported image as the Featured Image of the post its attached to. * - * * ## EXAMPLES * * # Import all jpgs in the current user's "Pictures" directory, not attached to any post - * wp media import ~/Pictures/**/*.jpg + * wp media import ~/Pictures/**\/*.jpg * * # Import a local image and set it to be the post thumbnail for a post * wp media import ~/Downloads/image.png --post_id=123 --title="A downloaded picture" --featured_image @@ -110,8 +109,6 @@ class Media_Command extends WP_CLI_Command { * # Import an image from the web * wp media import http://s.wordpress.org/style/images/wp-header-logo.png --title='The WordPress logo' --alt="Semantic personal publishing" * - * - * * @synopsis ... [--post_id=] [--title=] [--caption=<caption>] [--alt=<text>] [--desc=<description>] [--featured_image] */ function import( $args, $assoc_args = array() ) {