Version Description
(April 24, 2017) = * Bug fix: Fix behavior in WordPress 4.7.4 where editing a shortcode would insert a new shortcode into the editor rather than updating the shortcode being edited. * Bug fix: The replacement used to escape percent (%) characters in attributes only replaced the first appearance * Bug fix: For select fields with multiple=true, allow multiple options to be selected by default * Added i18n for all strings in attachment field template * Added Finnish translation
Download this release
Release Info
| Developer | goldenapples |
| Plugin | |
| Version | 0.7.2 |
| Comparing to | |
| See all releases | |
Code changes from version 0.7.1 to 0.7.2
- inc/fields/class-shortcode-ui-field-attachment.php +2 -2
- inc/templates/edit-form.tpl.php +2 -2
- js/build/shortcode-ui.js +30 -18
- js/src/controllers/media-controller.js +23 -6
- js/src/models/shortcode.js +1 -1
- js/src/utils/shortcode-view-constructor.js +3 -8
- languages/shortcode-ui-fi.mo +0 -0
- languages/shortcode-ui-fi.po +158 -28
- languages/shortcode-ui.pot +27 -17
- package.json +1 -0
- readme.txt +10 -3
- shortcode-ui.php +2 -2
inc/fields/class-shortcode-ui-field-attachment.php
CHANGED
|
@@ -135,14 +135,14 @@ class Shortcode_UI_Field_Attachment {
|
|
| 135 |
</div>
|
| 136 |
|
| 137 |
<div class="thumbnail-details-container has-attachment">
|
| 138 |
-
<strong
|
| 139 |
<div class="filename">{{ data.filename }}</div>
|
| 140 |
<div class="date-formatted">{{ data.dateFormatted }}</div>
|
| 141 |
<div class="size">{{ data.filesizeHumanReadable }}</div>
|
| 142 |
<# if ( data.type === 'image' ) { #>
|
| 143 |
<div class="dimensions">{{ data.width }} × {{ data.height }}</div>
|
| 144 |
<# } #>
|
| 145 |
-
<div class="edit-link"><a href="{{ data.editLink }}"
|
| 146 |
</div>
|
| 147 |
</div>
|
| 148 |
</script>
|
| 135 |
</div>
|
| 136 |
|
| 137 |
<div class="thumbnail-details-container has-attachment">
|
| 138 |
+
<strong><?php esc_html_e( 'Attachment Details', 'shortcode-ui' ); ?></strong>
|
| 139 |
<div class="filename">{{ data.filename }}</div>
|
| 140 |
<div class="date-formatted">{{ data.dateFormatted }}</div>
|
| 141 |
<div class="size">{{ data.filesizeHumanReadable }}</div>
|
| 142 |
<# if ( data.type === 'image' ) { #>
|
| 143 |
<div class="dimensions">{{ data.width }} × {{ data.height }}</div>
|
| 144 |
<# } #>
|
| 145 |
+
<div class="edit-link"><a href="{{ data.editLink }}"><?php esc_html_e( 'Edit Attachment', 'shortcode-ui' ); ?></a></div>
|
| 146 |
</div>
|
| 147 |
</div>
|
| 148 |
</script>
|
inc/templates/edit-form.tpl.php
CHANGED
|
@@ -54,11 +54,11 @@
|
|
| 54 |
<# if ( 'options' in option && 'label' in option ) { #>
|
| 55 |
<optgroup label="{{ option.label }}">
|
| 56 |
<# _.each( option.options, function( optgroupOption ) { #>
|
| 57 |
-
<option value="{{ optgroupOption.value }}" <# if (
|
| 58 |
<# }); #>
|
| 59 |
</optgroup>
|
| 60 |
<# } else { #>
|
| 61 |
-
<option value="{{ option.value }}" <# if (
|
| 62 |
<# } #>
|
| 63 |
|
| 64 |
<# }); #>
|
| 54 |
<# if ( 'options' in option && 'label' in option ) { #>
|
| 55 |
<optgroup label="{{ option.label }}">
|
| 56 |
<# _.each( option.options, function( optgroupOption ) { #>
|
| 57 |
+
<option value="{{ optgroupOption.value }}" <# if ( ! _.isEmpty( _.filter( data.value, function(val) { return val === optgroupOption.value; } ) ) ) { print('selected'); } #>>{{ optgroupOption.label }}</option>
|
| 58 |
<# }); #>
|
| 59 |
</optgroup>
|
| 60 |
<# } else { #>
|
| 61 |
+
<option value="{{ option.value }}" <# if ( ! _.isEmpty( _.filter( data.value, function(val) { return val === option.value; } ) ) ) { print('selected'); } #>>{{ option.label }}</option>
|
| 62 |
<# } #>
|
| 63 |
|
| 64 |
<# }); #>
|
js/build/shortcode-ui.js
CHANGED
|
@@ -47,7 +47,8 @@ var MediaController = wp.media.controller.State.extend({
|
|
| 47 |
this.props = new Backbone.Model({
|
| 48 |
currentShortcode: null,
|
| 49 |
action: 'select',
|
| 50 |
-
search: null
|
|
|
|
| 51 |
});
|
| 52 |
|
| 53 |
this.props.on( 'change:action', this.refresh, this );
|
|
@@ -70,18 +71,34 @@ var MediaController = wp.media.controller.State.extend({
|
|
| 70 |
},
|
| 71 |
|
| 72 |
insert: function() {
|
| 73 |
-
var shortcode
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
},
|
| 80 |
|
| 81 |
reset: function() {
|
| 82 |
this.props.set( 'action', 'select' );
|
| 83 |
this.props.set( 'currentShortcode', null );
|
| 84 |
this.props.set( 'search', null );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
},
|
| 86 |
|
| 87 |
setActionSelect: function() {
|
|
@@ -254,7 +271,7 @@ Shortcode = Backbone.Model.extend({
|
|
| 254 |
|
| 255 |
// Encode textareas incase HTML
|
| 256 |
if ( attr.get( 'encode' ) ) {
|
| 257 |
-
attr.set( 'value', encodeURIComponent( decodeURIComponent( attr.get( 'value' ).replace(
|
| 258 |
}
|
| 259 |
|
| 260 |
attrs.push( attr.get( 'attr' ) + '="' + attr.get( 'value' ) + '"' );
|
|
@@ -639,7 +656,7 @@ var shortcodeViewConstructor = {
|
|
| 639 |
*
|
| 640 |
* @param {string} shortcodeString String representation of the shortcode
|
| 641 |
*/
|
| 642 |
-
edit: function( shortcodeString ) {
|
| 643 |
|
| 644 |
var currentShortcode = this.parseShortcodeString( shortcodeString );
|
| 645 |
|
|
@@ -658,13 +675,8 @@ var shortcodeViewConstructor = {
|
|
| 658 |
});
|
| 659 |
}
|
| 660 |
|
| 661 |
-
|
| 662 |
-
|
| 663 |
-
frame.state().props.set('currentShortcode', false);
|
| 664 |
-
var menuItem = frame.menu.get().get('shortcode-ui');
|
| 665 |
-
menuItem.options.text = shortcodeUIData.strings.media_frame_title;
|
| 666 |
-
menuItem.render();
|
| 667 |
-
frame.setState( 'insert' );
|
| 668 |
} );
|
| 669 |
|
| 670 |
/* Trigger render_edit */
|
|
@@ -1821,7 +1833,7 @@ sui.views.editAttributeSelect2Field = sui.views.editAttributeField.extend( {
|
|
| 1821 |
|
| 1822 |
this.preselect( $field );
|
| 1823 |
|
| 1824 |
-
|
| 1825 |
placeholder: "Search",
|
| 1826 |
multiple: this.model.get( 'multiple' ),
|
| 1827 |
|
|
@@ -1852,6 +1864,7 @@ sui.views.editAttributeSelect2Field = sui.views.editAttributeField.extend( {
|
|
| 1852 |
},
|
| 1853 |
cache: true
|
| 1854 |
},
|
|
|
|
| 1855 |
escapeMarkup: function( markup ) { return markup; },
|
| 1856 |
minimumInputLength: 1,
|
| 1857 |
templateResult: this.templateResult,
|
|
@@ -1887,12 +1900,11 @@ sui.controllers.MediaController = mediaController.extend({
|
|
| 1887 |
},
|
| 1888 |
|
| 1889 |
destroySelect2UI: function() {
|
| 1890 |
-
|
| 1891 |
}
|
| 1892 |
|
| 1893 |
});
|
| 1894 |
|
| 1895 |
-
|
| 1896 |
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
| 1897 |
},{"./../utils/sui.js":10}],24:[function(require,module,exports){
|
| 1898 |
(function (global){
|
| 47 |
this.props = new Backbone.Model({
|
| 48 |
currentShortcode: null,
|
| 49 |
action: 'select',
|
| 50 |
+
search: null,
|
| 51 |
+
insertCallback: this.insertCallback,
|
| 52 |
});
|
| 53 |
|
| 54 |
this.props.on( 'change:action', this.refresh, this );
|
| 71 |
},
|
| 72 |
|
| 73 |
insert: function() {
|
| 74 |
+
var shortcode = this.props.get( 'currentShortcode' );
|
| 75 |
+
var insertCallback = this.props.get( 'insertCallback' );
|
| 76 |
+
|
| 77 |
+
if ( shortcode && insertCallback ) {
|
| 78 |
+
insertCallback( shortcode );
|
| 79 |
}
|
| 80 |
+
|
| 81 |
+
this.reset();
|
| 82 |
+
this.resetState();
|
| 83 |
+
this.frame.close();
|
| 84 |
+
},
|
| 85 |
+
|
| 86 |
+
insertCallback: function( shortcode ) {
|
| 87 |
+
window.send_to_editor( shortcode.formatShortcode() );
|
| 88 |
},
|
| 89 |
|
| 90 |
reset: function() {
|
| 91 |
this.props.set( 'action', 'select' );
|
| 92 |
this.props.set( 'currentShortcode', null );
|
| 93 |
this.props.set( 'search', null );
|
| 94 |
+
this.props.set( 'insertCallback', this.insertCallback );
|
| 95 |
+
},
|
| 96 |
+
|
| 97 |
+
resetState: function() {
|
| 98 |
+
var menuItem = this.frame.menu.get().get('shortcode-ui');
|
| 99 |
+
menuItem.options.text = shortcodeUIData.strings.media_frame_title;
|
| 100 |
+
menuItem.render();
|
| 101 |
+
this.frame.setState( 'insert' );
|
| 102 |
},
|
| 103 |
|
| 104 |
setActionSelect: function() {
|
| 271 |
|
| 272 |
// Encode textareas incase HTML
|
| 273 |
if ( attr.get( 'encode' ) ) {
|
| 274 |
+
attr.set( 'value', encodeURIComponent( decodeURIComponent( attr.get( 'value' ).replace( /%/g, "%" ) ) ), { silent: true } );
|
| 275 |
}
|
| 276 |
|
| 277 |
attrs.push( attr.get( 'attr' ) + '="' + attr.get( 'value' ) + '"' );
|
| 656 |
*
|
| 657 |
* @param {string} shortcodeString String representation of the shortcode
|
| 658 |
*/
|
| 659 |
+
edit: function( shortcodeString, update ) {
|
| 660 |
|
| 661 |
var currentShortcode = this.parseShortcodeString( shortcodeString );
|
| 662 |
|
| 675 |
});
|
| 676 |
}
|
| 677 |
|
| 678 |
+
frame.mediaController.props.set( 'insertCallback', function( shortcode ) {
|
| 679 |
+
update( shortcode.formatShortcode() );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 680 |
} );
|
| 681 |
|
| 682 |
/* Trigger render_edit */
|
| 1833 |
|
| 1834 |
this.preselect( $field );
|
| 1835 |
|
| 1836 |
+
var $fieldSelect2 = $field[ shortcodeUIData.select2_handle ]({
|
| 1837 |
placeholder: "Search",
|
| 1838 |
multiple: this.model.get( 'multiple' ),
|
| 1839 |
|
| 1864 |
},
|
| 1865 |
cache: true
|
| 1866 |
},
|
| 1867 |
+
|
| 1868 |
escapeMarkup: function( markup ) { return markup; },
|
| 1869 |
minimumInputLength: 1,
|
| 1870 |
templateResult: this.templateResult,
|
| 1900 |
},
|
| 1901 |
|
| 1902 |
destroySelect2UI: function() {
|
| 1903 |
+
$fieldSelect2[ shortcodeUIData.select2_handle ]( 'close' );
|
| 1904 |
}
|
| 1905 |
|
| 1906 |
});
|
| 1907 |
|
|
|
|
| 1908 |
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
| 1909 |
},{"./../utils/sui.js":10}],24:[function(require,module,exports){
|
| 1910 |
(function (global){
|
js/src/controllers/media-controller.js
CHANGED
|
@@ -10,7 +10,8 @@ var MediaController = wp.media.controller.State.extend({
|
|
| 10 |
this.props = new Backbone.Model({
|
| 11 |
currentShortcode: null,
|
| 12 |
action: 'select',
|
| 13 |
-
search: null
|
|
|
|
| 14 |
});
|
| 15 |
|
| 16 |
this.props.on( 'change:action', this.refresh, this );
|
|
@@ -33,18 +34,34 @@ var MediaController = wp.media.controller.State.extend({
|
|
| 33 |
},
|
| 34 |
|
| 35 |
insert: function() {
|
| 36 |
-
var shortcode
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
},
|
| 43 |
|
| 44 |
reset: function() {
|
| 45 |
this.props.set( 'action', 'select' );
|
| 46 |
this.props.set( 'currentShortcode', null );
|
| 47 |
this.props.set( 'search', null );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
},
|
| 49 |
|
| 50 |
setActionSelect: function() {
|
| 10 |
this.props = new Backbone.Model({
|
| 11 |
currentShortcode: null,
|
| 12 |
action: 'select',
|
| 13 |
+
search: null,
|
| 14 |
+
insertCallback: this.insertCallback,
|
| 15 |
});
|
| 16 |
|
| 17 |
this.props.on( 'change:action', this.refresh, this );
|
| 34 |
},
|
| 35 |
|
| 36 |
insert: function() {
|
| 37 |
+
var shortcode = this.props.get( 'currentShortcode' );
|
| 38 |
+
var insertCallback = this.props.get( 'insertCallback' );
|
| 39 |
+
|
| 40 |
+
if ( shortcode && insertCallback ) {
|
| 41 |
+
insertCallback( shortcode );
|
| 42 |
}
|
| 43 |
+
|
| 44 |
+
this.reset();
|
| 45 |
+
this.resetState();
|
| 46 |
+
this.frame.close();
|
| 47 |
+
},
|
| 48 |
+
|
| 49 |
+
insertCallback: function( shortcode ) {
|
| 50 |
+
window.send_to_editor( shortcode.formatShortcode() );
|
| 51 |
},
|
| 52 |
|
| 53 |
reset: function() {
|
| 54 |
this.props.set( 'action', 'select' );
|
| 55 |
this.props.set( 'currentShortcode', null );
|
| 56 |
this.props.set( 'search', null );
|
| 57 |
+
this.props.set( 'insertCallback', this.insertCallback );
|
| 58 |
+
},
|
| 59 |
+
|
| 60 |
+
resetState: function() {
|
| 61 |
+
var menuItem = this.frame.menu.get().get('shortcode-ui');
|
| 62 |
+
menuItem.options.text = shortcodeUIData.strings.media_frame_title;
|
| 63 |
+
menuItem.render();
|
| 64 |
+
this.frame.setState( 'insert' );
|
| 65 |
},
|
| 66 |
|
| 67 |
setActionSelect: function() {
|
js/src/models/shortcode.js
CHANGED
|
@@ -75,7 +75,7 @@ Shortcode = Backbone.Model.extend({
|
|
| 75 |
|
| 76 |
// Encode textareas incase HTML
|
| 77 |
if ( attr.get( 'encode' ) ) {
|
| 78 |
-
attr.set( 'value', encodeURIComponent( decodeURIComponent( attr.get( 'value' ).replace(
|
| 79 |
}
|
| 80 |
|
| 81 |
attrs.push( attr.get( 'attr' ) + '="' + attr.get( 'value' ) + '"' );
|
| 75 |
|
| 76 |
// Encode textareas incase HTML
|
| 77 |
if ( attr.get( 'encode' ) ) {
|
| 78 |
+
attr.set( 'value', encodeURIComponent( decodeURIComponent( attr.get( 'value' ).replace( /%/g, "%" ) ) ), { silent: true } );
|
| 79 |
}
|
| 80 |
|
| 81 |
attrs.push( attr.get( 'attr' ) + '="' + attr.get( 'value' ) + '"' );
|
js/src/utils/shortcode-view-constructor.js
CHANGED
|
@@ -160,7 +160,7 @@ var shortcodeViewConstructor = {
|
|
| 160 |
*
|
| 161 |
* @param {string} shortcodeString String representation of the shortcode
|
| 162 |
*/
|
| 163 |
-
edit: function( shortcodeString ) {
|
| 164 |
|
| 165 |
var currentShortcode = this.parseShortcodeString( shortcodeString );
|
| 166 |
|
|
@@ -179,13 +179,8 @@ var shortcodeViewConstructor = {
|
|
| 179 |
});
|
| 180 |
}
|
| 181 |
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
frame.state().props.set('currentShortcode', false);
|
| 185 |
-
var menuItem = frame.menu.get().get('shortcode-ui');
|
| 186 |
-
menuItem.options.text = shortcodeUIData.strings.media_frame_title;
|
| 187 |
-
menuItem.render();
|
| 188 |
-
frame.setState( 'insert' );
|
| 189 |
} );
|
| 190 |
|
| 191 |
/* Trigger render_edit */
|
| 160 |
*
|
| 161 |
* @param {string} shortcodeString String representation of the shortcode
|
| 162 |
*/
|
| 163 |
+
edit: function( shortcodeString, update ) {
|
| 164 |
|
| 165 |
var currentShortcode = this.parseShortcodeString( shortcodeString );
|
| 166 |
|
| 179 |
});
|
| 180 |
}
|
| 181 |
|
| 182 |
+
frame.mediaController.props.set( 'insertCallback', function( shortcode ) {
|
| 183 |
+
update( shortcode.formatShortcode() );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 184 |
} );
|
| 185 |
|
| 186 |
/* Trigger render_edit */
|
languages/shortcode-ui-fi.mo
CHANGED
|
Binary file
|
languages/shortcode-ui-fi.po
CHANGED
|
@@ -3,71 +3,203 @@ msgid ""
|
|
| 3 |
msgstr ""
|
| 4 |
"Project-Id-Version: Shortcake (Shortcode UI) 0.6.0-alpha\n"
|
| 5 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shortcode-ui\n"
|
| 6 |
-
"POT-Creation-Date:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
"MIME-Version: 1.0\n"
|
| 8 |
"Content-Type: text/plain; charset=UTF-8\n"
|
| 9 |
"Content-Transfer-Encoding: 8bit\n"
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"
|
| 14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
| 15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
| 16 |
"X-Poedit-Basepath: ..\n"
|
| 17 |
"X-Textdomain-Support: yes\n"
|
| 18 |
-
"Last-Translator: Teemu Suoranta <teemu@aucor.fi>\n"
|
| 19 |
-
"Language: fi\n"
|
| 20 |
"X-Poedit-SearchPath-0: .\n"
|
| 21 |
|
| 22 |
-
#: dev.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
msgid "Attachment"
|
| 24 |
msgstr "Liitetiedosto"
|
| 25 |
|
| 26 |
-
#: dev.php:
|
| 27 |
msgid "Select Image"
|
| 28 |
msgstr "Valitse kuva"
|
| 29 |
|
| 30 |
-
#: dev.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
msgid "Citation Source"
|
| 32 |
msgstr "Lainauksen lähde"
|
| 33 |
|
| 34 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
msgid "Inner Content"
|
| 36 |
msgstr "Sisempi sisältö"
|
| 37 |
|
| 38 |
-
#: inc/class-shortcode-ui.php:
|
| 39 |
msgid "Insert Post Element"
|
| 40 |
msgstr "Lisää sisältöelementti"
|
| 41 |
|
| 42 |
-
#: inc/class-shortcode-ui.php:
|
| 43 |
msgid "%s Details"
|
| 44 |
msgstr "%s tiedot"
|
| 45 |
|
| 46 |
-
#: inc/class-shortcode-ui.php:
|
| 47 |
msgid "Insert Element"
|
| 48 |
msgstr "Lisää elementti"
|
| 49 |
|
| 50 |
-
#: inc/class-shortcode-ui.php:
|
| 51 |
msgid "Update"
|
| 52 |
msgstr "Päivitä"
|
| 53 |
|
| 54 |
-
#: inc/class-shortcode-ui.php:
|
| 55 |
msgid "There are no attributes to configure for this Post Element."
|
| 56 |
msgstr "Tässä sisältöelementissä ei ole muokattavia asetuksia."
|
| 57 |
|
| 58 |
-
#: inc/class-shortcode-ui.php:
|
| 59 |
msgid "Failed to load preview"
|
| 60 |
msgstr "Esikatselun lataus epäonnistui"
|
| 61 |
|
| 62 |
-
#: inc/class-shortcode-ui.php:
|
| 63 |
msgid "Search"
|
| 64 |
msgstr "Etsi"
|
| 65 |
|
| 66 |
-
#: inc/class-shortcode-ui.php:
|
| 67 |
msgid "Insert Content"
|
| 68 |
msgstr "Lisää sisältö"
|
| 69 |
|
| 70 |
-
#: inc/class-shortcode-ui.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
msgid "Something's rotten in the state of Denmark"
|
| 72 |
msgstr "Jotain mätää Tanskanmaalla"
|
| 73 |
|
|
@@ -76,14 +208,6 @@ msgstr "Jotain mätää Tanskanmaalla"
|
|
| 76 |
msgid "Select Attachment"
|
| 77 |
msgstr "Valitse liitetiedosto"
|
| 78 |
|
| 79 |
-
#: inc/fields/class-field-attachment.php:104
|
| 80 |
-
msgid "Thumbnail Details"
|
| 81 |
-
msgstr "Liitteen tiedot"
|
| 82 |
-
|
| 83 |
-
#: inc/fields/class-field-attachment.php:109
|
| 84 |
-
msgid "Edit Attachment"
|
| 85 |
-
msgstr "Muokkaa liitetiedostoa"
|
| 86 |
-
|
| 87 |
#: inc/templates/edit-form.tpl.php:3
|
| 88 |
msgid "Back to list"
|
| 89 |
msgstr "Takaisin listaukseen"
|
|
@@ -103,3 +227,9 @@ msgstr "Fusion Engineering ja yhteisö"
|
|
| 103 |
#. Author URI of the plugin/theme
|
| 104 |
msgid "http://next.fusion.net/tag/shortcode-ui/"
|
| 105 |
msgstr "http://next.fusion.net/tag/shortcode-ui/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
msgstr ""
|
| 4 |
"Project-Id-Version: Shortcake (Shortcode UI) 0.6.0-alpha\n"
|
| 5 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shortcode-ui\n"
|
| 6 |
+
"POT-Creation-Date: 2017-03-29 13:09+0300\n"
|
| 7 |
+
"PO-Revision-Date: 2017-03-29 13:11+0300\n"
|
| 8 |
+
"Last-Translator: Teemu Suoranta <teemu@aucor.fi>\n"
|
| 9 |
+
"Language-Team: \n"
|
| 10 |
+
"Language: fi\n"
|
| 11 |
"MIME-Version: 1.0\n"
|
| 12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
| 13 |
"Content-Transfer-Encoding: 8bit\n"
|
| 14 |
+
"X-Generator: Poedit 2.0\n"
|
| 15 |
+
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
|
| 16 |
+
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
|
| 17 |
+
"esc_html_x:1,2c\n"
|
| 18 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
| 19 |
"X-Poedit-SourceCharset: UTF-8\n"
|
| 20 |
"X-Poedit-Basepath: ..\n"
|
| 21 |
"X-Textdomain-Support: yes\n"
|
|
|
|
|
|
|
| 22 |
"X-Poedit-SearchPath-0: .\n"
|
| 23 |
|
| 24 |
+
#: dev.php:68
|
| 25 |
+
msgid ""
|
| 26 |
+
"Shortcode UI plugin must be active for Shortcode UI Example plugin to "
|
| 27 |
+
"function."
|
| 28 |
+
msgstr ""
|
| 29 |
+
|
| 30 |
+
#: dev.php:119
|
| 31 |
+
msgid "Shortcake With No Attributes"
|
| 32 |
+
msgstr ""
|
| 33 |
+
|
| 34 |
+
#: dev.php:159
|
| 35 |
msgid "Attachment"
|
| 36 |
msgstr "Liitetiedosto"
|
| 37 |
|
| 38 |
+
#: dev.php:169 dev.php:170
|
| 39 |
msgid "Select Image"
|
| 40 |
msgstr "Valitse kuva"
|
| 41 |
|
| 42 |
+
#: dev.php:175
|
| 43 |
+
msgid "You can select multiple images."
|
| 44 |
+
msgstr ""
|
| 45 |
+
|
| 46 |
+
#: dev.php:183
|
| 47 |
msgid "Citation Source"
|
| 48 |
msgstr "Lainauksen lähde"
|
| 49 |
|
| 50 |
+
#: dev.php:188
|
| 51 |
+
msgid "Test placeholder"
|
| 52 |
+
msgstr ""
|
| 53 |
+
|
| 54 |
+
#: dev.php:193
|
| 55 |
+
#, fuzzy
|
| 56 |
+
#| msgid "Select Image"
|
| 57 |
+
msgid "Select Page"
|
| 58 |
+
msgstr "Valitse kuva"
|
| 59 |
+
|
| 60 |
+
#: dev.php:200
|
| 61 |
+
#, fuzzy
|
| 62 |
+
#| msgid "Select Image"
|
| 63 |
+
msgid "Select Term"
|
| 64 |
+
msgstr "Valitse kuva"
|
| 65 |
+
|
| 66 |
+
#: dev.php:207
|
| 67 |
+
msgid "User Select"
|
| 68 |
+
msgstr ""
|
| 69 |
+
|
| 70 |
+
#: dev.php:213
|
| 71 |
+
msgid "Color"
|
| 72 |
+
msgstr ""
|
| 73 |
+
|
| 74 |
+
#: dev.php:218
|
| 75 |
+
msgid "Hex color code"
|
| 76 |
+
msgstr ""
|
| 77 |
+
|
| 78 |
+
#: dev.php:222
|
| 79 |
+
msgid "Alignment"
|
| 80 |
+
msgstr ""
|
| 81 |
+
|
| 82 |
+
#: dev.php:223
|
| 83 |
+
msgid ""
|
| 84 |
+
"Whether the quotation should be displayed as pull-left, pull-right, or "
|
| 85 |
+
"neither."
|
| 86 |
+
msgstr ""
|
| 87 |
+
|
| 88 |
+
#: dev.php:227
|
| 89 |
+
msgid "None"
|
| 90 |
+
msgstr ""
|
| 91 |
+
|
| 92 |
+
#: dev.php:228 dev.php:233
|
| 93 |
+
msgid "Pull Left"
|
| 94 |
+
msgstr ""
|
| 95 |
+
|
| 96 |
+
#: dev.php:229 dev.php:234
|
| 97 |
+
msgid "Pull Right"
|
| 98 |
+
msgstr ""
|
| 99 |
+
|
| 100 |
+
#: dev.php:240
|
| 101 |
+
msgid "Year"
|
| 102 |
+
msgstr ""
|
| 103 |
+
|
| 104 |
+
#: dev.php:241
|
| 105 |
+
msgid "Optional. The year the quotation is from."
|
| 106 |
+
msgstr ""
|
| 107 |
+
|
| 108 |
+
#: dev.php:260
|
| 109 |
+
msgid "Shortcake Dev"
|
| 110 |
+
msgstr ""
|
| 111 |
+
|
| 112 |
+
#: dev.php:279
|
| 113 |
+
msgid "Quote"
|
| 114 |
+
msgstr ""
|
| 115 |
+
|
| 116 |
+
#: dev.php:280
|
| 117 |
+
msgid "Include a statement from someone famous."
|
| 118 |
+
msgstr ""
|
| 119 |
+
|
| 120 |
+
#: dev.php:352
|
| 121 |
+
#, fuzzy
|
| 122 |
+
#| msgid "Inner Content"
|
| 123 |
+
msgid "Content:"
|
| 124 |
+
msgstr "Sisempi sisältö"
|
| 125 |
+
|
| 126 |
+
#: dev.php:356
|
| 127 |
+
msgid "Source:"
|
| 128 |
+
msgstr ""
|
| 129 |
+
|
| 130 |
+
#: dev.php:360
|
| 131 |
+
msgid "Image:"
|
| 132 |
+
msgstr ""
|
| 133 |
+
|
| 134 |
+
#: dev.php:364
|
| 135 |
+
msgid "Gallery:"
|
| 136 |
+
msgstr ""
|
| 137 |
+
|
| 138 |
+
#: dev.php:372
|
| 139 |
+
msgid "Pages:"
|
| 140 |
+
msgstr ""
|
| 141 |
+
|
| 142 |
+
#: dev.php:376
|
| 143 |
+
msgid "Terms:"
|
| 144 |
+
msgstr ""
|
| 145 |
+
|
| 146 |
+
#: dev.php:380
|
| 147 |
+
msgid "Users:"
|
| 148 |
+
msgstr ""
|
| 149 |
+
|
| 150 |
+
#: dev.php:384
|
| 151 |
+
msgid "Color:"
|
| 152 |
+
msgstr ""
|
| 153 |
+
|
| 154 |
+
#: dev.php:388
|
| 155 |
+
msgid "Alignment:"
|
| 156 |
+
msgstr ""
|
| 157 |
+
|
| 158 |
+
#: dev.php:392
|
| 159 |
+
msgid "Year:"
|
| 160 |
+
msgstr ""
|
| 161 |
+
|
| 162 |
+
#: inc/class-shortcode-ui.php:110
|
| 163 |
msgid "Inner Content"
|
| 164 |
msgstr "Sisempi sisältö"
|
| 165 |
|
| 166 |
+
#: inc/class-shortcode-ui.php:249 inc/class-shortcode-ui.php:250
|
| 167 |
msgid "Insert Post Element"
|
| 168 |
msgstr "Lisää sisältöelementti"
|
| 169 |
|
| 170 |
+
#: inc/class-shortcode-ui.php:251
|
| 171 |
msgid "%s Details"
|
| 172 |
msgstr "%s tiedot"
|
| 173 |
|
| 174 |
+
#: inc/class-shortcode-ui.php:252
|
| 175 |
msgid "Insert Element"
|
| 176 |
msgstr "Lisää elementti"
|
| 177 |
|
| 178 |
+
#: inc/class-shortcode-ui.php:253
|
| 179 |
msgid "Update"
|
| 180 |
msgstr "Päivitä"
|
| 181 |
|
| 182 |
+
#: inc/class-shortcode-ui.php:254
|
| 183 |
msgid "There are no attributes to configure for this Post Element."
|
| 184 |
msgstr "Tässä sisältöelementissä ei ole muokattavia asetuksia."
|
| 185 |
|
| 186 |
+
#: inc/class-shortcode-ui.php:255
|
| 187 |
msgid "Failed to load preview"
|
| 188 |
msgstr "Esikatselun lataus epäonnistui"
|
| 189 |
|
| 190 |
+
#: inc/class-shortcode-ui.php:256
|
| 191 |
msgid "Search"
|
| 192 |
msgstr "Etsi"
|
| 193 |
|
| 194 |
+
#: inc/class-shortcode-ui.php:257
|
| 195 |
msgid "Insert Content"
|
| 196 |
msgstr "Lisää sisältö"
|
| 197 |
|
| 198 |
+
#: inc/class-shortcode-ui.php:297
|
| 199 |
+
msgid "Add Post Element"
|
| 200 |
+
msgstr "Lisää sisältöelementti"
|
| 201 |
+
|
| 202 |
+
#: inc/class-shortcode-ui.php:365
|
| 203 |
msgid "Something's rotten in the state of Denmark"
|
| 204 |
msgstr "Jotain mätää Tanskanmaalla"
|
| 205 |
|
| 208 |
msgid "Select Attachment"
|
| 209 |
msgstr "Valitse liitetiedosto"
|
| 210 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 211 |
#: inc/templates/edit-form.tpl.php:3
|
| 212 |
msgid "Back to list"
|
| 213 |
msgstr "Takaisin listaukseen"
|
| 227 |
#. Author URI of the plugin/theme
|
| 228 |
msgid "http://next.fusion.net/tag/shortcode-ui/"
|
| 229 |
msgstr "http://next.fusion.net/tag/shortcode-ui/"
|
| 230 |
+
|
| 231 |
+
#~ msgid "Thumbnail Details"
|
| 232 |
+
#~ msgstr "Liitteen tiedot"
|
| 233 |
+
|
| 234 |
+
#~ msgid "Edit Attachment"
|
| 235 |
+
#~ msgstr "Muokkaa liitetiedostoa"
|
languages/shortcode-ui.pot
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
-
# Copyright (C)
|
| 2 |
# This file is distributed under the GPL v2 or later.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
-
"Project-Id-Version: Shortcake (Shortcode UI) 0.7.
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shortcode-ui\n"
|
| 7 |
-
"POT-Creation-Date:
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
| 11 |
-
"PO-Revision-Date:
|
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
| 13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
| 14 |
"X-Generator: grunt-wp-i18n 0.5.4\n"
|
|
@@ -156,55 +156,65 @@ msgstr ""
|
|
| 156 |
msgid "Year:"
|
| 157 |
msgstr ""
|
| 158 |
|
| 159 |
-
#: inc/class-shortcode-ui.php:
|
| 160 |
msgid "Inner Content"
|
| 161 |
msgstr ""
|
| 162 |
|
| 163 |
-
#: inc/class-shortcode-ui.php:
|
| 164 |
msgid "Insert Post Element"
|
| 165 |
msgstr ""
|
| 166 |
|
| 167 |
-
#: inc/class-shortcode-ui.php:
|
|
|
|
|
|
|
| 168 |
msgid "%s Details"
|
| 169 |
msgstr ""
|
| 170 |
|
| 171 |
-
#: inc/class-shortcode-ui.php:
|
| 172 |
msgid "Insert Element"
|
| 173 |
msgstr ""
|
| 174 |
|
| 175 |
-
#: inc/class-shortcode-ui.php:
|
| 176 |
msgid "Update"
|
| 177 |
msgstr ""
|
| 178 |
|
| 179 |
-
#: inc/class-shortcode-ui.php:
|
| 180 |
msgid "There are no attributes to configure for this Post Element."
|
| 181 |
msgstr ""
|
| 182 |
|
| 183 |
-
#: inc/class-shortcode-ui.php:
|
| 184 |
msgid "Failed to load preview"
|
| 185 |
msgstr ""
|
| 186 |
|
| 187 |
-
#: inc/class-shortcode-ui.php:
|
| 188 |
msgid "Search"
|
| 189 |
msgstr ""
|
| 190 |
|
| 191 |
-
#: inc/class-shortcode-ui.php:
|
| 192 |
msgid "Insert Content"
|
| 193 |
msgstr ""
|
| 194 |
|
| 195 |
-
#: inc/class-shortcode-ui.php:
|
| 196 |
msgid "Add Post Element"
|
| 197 |
msgstr ""
|
| 198 |
|
| 199 |
-
#: inc/class-shortcode-ui.php:
|
| 200 |
msgid "Something's rotten in the state of Denmark"
|
| 201 |
msgstr ""
|
| 202 |
|
| 203 |
-
#: inc/fields/class-field-attachment.php:79
|
| 204 |
-
#: inc/fields/class-field-attachment.php:80
|
| 205 |
msgid "Select Attachment"
|
| 206 |
msgstr ""
|
| 207 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 208 |
#: inc/templates/edit-form.tpl.php:3
|
| 209 |
msgid "Back to list"
|
| 210 |
msgstr ""
|
| 1 |
+
# Copyright (C) 2017 Fusion Engineering and community
|
| 2 |
# This file is distributed under the GPL v2 or later.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: Shortcake (Shortcode UI) 0.7.2\n"
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shortcode-ui\n"
|
| 7 |
+
"POT-Creation-Date: 2017-04-26 19:49:27+00:00\n"
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
| 11 |
+
"PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
|
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
| 13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
| 14 |
"X-Generator: grunt-wp-i18n 0.5.4\n"
|
| 156 |
msgid "Year:"
|
| 157 |
msgstr ""
|
| 158 |
|
| 159 |
+
#: inc/class-shortcode-ui.php:118
|
| 160 |
msgid "Inner Content"
|
| 161 |
msgstr ""
|
| 162 |
|
| 163 |
+
#: inc/class-shortcode-ui.php:262 inc/class-shortcode-ui.php:263
|
| 164 |
msgid "Insert Post Element"
|
| 165 |
msgstr ""
|
| 166 |
|
| 167 |
+
#: inc/class-shortcode-ui.php:265
|
| 168 |
+
#. Translators: Ignore placeholder. This is replaced with the Shortcode name
|
| 169 |
+
#. string in JS
|
| 170 |
msgid "%s Details"
|
| 171 |
msgstr ""
|
| 172 |
|
| 173 |
+
#: inc/class-shortcode-ui.php:266
|
| 174 |
msgid "Insert Element"
|
| 175 |
msgstr ""
|
| 176 |
|
| 177 |
+
#: inc/class-shortcode-ui.php:267
|
| 178 |
msgid "Update"
|
| 179 |
msgstr ""
|
| 180 |
|
| 181 |
+
#: inc/class-shortcode-ui.php:268
|
| 182 |
msgid "There are no attributes to configure for this Post Element."
|
| 183 |
msgstr ""
|
| 184 |
|
| 185 |
+
#: inc/class-shortcode-ui.php:269
|
| 186 |
msgid "Failed to load preview"
|
| 187 |
msgstr ""
|
| 188 |
|
| 189 |
+
#: inc/class-shortcode-ui.php:270
|
| 190 |
msgid "Search"
|
| 191 |
msgstr ""
|
| 192 |
|
| 193 |
+
#: inc/class-shortcode-ui.php:271
|
| 194 |
msgid "Insert Content"
|
| 195 |
msgstr ""
|
| 196 |
|
| 197 |
+
#: inc/class-shortcode-ui.php:312
|
| 198 |
msgid "Add Post Element"
|
| 199 |
msgstr ""
|
| 200 |
|
| 201 |
+
#: inc/class-shortcode-ui.php:380
|
| 202 |
msgid "Something's rotten in the state of Denmark"
|
| 203 |
msgstr ""
|
| 204 |
|
| 205 |
+
#: inc/fields/class-shortcode-ui-field-attachment.php:79
|
| 206 |
+
#: inc/fields/class-shortcode-ui-field-attachment.php:80
|
| 207 |
msgid "Select Attachment"
|
| 208 |
msgstr ""
|
| 209 |
|
| 210 |
+
#: inc/fields/class-shortcode-ui-field-attachment.php:138
|
| 211 |
+
msgid "Attachment Details"
|
| 212 |
+
msgstr ""
|
| 213 |
+
|
| 214 |
+
#: inc/fields/class-shortcode-ui-field-attachment.php:145
|
| 215 |
+
msgid "Edit Attachment"
|
| 216 |
+
msgstr ""
|
| 217 |
+
|
| 218 |
#: inc/templates/edit-form.tpl.php:3
|
| 219 |
msgid "Back to list"
|
| 220 |
msgstr ""
|
package.json
CHANGED
|
@@ -18,6 +18,7 @@
|
|
| 18 |
"grunt-sass": "^1.1.0",
|
| 19 |
"grunt-wp-i18n": "^0.5.0",
|
| 20 |
"grunt-wp-readme-to-markdown": "~1.0.0",
|
|
|
|
| 21 |
"remapify": "1.4.3"
|
| 22 |
},
|
| 23 |
"browserify": {
|
| 18 |
"grunt-sass": "^1.1.0",
|
| 19 |
"grunt-wp-i18n": "^0.5.0",
|
| 20 |
"grunt-wp-readme-to-markdown": "~1.0.0",
|
| 21 |
+
"node-sass": "^4.1.1",
|
| 22 |
"remapify": "1.4.3"
|
| 23 |
},
|
| 24 |
"browserify": {
|
readme.txt
CHANGED
|
@@ -2,8 +2,8 @@
|
|
| 2 |
Contributors: fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapples, jitendraharpalani, sanchothefat, bfintal, davisshaver, garyj, mte90, fredserva, khromov, bronsonquick, dashaluna, mehigh, sc0ttkclark, kraftner, pravdomil
|
| 3 |
Tags: shortcodes
|
| 4 |
Requires at least: 4.5
|
| 5 |
-
Tested up to: 4.7.
|
| 6 |
-
Stable tag: 0.7.
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
|
@@ -68,7 +68,14 @@ We've removed the compatibility shim for the magical `content` attribute. If you
|
|
| 68 |
|
| 69 |
== Changelog ==
|
| 70 |
|
| 71 |
-
= 0.7.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
* Change shortcode formatting to add a space before the self-closing trailing slash.
|
| 73 |
* Fix alignment of attachment previews with long filenames.
|
| 74 |
* 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).
|
| 2 |
Contributors: fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapples, jitendraharpalani, sanchothefat, bfintal, davisshaver, garyj, mte90, fredserva, khromov, bronsonquick, dashaluna, mehigh, sc0ttkclark, kraftner, pravdomil
|
| 3 |
Tags: shortcodes
|
| 4 |
Requires at least: 4.5
|
| 5 |
+
Tested up to: 4.7.4
|
| 6 |
+
Stable tag: 0.7.2
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
| 68 |
|
| 69 |
== Changelog ==
|
| 70 |
|
| 71 |
+
= 0.7.2 (April 24, 2017) =
|
| 72 |
+
* Bug fix: Fix behavior in WordPress 4.7.4 where editing a shortcode would insert a new shortcode into the editor rather than updating the shortcode being edited.
|
| 73 |
+
* Bug fix: The replacement used to escape percent (%) characters in attributes only replaced the first appearance
|
| 74 |
+
* Bug fix: For select fields with multiple=true, allow multiple options to be selected by default
|
| 75 |
+
* Added i18n for all strings in attachment field template
|
| 76 |
+
* Added Finnish translation
|
| 77 |
+
|
| 78 |
+
= 0.7.1 (March 16, 2017) =
|
| 79 |
* Change shortcode formatting to add a space before the self-closing trailing slash.
|
| 80 |
* Fix alignment of attachment previews with long filenames.
|
| 81 |
* 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).
|
shortcode-ui.php
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* Plugin Name: Shortcake (Shortcode UI)
|
| 4 |
-
* Version: 0.7.
|
| 5 |
* Description: User Interface for adding shortcodes.
|
| 6 |
* Author: Fusion Engineering and community
|
| 7 |
* Author URI: http://next.fusion.net/tag/shortcode-ui/
|
|
@@ -19,7 +19,7 @@
|
|
| 19 |
* GNU General Public License for more details.
|
| 20 |
*/
|
| 21 |
|
| 22 |
-
define( 'SHORTCODE_UI_VERSION', '0.7.
|
| 23 |
|
| 24 |
require_once dirname( __FILE__ ) . '/inc/class-shortcode-ui.php';
|
| 25 |
require_once dirname( __FILE__ ) . '/inc/fields/class-shortcode-ui-fields.php';
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* Plugin Name: Shortcake (Shortcode UI)
|
| 4 |
+
* Version: 0.7.2
|
| 5 |
* Description: User Interface for adding shortcodes.
|
| 6 |
* Author: Fusion Engineering and community
|
| 7 |
* Author URI: http://next.fusion.net/tag/shortcode-ui/
|
| 19 |
* GNU General Public License for more details.
|
| 20 |
*/
|
| 21 |
|
| 22 |
+
define( 'SHORTCODE_UI_VERSION', '0.7.2' );
|
| 23 |
|
| 24 |
require_once dirname( __FILE__ ) . '/inc/class-shortcode-ui.php';
|
| 25 |
require_once dirname( __FILE__ ) . '/inc/fields/class-shortcode-ui-fields.php';
|
