Skip to content

Commit

Permalink
ACF Extended: 0.9.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
acf-extended committed Jun 8, 2024
1 parent 2af5241 commit 6ad9de5
Show file tree
Hide file tree
Showing 44 changed files with 5,454 additions and 3,108 deletions.
45 changes: 45 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,51 @@ Manage WordPress Options from the Settings > Options page. Options value (string

## 📋 Changelog

### 0.9.0.5

**ACF Extended Pro 0.9.0.5:**

* Field Group Location: Added "Dashboard > Widget" Location
* Field Group Location: Dashboard Widget allows to update Field Groups from the WP Dashboard
* Field Group Location: Added "Woocommerce" locations: Cart, Checkout, Account, Shop & Terms
* Modules: AutoSync - `acfe/php` & `acfe/json` settings now control the AutoSync metabox visbility

**ACF Extended Basic 0.9.0.5:**

* Module: Form - Added ability to load form with ajax
* Module: Form - Added "Validation > Global Error" settings to customize error messages
* Module: Form - Added Instruction Placement "Tooltip" & "Above Field" options
* Module: Form - Cleaned front-end forms HTML markup
* Module: Form - Enhanced front-end forms JS logic
* Module: Form - Enhanced compatibility for multiple forms on the same page
* Module: Form - Enhanced `{field:gallery}` formatted value
* Module: Form - Enhanced "Validation > Grouped Errors" to use the "Errors Class" setting
* Module: Form - Fixed missing `l10n` acf setting compatibility for export
* Module: Form - Fixed Shortcode usage in Success Message
* Module: Form - Fixed slashed text in Success Message template tags
* Module: Form - Post - Fixed Image/File/Gallery "Uploaded to" filter in Media Modal
* Module: Form - Post - Fixed Gallery attachement not being connected to created/updated post
* Module: Form - Post - Fixed Shortcode usage in Post Content
* Module: Form - Post - Fixed current post not displaying new data if updated without redirect
* Module: Form - Email - Fixed Shortcode usage in e-mail content/html
* Module: Form - User - "Log In" action doesn’t require to redirect on success anymore
* Module: Form - Added `acfe.renderForm()` & `acfe.renderFormAjax()` JS helpers
* Module: Form - Added `acfe_enqueue_form()` PHP helper
* Module: Form - Added `acfe_get_form_action()` allowing dot notation & default arguments
* Module: Form - Added `acfe/form/submit_success_data` PHP hook to pass data to the JS success hook
* Module: Form - Added `acfe/form/validation_begin` JS hook to target front-end form validation
* Module: Form - Added `acfe/form/validation_failure` JS hook to target front-end form validation
* Module: Form - Added `acfe/form/validation_success` JS hook to target front-end form validation
* Module: Form - Added `acfe/form/validation_complete` JS hook to target front-end form validation
* Field Groups: Advanced Settings - Added ability to assign field’s sub array settings using dot notation
* Field Groups: AutoSync - Added ability to remove existing Json/PHP sync from the Field Group UI
* Field Groups: AutoSync - `acfe/php` & `acfe/json` settings now control the sync metabox visbility
* Field Groups: AutoSync - Added `acfe/settings/should_delete_php` hook to control the file removal
* Field Groups: AutoSync - Added `acfe/settings/should_delete_json` hook to control the file removal
* Field Groups: AutoSync - Fixed Json files not being correctly deleted when Field Group use a custom path
* Global: Modal - Renamed `new_modal` js hook into `acfe/new_modal` for consistency
* Global: Enhanced `acfe_get_post_id()` helper

### 0.9.0.4

**ACF Extended Pro 0.9.0.4:**
Expand Down
8 changes: 5 additions & 3 deletions acf-extended.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Advanced Custom Fields: Extended
* Description: All-in-one enhancement suite that improves WordPress & Advanced Custom Fields.
* Version: 0.9.0.4
* Version: 0.9.0.5
* Author: ACF Extended
* Plugin URI: https://www.acf-extended.com
* Author URI: https://www.acf-extended.com
Expand All @@ -19,7 +19,7 @@
class ACFE{

// vars
var $version = '0.9.0.4';
var $version = '0.9.0.5';

/**
* construct
Expand Down Expand Up @@ -280,6 +280,7 @@ function init(){
acfe_include('includes/field-groups/field-group-permissions.php');
acfe_include('includes/field-groups/field-groups.php');
acfe_include('includes/field-groups/field-groups-local.php');
acfe_include('includes/field-groups/field-types.php');

// locations
acfe_include('includes/locations/post-type-all.php');
Expand Down Expand Up @@ -314,7 +315,8 @@ function init(){
function include_fields(){

// autosync
acfe_include('includes/modules/autosync.php');
acfe_include('includes/modules/autosync-php.php');
acfe_include('includes/modules/autosync-json.php');

}

Expand Down
11 changes: 1 addition & 10 deletions assets/css/acfe-input.css
Original file line number Diff line number Diff line change
Expand Up @@ -1359,15 +1359,7 @@ body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:last-of-type {
color: #aaa
}

form.acfe-form.is-valid[data-hide-revalidation="1"]>.acf-notice.-success {
display: none
}

form.acfe-form.is-invalid[data-hide-error="1"]>.acf-error-message.-dismiss {
display: none
}

form.acfe-form.is-invalid[data-errors-position=below] .acf-field .acf-notice {
.acfe-form .acf-field .acf-notice.-below {
margin: 15px 0 0
}

Expand All @@ -1376,7 +1368,6 @@ form.acfe-form.is-invalid[data-errors-position=below] .acf-field .acf-notice {
.acf-media-modal .ui-helper-hidden-accessible {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
-webkit-clip-path: inset(50%);
clip-path: inset(50%);
height: 1px;
margin: -1px;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/acfe-input.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/js/acfe-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@
wait: 'prepare',
priority: 1,
initialize: function() {
if (acfe.get('module') && acfe.get('module').screen === 'post') {
if (acfe.get('module') && acfe.get('module.screen') === 'post') {
new module(acfe.get('module'));
}
}
Expand Down Expand Up @@ -424,7 +424,7 @@
wait: 'prepare',
priority: 1,
initialize: function() {
if (acfe.get('module') && acfe.get('module').name === 'form' && acfe.get('module').screen === 'post') {
if (acfe.get('module.name') === 'form' && acfe.get('module.screen') === 'post') {
new module();
}
}
Expand Down
2 changes: 1 addition & 1 deletion assets/js/acfe-admin.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 6ad9de5

Please sign in to comment.