You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -27,9 +27,9 @@ New in 0.4.0 is the ability to [attach javascript functions to event attribute u
27
27
28
28
## Frequently Asked Questions ##
29
29
30
-
= How do I register UI for arbitrary key=>value pairs as shortcode attributes? =
30
+
###How do I register UI for arbitrary key/value pairs as shortcode attributes?###
31
31
32
-
Shortcake doesn't support custom key=>value pairs as shortcode attributes because it isn't a great user experience.
32
+
Shortcake doesn't support custom key => value pairs as shortcode attributes because it isn't a great user experience.
33
33
34
34
### After upgrading to Shortcake 0.7.x, some of the shortcode UI fields (post select, user select, etc) don't work as expected. What can I do? ###
35
35
@@ -76,6 +76,16 @@ We've removed the compatibility shim for the magical `content` attribute. If you
76
76
77
77
## Changelog ##
78
78
79
+
### 0.7.1 (December 16, 2016) ###
80
+
* Change shortcode formatting to add a space before the self-closing trailing slash.
81
+
* Fix alignment of attachment previews with long filenames.
82
+
* Bug fix: Set an initial value on select fields (previously, no value would be set for a select field unless the user interacts with the field).
83
+
* Enhancement/fix: Reuse one copy of the media modal and reset its state upon closing, rather than creating duplicate markup each time the modal is accessed.
84
+
* Compatability: Uses "full" version of select2.js 4.0.3 to prevent plugin conflicts with other plugins which expect the full version to be enqueued.
85
+
* Compatability: Add `SELECT2_NOCONFLICT` flag to load Select2 in a unique namespace to prevent conflicts with other plugins which are loading select2.js version 3.
86
+
* Added Norwegian translation.
87
+
* Multiple coding style fixes.
88
+
79
89
### 0.7.0 (November 18, 2016) ###
80
90
* Adds "Add post element" button to media buttons - one click to open the shortcode list, rather than clicking "Add media" button and then finding "insert post element" in the menu.
81
91
* Added "Term Select" field type.
@@ -196,7 +206,7 @@ We've removed the compatibility shim for the magical `content` attribute. If you
196
206
197
207
* Supports all HTML5 input types for form fields.
198
208
* Shortcode preview tab within the editing experience.
199
-
* Re-labeled the UI around “Post Elements”, which is more descriptive than “Content Items.”
209
+
}* Re-labeled the UI around “Post Elements”, which is more descriptive than “Content Items.”
Copy file name to clipboardExpand all lines: dev.php
+35-35Lines changed: 35 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ function shortcode_ui_dev_example_notices() {
65
65
if ( current_user_can( 'activate_plugins' ) ) {
66
66
?>
67
67
<div class="error message">
68
-
<p><?phpesc_html_e( 'Shortcode UI plugin must be active for Shortcode UI Example plugin to function.', 'shortcode-ui-example' ); ?></p>
68
+
<p><?phpesc_html_e( 'Shortcode UI plugin must be active for Shortcode UI Example plugin to function.', 'shortcode-ui-example', 'shortcode-ui' ); ?></p>
69
69
</div>
70
70
<?php
71
71
}
@@ -116,7 +116,7 @@ function shortcode_ui_dev_minimal_example() {
116
116
shortcode_ui_register_for_shortcode(
117
117
'shortcake-no-attributes', // Shortcode tag this UI is for.
118
118
array( // Shortcode UI args.
119
-
'label' => esc_html__( 'Shortcake With No Attributes', 'shortcode-ui-example' ),
119
+
'label' => esc_html__( 'Shortcake With No Attributes', 'shortcode-ui-example', 'shortcode-ui' ),
120
120
)
121
121
);
122
122
}
@@ -156,7 +156,7 @@ function shortcode_ui_dev_advanced_example() {
'description' => esc_html__( 'Whether the quotation should be displayed as pull-left, pull-right, or neither.', 'shortcode-ui-example', 'shortcode-ui' ),
0 commit comments