We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9248e4c commit 6b94db1Copy full SHA for 6b94db1
features/menu-location.feature
@@ -44,7 +44,12 @@ Feature: Manage WordPress menu locations
44
"""
45
46
When I run `wp menu location assign secondary-menu primary`
47
- And I run `wp menu list --fields=slug,locations`
+ Then STDOUT should be:
48
+ """
49
+ Success: Assigned location primary to menu secondary-menu.
50
51
+
52
+ When I run `wp menu list --fields=slug,locations`
53
Then STDOUT should be a table containing rows:
54
| slug | locations |
55
| primary-menu | |
php/commands/menu-location.php
@@ -100,7 +100,7 @@ function($o) {
100
* ## EXAMPLES
101
*
102
* $ wp menu location assign primary-menu primary
103
- * Success: Assigned location to menu.
+ * Success: Assigned location primary to menu primary-menu.
104
105
* @subcommand assign
106
*/
0 commit comments