Version Description
- Improvement: Miscellaneous improvements to Forms screen.
- Improvement: New filter allows finer control of assets loading.
Download this release
Release Info
Developer | happyforms |
Plugin | Form builder to get in touch with visitors, grow your email list and collect payments — Happyforms |
Version | 1.13.11 |
Comparing to | |
See all releases |
Code changes from version 1.13.10 to 1.13.11
- core/assets/css/admin.css +23 -20
- core/assets/css/customize.css +6 -46
- core/assets/js/admin/dashboard.js +24 -0
- core/classes/class-form-admin.php +5 -41
- core/classes/class-happyforms-core.php +2 -0
- core/helpers/helper-form-templates.php +1 -1
- happyforms.php +2 -2
- languages/happyforms.pot +20 -16
- readme.txt +8 -1
core/assets/css/admin.css
CHANGED
@@ -22,36 +22,39 @@ i.mce-i-happyforms-form-picker:before, i.mce-i-happyforms-form-picker:before {
|
|
22 |
background-position: center;
|
23 |
}
|
24 |
|
25 |
-
.
|
26 |
-
|
|
|
27 |
}
|
28 |
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
|
|
33 |
}
|
34 |
|
35 |
-
.
|
36 |
-
|
37 |
-
|
|
|
|
|
38 |
}
|
39 |
|
40 |
-
.happyforms-shortcode-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
}
|
46 |
|
47 |
-
.happyforms-shortcode-
|
48 |
-
|
49 |
-
|
50 |
-
text-overflow: ellipsis;
|
51 |
}
|
52 |
|
53 |
-
|
54 |
-
display:
|
55 |
}
|
56 |
|
57 |
/**
|
22 |
background-position: center;
|
23 |
}
|
24 |
|
25 |
+
th.column-shortcode {
|
26 |
+
width: 185px;
|
27 |
+
max-width: 185px;
|
28 |
}
|
29 |
|
30 |
+
@media screen and (min-width: 1024px) {
|
31 |
+
th.column-shortcode {
|
32 |
+
width: 340px;
|
33 |
+
max-width: 340px;
|
34 |
+
}
|
35 |
}
|
36 |
|
37 |
+
td.column-shortcode input {
|
38 |
+
width: 135px;
|
39 |
+
float: left;
|
40 |
+
margin-right: 8px;
|
41 |
+
margin-bottom: 8px;
|
42 |
}
|
43 |
|
44 |
+
.happyforms-shortcode-clipboard {
|
45 |
+
float: left;
|
46 |
+
display: flex;
|
47 |
+
align-items: center;
|
48 |
+
min-width: 185px;
|
49 |
}
|
50 |
|
51 |
+
.happyforms-shortcode-clipboard span {
|
52 |
+
color: #008a20;
|
53 |
+
margin-left: 8px;
|
|
|
54 |
}
|
55 |
|
56 |
+
.happyforms-shortcode-clipboard span.hidden {
|
57 |
+
display: none;
|
58 |
}
|
59 |
|
60 |
/**
|
core/assets/css/customize.css
CHANGED
@@ -1147,7 +1147,7 @@ ul.happyforms-parts-list li[data-part-type="country"] .happyforms-parts-list-ite
|
|
1147 |
}
|
1148 |
|
1149 |
ul.happyforms-parts-list li[data-part-type="attachment_dummy"] .happyforms-parts-list-item-title:before {
|
1150 |
-
background-image: url(../svg/icons/
|
1151 |
}
|
1152 |
|
1153 |
ul.happyforms-parts-list li[data-part-type="poll_dummy"] .happyforms-parts-list-item-title:before {
|
@@ -1163,29 +1163,15 @@ ul.happyforms-parts-list li[data-part-type="website_url_dummy"] .happyforms-part
|
|
1163 |
}
|
1164 |
|
1165 |
ul.happyforms-parts-list li[data-part-type="table_dummy"] .happyforms-parts-list-item-title:before {
|
1166 |
-
opacity: 0.5;
|
1167 |
background-image: url(../svg/icons/matrix.svg);
|
1168 |
}
|
1169 |
|
1170 |
ul.happyforms-parts-list li[data-part-type="date_dummy"] .happyforms-parts-list-item-title:before {
|
1171 |
-
opacity: 0.5;
|
1172 |
background-image: url(../svg/icons/date-time.svg);
|
1173 |
}
|
1174 |
|
1175 |
ul.happyforms-parts-list li[data-part-type="address_dummy"] .happyforms-parts-list-item-title:before {
|
1176 |
-
background-image: url(../svg/icons/
|
1177 |
-
}
|
1178 |
-
|
1179 |
-
ul.happyforms-parts-list li[data-part-type="table_dummy"] .happyforms-parts-list-item-title:before {
|
1180 |
-
background-image: url(../svg/icons/table.svg);
|
1181 |
-
}
|
1182 |
-
|
1183 |
-
ul.happyforms-parts-list li[data-part-type="date_dummy"] .happyforms-parts-list-item-title:before {
|
1184 |
-
background-image: url(../svg/icons/date.svg);
|
1185 |
-
}
|
1186 |
-
|
1187 |
-
ul.happyforms-parts-list li[data-part-type="address_dummy"] .happyforms-parts-list-item-title:before {
|
1188 |
-
background-image: url(../svg/icons/country.svg);
|
1189 |
}
|
1190 |
|
1191 |
ul.happyforms-parts-list li[data-part-type="phone_dummy"] .happyforms-parts-list-item-title:before {
|
@@ -1197,7 +1183,7 @@ ul.happyforms-parts-list li[data-part-type="title_dummy"] .happyforms-parts-list
|
|
1197 |
}
|
1198 |
|
1199 |
ul.happyforms-parts-list li[data-part-type="legal_dummy"] .happyforms-parts-list-item-title:before {
|
1200 |
-
background-image: url(../svg/icons/
|
1201 |
}
|
1202 |
|
1203 |
ul.happyforms-parts-list li[data-part-type="rich_text_dummy"] .happyforms-parts-list-item-title:before {
|
@@ -1209,33 +1195,15 @@ ul.happyforms-parts-list li[data-part-type="scale_dummy"] .happyforms-parts-list
|
|
1209 |
}
|
1210 |
|
1211 |
ul.happyforms-parts-list li[data-part-type="rank_order_dummy"] .happyforms-parts-list-item-title:before {
|
1212 |
-
opacity: 0.5;
|
1213 |
background-image: url(../svg/icons/rank.svg);
|
1214 |
}
|
1215 |
|
1216 |
ul.happyforms-parts-list li[data-part-type="likert_scale_dummy"] .happyforms-parts-list-item-title:before {
|
1217 |
-
opacity: 0.5;
|
1218 |
background-image: url(../svg/icons/scale.svg);
|
1219 |
}
|
1220 |
|
1221 |
ul.happyforms-parts-list li[data-part-type="rating_dummy"] .happyforms-parts-list-item-title:before {
|
1222 |
-
background-image: url(../svg/icons/
|
1223 |
-
}
|
1224 |
-
|
1225 |
-
ul.happyforms-parts-list li[data-part-type="rank_order_dummy"] .happyforms-parts-list-item-title:before {
|
1226 |
-
background-image: url(../svg/icons/rank-order.svg);
|
1227 |
-
}
|
1228 |
-
|
1229 |
-
ul.happyforms-parts-list li[data-part-type="likert_scale_dummy"] .happyforms-parts-list-item-title:before {
|
1230 |
-
background-image: url(../svg/icons/number-scale.svg);
|
1231 |
-
}
|
1232 |
-
|
1233 |
-
ul.happyforms-parts-list li[data-part-type="rating_dummy"] .happyforms-parts-list-item-title:before {
|
1234 |
-
background-image: url(../svg/icons/rating.svg);
|
1235 |
-
}
|
1236 |
-
|
1237 |
-
ul.happyforms-parts-list li[data-part-type="rating_dummy"] .happyforms-parts-list-item-title:before {
|
1238 |
-
background-image: url(../svg/icons/rating.svg);
|
1239 |
}
|
1240 |
|
1241 |
ul.happyforms-parts-list li[data-part-type="narrative_dummy"] .happyforms-parts-list-item-title:before {
|
@@ -1247,11 +1215,7 @@ ul.happyforms-parts-list li[data-part-type="placeholder_dummy"] .happyforms-part
|
|
1247 |
}
|
1248 |
|
1249 |
ul.happyforms-parts-list li[data-part-type="optin_dummy"] .happyforms-parts-list-item-title:before {
|
1250 |
-
background-image: url(../svg/icons/
|
1251 |
-
}
|
1252 |
-
|
1253 |
-
ul.happyforms-parts-list li[data-part-type="optin_dummy"] .happyforms-parts-list-item-title:before {
|
1254 |
-
background-image: url(../svg/icons/opt-in.svg);
|
1255 |
}
|
1256 |
|
1257 |
ul.happyforms-parts-list li[data-part-type="payments_dummy"] .happyforms-parts-list-item-title:before {
|
@@ -1267,11 +1231,7 @@ ul.happyforms-parts-list li[data-part-type="divider_dummy"] .happyforms-parts-li
|
|
1267 |
}
|
1268 |
|
1269 |
ul.happyforms-parts-list li[data-part-type="layout_title_dummy"] .happyforms-parts-list-item-title:before {
|
1270 |
-
background-image: url(../svg/icons/
|
1271 |
-
}
|
1272 |
-
|
1273 |
-
ul.happyforms-parts-list li[data-part-type="layout_title_dummy"] .happyforms-parts-list-item-title:before {
|
1274 |
-
background-image: url(../svg/icons/title.svg);
|
1275 |
}
|
1276 |
|
1277 |
ul.happyforms-parts-list li[data-part-type="media_dummy"] .happyforms-parts-list-item-title:before {
|
1147 |
}
|
1148 |
|
1149 |
ul.happyforms-parts-list li[data-part-type="attachment_dummy"] .happyforms-parts-list-item-title:before {
|
1150 |
+
background-image: url(../svg/icons/file-upload.svg);
|
1151 |
}
|
1152 |
|
1153 |
ul.happyforms-parts-list li[data-part-type="poll_dummy"] .happyforms-parts-list-item-title:before {
|
1163 |
}
|
1164 |
|
1165 |
ul.happyforms-parts-list li[data-part-type="table_dummy"] .happyforms-parts-list-item-title:before {
|
|
|
1166 |
background-image: url(../svg/icons/matrix.svg);
|
1167 |
}
|
1168 |
|
1169 |
ul.happyforms-parts-list li[data-part-type="date_dummy"] .happyforms-parts-list-item-title:before {
|
|
|
1170 |
background-image: url(../svg/icons/date-time.svg);
|
1171 |
}
|
1172 |
|
1173 |
ul.happyforms-parts-list li[data-part-type="address_dummy"] .happyforms-parts-list-item-title:before {
|
1174 |
+
background-image: url(../svg/icons/address.svg);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1175 |
}
|
1176 |
|
1177 |
ul.happyforms-parts-list li[data-part-type="phone_dummy"] .happyforms-parts-list-item-title:before {
|
1183 |
}
|
1184 |
|
1185 |
ul.happyforms-parts-list li[data-part-type="legal_dummy"] .happyforms-parts-list-item-title:before {
|
1186 |
+
background-image: url(../svg/icons/consent-choice.svg);
|
1187 |
}
|
1188 |
|
1189 |
ul.happyforms-parts-list li[data-part-type="rich_text_dummy"] .happyforms-parts-list-item-title:before {
|
1195 |
}
|
1196 |
|
1197 |
ul.happyforms-parts-list li[data-part-type="rank_order_dummy"] .happyforms-parts-list-item-title:before {
|
|
|
1198 |
background-image: url(../svg/icons/rank.svg);
|
1199 |
}
|
1200 |
|
1201 |
ul.happyforms-parts-list li[data-part-type="likert_scale_dummy"] .happyforms-parts-list-item-title:before {
|
|
|
1202 |
background-image: url(../svg/icons/scale.svg);
|
1203 |
}
|
1204 |
|
1205 |
ul.happyforms-parts-list li[data-part-type="rating_dummy"] .happyforms-parts-list-item-title:before {
|
1206 |
+
background-image: url(../svg/icons/rate.svg);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1207 |
}
|
1208 |
|
1209 |
ul.happyforms-parts-list li[data-part-type="narrative_dummy"] .happyforms-parts-list-item-title:before {
|
1215 |
}
|
1216 |
|
1217 |
ul.happyforms-parts-list li[data-part-type="optin_dummy"] .happyforms-parts-list-item-title:before {
|
1218 |
+
background-image: url(../svg/icons/opt-in-choice.svg);
|
|
|
|
|
|
|
|
|
1219 |
}
|
1220 |
|
1221 |
ul.happyforms-parts-list li[data-part-type="payments_dummy"] .happyforms-parts-list-item-title:before {
|
1231 |
}
|
1232 |
|
1233 |
ul.happyforms-parts-list li[data-part-type="layout_title_dummy"] .happyforms-parts-list-item-title:before {
|
1234 |
+
background-image: url(../svg/icons/heading.svg);
|
|
|
|
|
|
|
|
|
1235 |
}
|
1236 |
|
1237 |
ul.happyforms-parts-list li[data-part-type="media_dummy"] .happyforms-parts-list-item-title:before {
|
core/assets/js/admin/dashboard.js
CHANGED
@@ -5,12 +5,14 @@
|
|
5 |
|
6 |
happyForms.dashboard = {
|
7 |
$deactivationLink: null,
|
|
|
8 |
|
9 |
init: function() {
|
10 |
$( document ).on( 'click', '.happyforms-editor-button', this.onEditorButton.bind( this ) );
|
11 |
$( '.happyforms-dialog__button' ).on( 'click', this.onDialogButton.bind( this ) );
|
12 |
$( '.happyforms-notice:not(.one-time)' ).on( 'click', '.notice-dismiss', this.onNoticeDismiss.bind( this ) );
|
13 |
$( document ).on( 'click', 'a[id^="deactivate-happyforms"]', this.openDeactivateModal );
|
|
|
14 |
},
|
15 |
|
16 |
onEditorButton: function( e ) {
|
@@ -91,6 +93,28 @@
|
|
91 |
|
92 |
happyForms.modals.openDeactivateModal( e.target.href );
|
93 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
};
|
95 |
|
96 |
$( function() {
|
5 |
|
6 |
happyForms.dashboard = {
|
7 |
$deactivationLink: null,
|
8 |
+
copyToClipboardTimeout: null,
|
9 |
|
10 |
init: function() {
|
11 |
$( document ).on( 'click', '.happyforms-editor-button', this.onEditorButton.bind( this ) );
|
12 |
$( '.happyforms-dialog__button' ).on( 'click', this.onDialogButton.bind( this ) );
|
13 |
$( '.happyforms-notice:not(.one-time)' ).on( 'click', '.notice-dismiss', this.onNoticeDismiss.bind( this ) );
|
14 |
$( document ).on( 'click', 'a[id^="deactivate-happyforms"]', this.openDeactivateModal );
|
15 |
+
$( document ).on( 'click', 'button.happyforms-shortcode-clipboard__button', this.copyShortcodeToClipboard );
|
16 |
},
|
17 |
|
18 |
onEditorButton: function( e ) {
|
93 |
|
94 |
happyForms.modals.openDeactivateModal( e.target.href );
|
95 |
},
|
96 |
+
|
97 |
+
copyShortcodeToClipboard: function( e ) {
|
98 |
+
var $target = $( e.target );
|
99 |
+
var $success = $target.next();
|
100 |
+
var $input = $( '<input>' );
|
101 |
+
|
102 |
+
$input.val( $target.attr( 'data-shortcode' ) );
|
103 |
+
$target.after( $input );
|
104 |
+
$input.focus().select();
|
105 |
+
|
106 |
+
try {
|
107 |
+
document.execCommand( 'copy' );
|
108 |
+
clearTimeout( this.copyToClipboardTimeout );
|
109 |
+
$success.removeClass( 'hidden' );
|
110 |
+
copyToClipboardTimeout = setTimeout( function() {
|
111 |
+
$success.addClass( 'hidden' );
|
112 |
+
}, 3000 );
|
113 |
+
} catch( e ) {}
|
114 |
+
|
115 |
+
$target.trigger( 'focus' );
|
116 |
+
$input.remove();
|
117 |
+
},
|
118 |
};
|
119 |
|
120 |
$( function() {
|
core/classes/class-form-admin.php
CHANGED
@@ -55,7 +55,6 @@ class HappyForms_Form_Admin {
|
|
55 |
add_action( 'pre_get_posts', array( $this, 'pre_get_posts' ) );
|
56 |
add_filter( 'post_row_actions', array( $this, 'row_actions' ), 10, 2 );
|
57 |
add_action( 'load-edit.php', array( $this, 'duplicate_form_redirect' ) );
|
58 |
-
add_action( 'admin_footer', array( $this, 'admin_footer' ) );
|
59 |
add_filter( 'admin_footer_text', 'happyforms_admin_footer' );
|
60 |
add_action( 'load-edit.php', array( $this, 'change_bulk_draft_post_status' ) );
|
61 |
add_action( 'transition_post_status', array( $this, 'change_draft_post_status' ), 10, 3 );
|
@@ -283,9 +282,9 @@ class HappyForms_Form_Admin {
|
|
283 |
$columns = array(
|
284 |
'cb' => $columns['cb'],
|
285 |
'title' => $columns['title'],
|
286 |
-
'shortcode' => __( 'Shortcode', 'happyforms' ),
|
287 |
-
'added_to' => __( 'Added to', 'happyforms' ),
|
288 |
'author' => __( 'Author', 'happyforms' ),
|
|
|
|
|
289 |
'modified' => __( 'Date', 'happyforms' )
|
290 |
);
|
291 |
/**
|
@@ -331,10 +330,9 @@ class HappyForms_Form_Admin {
|
|
331 |
case 'shortcode':
|
332 |
$shortcode = happyforms_get_shortcode( $id );
|
333 |
?>
|
334 |
-
<
|
335 |
-
|
336 |
-
<
|
337 |
-
<a href="#" class="happyforms-shortcode-clipboard"><?php _e( 'Copy to clipboard', 'happyforms' ); ?></a>
|
338 |
</div>
|
339 |
<?php
|
340 |
break;
|
@@ -733,40 +731,6 @@ class HappyForms_Form_Admin {
|
|
733 |
return $exists;
|
734 |
}
|
735 |
|
736 |
-
|
737 |
-
/**
|
738 |
-
* Action: output Javascript logic for copying
|
739 |
-
* shortcodes to clipboard in the All Forms admin screen.
|
740 |
-
*
|
741 |
-
* @since 1.0
|
742 |
-
*
|
743 |
-
* @hooked action admin_footer
|
744 |
-
*
|
745 |
-
* @return void
|
746 |
-
*/
|
747 |
-
public function admin_footer() {
|
748 |
-
global $pagenow;
|
749 |
-
$post_type = happyforms_get_form_controller()->post_type;
|
750 |
-
|
751 |
-
if ( 'edit.php' === $pagenow && $post_type === get_post_type() ) : ?>
|
752 |
-
<script type="text/javascript">
|
753 |
-
// Shortcode copy-to-clipboard
|
754 |
-
( function ( $ ) {
|
755 |
-
$( document ).on( 'click', 'a.happyforms-shortcode-clipboard', function( e ) {
|
756 |
-
e.preventDefault();
|
757 |
-
|
758 |
-
var $shortcode = $( e.target ).prev();
|
759 |
-
$shortcode.focus().select();
|
760 |
-
|
761 |
-
try {
|
762 |
-
document.execCommand( 'copy' );
|
763 |
-
} catch( e ) {}
|
764 |
-
} );
|
765 |
-
} ) ( jQuery );
|
766 |
-
</script>
|
767 |
-
<?php endif;
|
768 |
-
}
|
769 |
-
|
770 |
}
|
771 |
|
772 |
/**
|
55 |
add_action( 'pre_get_posts', array( $this, 'pre_get_posts' ) );
|
56 |
add_filter( 'post_row_actions', array( $this, 'row_actions' ), 10, 2 );
|
57 |
add_action( 'load-edit.php', array( $this, 'duplicate_form_redirect' ) );
|
|
|
58 |
add_filter( 'admin_footer_text', 'happyforms_admin_footer' );
|
59 |
add_action( 'load-edit.php', array( $this, 'change_bulk_draft_post_status' ) );
|
60 |
add_action( 'transition_post_status', array( $this, 'change_draft_post_status' ), 10, 3 );
|
282 |
$columns = array(
|
283 |
'cb' => $columns['cb'],
|
284 |
'title' => $columns['title'],
|
|
|
|
|
285 |
'author' => __( 'Author', 'happyforms' ),
|
286 |
+
'added_to' => __( 'Added to', 'happyforms' ),
|
287 |
+
'shortcode' => __( 'Shortcode', 'happyforms' ),
|
288 |
'modified' => __( 'Date', 'happyforms' )
|
289 |
);
|
290 |
/**
|
330 |
case 'shortcode':
|
331 |
$shortcode = happyforms_get_shortcode( $id );
|
332 |
?>
|
333 |
+
<input type="text" size="15" readonly value="<?php echo esc_html( $shortcode ); ?>" />
|
334 |
+
<div class="happyforms-shortcode-clipboard">
|
335 |
+
<button type="button" class="button happyforms-shortcode-clipboard__button" data-shortcode="<?php echo esc_html( $shortcode ); ?>"><?php _e( 'Copy to clipboard', 'happyforms' ); ?></button><span aria-hidden="true" class="hidden"><?php _e( 'Copied!', 'happyforms' ); ?></span>
|
|
|
336 |
</div>
|
337 |
<?php
|
338 |
break;
|
731 |
return $exists;
|
732 |
}
|
733 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
734 |
}
|
735 |
|
736 |
/**
|
core/classes/class-happyforms-core.php
CHANGED
@@ -422,6 +422,8 @@ class HappyForms_Core {
|
|
422 |
$asset_mode = HappyForms_Form_Assets::MODE_ADMIN;
|
423 |
}
|
424 |
|
|
|
|
|
425 |
$output = $form_controller->render( $form, $asset_mode );
|
426 |
|
427 |
return $output;
|
422 |
$asset_mode = HappyForms_Form_Assets::MODE_ADMIN;
|
423 |
}
|
424 |
|
425 |
+
$asset_mode = apply_filters( 'happyforms_asset_mode', $asset_mode );
|
426 |
+
|
427 |
$output = $form_controller->render( $form, $asset_mode );
|
428 |
|
429 |
return $output;
|
core/helpers/helper-form-templates.php
CHANGED
@@ -1521,7 +1521,7 @@ endif;
|
|
1521 |
if ( ! function_exists( 'happyforms_get_shortcode' ) ):
|
1522 |
|
1523 |
function happyforms_get_shortcode( $form_id = 'ID' ) {
|
1524 |
-
$shortcode = "[form id=\"{$form_id}\"
|
1525 |
$shortcode = apply_filters( 'happyforms_get_shortcode', $shortcode, $form_id );
|
1526 |
|
1527 |
return $shortcode;
|
1521 |
if ( ! function_exists( 'happyforms_get_shortcode' ) ):
|
1522 |
|
1523 |
function happyforms_get_shortcode( $form_id = 'ID' ) {
|
1524 |
+
$shortcode = "[form id=\"{$form_id}\"]";
|
1525 |
$shortcode = apply_filters( 'happyforms_get_shortcode', $shortcode, $form_id );
|
1526 |
|
1527 |
return $shortcode;
|
happyforms.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Plugin URI: https://happyforms.io
|
6 |
* Description: We're changin' WordPress forms.
|
7 |
* Author: Happyforms
|
8 |
-
* Version: 1.13.
|
9 |
* Author URI: https://happyforms.io
|
10 |
* Upgrade URI: https://happyforms.io/upgrade
|
11 |
*/
|
@@ -22,7 +22,7 @@ if ( defined( 'HAPPYFORMS_UPGRADE_VERSION' ) ) {
|
|
22 |
/**
|
23 |
* The current version of the plugin.
|
24 |
*/
|
25 |
-
define( 'HAPPYFORMS_VERSION', '1.13.
|
26 |
|
27 |
if ( ! function_exists( 'happyforms_plugin_file' ) ):
|
28 |
/**
|
5 |
* Plugin URI: https://happyforms.io
|
6 |
* Description: We're changin' WordPress forms.
|
7 |
* Author: Happyforms
|
8 |
+
* Version: 1.13.11
|
9 |
* Author URI: https://happyforms.io
|
10 |
* Upgrade URI: https://happyforms.io/upgrade
|
11 |
*/
|
22 |
/**
|
23 |
* The current version of the plugin.
|
24 |
*/
|
25 |
+
define( 'HAPPYFORMS_VERSION', '1.13.11' );
|
26 |
|
27 |
if ( ! function_exists( 'happyforms_plugin_file' ) ):
|
28 |
/**
|
languages/happyforms.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the same license as the Happyforms (free) plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Happyforms (free) 1.13.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/happyforms/\n"
|
7 |
"Last-Translator: The Theme Foundry\n"
|
8 |
"Language-Team: The Theme Foundry\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2021-12-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: happyforms\n"
|
@@ -45,50 +45,54 @@ msgstr ""
|
|
45 |
msgid "Displays a form."
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: core/classes/class-form-admin.php:
|
49 |
-
msgid "
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: core/classes/class-form-admin.php:
|
53 |
msgid "Added to"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: core/classes/class-form-admin.php:
|
57 |
-
msgid "
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: core/classes/class-form-admin.php:
|
61 |
msgid "Date"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: core/classes/class-form-admin.php:
|
65 |
msgid "Copy to clipboard"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: core/classes/class-form-admin.php:
|
|
|
|
|
|
|
|
|
69 |
msgid "Last modified"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: core/classes/class-form-admin.php:
|
73 |
msgid "Edit"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: core/classes/class-form-admin.php:
|
77 |
#: core/templates/customize-form-item.php:27
|
78 |
#: core/templates/customize-form-part-footer.php:4
|
79 |
msgid "Duplicate"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: core/classes/class-form-admin.php:
|
83 |
#: inc/classes/class-message-admin.php:83
|
84 |
msgid "Trash"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: core/classes/class-form-admin.php:
|
88 |
msgid "1 form duplicated."
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: core/classes/class-form-admin.php:
|
92 |
msgid "Undo"
|
93 |
msgstr ""
|
94 |
|
@@ -865,7 +869,7 @@ msgstr ""
|
|
865 |
msgid "Settings"
|
866 |
msgstr ""
|
867 |
|
868 |
-
#: core/classes/class-happyforms-core.php:
|
869 |
msgid "Add Form"
|
870 |
msgstr ""
|
871 |
|
2 |
# This file is distributed under the same license as the Happyforms (free) plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Happyforms (free) 1.13.11\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/happyforms/\n"
|
7 |
"Last-Translator: The Theme Foundry\n"
|
8 |
"Language-Team: The Theme Foundry\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2021-12-14T14:06:22+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: happyforms\n"
|
45 |
msgid "Displays a form."
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: core/classes/class-form-admin.php:285
|
49 |
+
msgid "Author"
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: core/classes/class-form-admin.php:286
|
53 |
msgid "Added to"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: core/classes/class-form-admin.php:287
|
57 |
+
msgid "Shortcode"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: core/classes/class-form-admin.php:288
|
61 |
msgid "Date"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: core/classes/class-form-admin.php:335
|
65 |
msgid "Copy to clipboard"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: core/classes/class-form-admin.php:335
|
69 |
+
msgid "Copied!"
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#: core/classes/class-form-admin.php:346
|
73 |
msgid "Last modified"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: core/classes/class-form-admin.php:443
|
77 |
msgid "Edit"
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: core/classes/class-form-admin.php:447
|
81 |
#: core/templates/customize-form-item.php:27
|
82 |
#: core/templates/customize-form-part-footer.php:4
|
83 |
msgid "Duplicate"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: core/classes/class-form-admin.php:451
|
87 |
#: inc/classes/class-message-admin.php:83
|
88 |
msgid "Trash"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: core/classes/class-form-admin.php:495
|
92 |
msgid "1 form duplicated."
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: core/classes/class-form-admin.php:497
|
96 |
msgid "Undo"
|
97 |
msgstr ""
|
98 |
|
869 |
msgid "Settings"
|
870 |
msgstr ""
|
871 |
|
872 |
+
#: core/classes/class-happyforms-core.php:469
|
873 |
msgid "Add Form"
|
874 |
msgstr ""
|
875 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: contact form, contact form plugin, forms, form builder, custom form, intak
|
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.8
|
7 |
Requires PHP: 7.0
|
8 |
-
Stable tag: 1.13.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -151,6 +151,10 @@ Aw, honestly, the thought that you're writing about our contact form builder is
|
|
151 |
|
152 |
== Changelog ==
|
153 |
|
|
|
|
|
|
|
|
|
154 |
= 1.13.10 =
|
155 |
* Bugfix: Email tab settings weren't correctly saved.
|
156 |
|
@@ -885,6 +889,9 @@ Aw, honestly, the thought that you're writing about our contact form builder is
|
|
885 |
|
886 |
== Upgrade Notice ==
|
887 |
|
|
|
|
|
|
|
888 |
= 1.13.10 =
|
889 |
* Bugfixes.
|
890 |
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.8
|
7 |
Requires PHP: 7.0
|
8 |
+
Stable tag: 1.13.11
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
151 |
|
152 |
== Changelog ==
|
153 |
|
154 |
+
= 1.13.11 =
|
155 |
+
* Improvement: Miscellaneous improvements to Forms screen.
|
156 |
+
* Improvement: New filter allows finer control of assets loading.
|
157 |
+
|
158 |
= 1.13.10 =
|
159 |
* Bugfix: Email tab settings weren't correctly saved.
|
160 |
|
889 |
|
890 |
== Upgrade Notice ==
|
891 |
|
892 |
+
= 1.13.11 =
|
893 |
+
* Miscellaneous improvements.
|
894 |
+
|
895 |
= 1.13.10 =
|
896 |
* Bugfixes.
|
897 |
|