Skip to content

Commit

Permalink
Merge pull request #20 from visual-framework/acf-6.2.9
Browse files Browse the repository at this point in the history
updates acf to v6.2.9
  • Loading branch information
kasprzyk-sz authored Apr 22, 2024
2 parents 6073002 + d270e7a commit 05785f8
Show file tree
Hide file tree
Showing 156 changed files with 10,018 additions and 8,886 deletions.
4 changes: 2 additions & 2 deletions advanced-custom-fields-pro/acf.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Plugin Name: Advanced Custom Fields PRO
* Plugin URI: https://www.advancedcustomfields.com
* Description: Customize WordPress with powerful, professional and intuitive fields.
* Version: 6.2.8
* Version: 6.2.9
* Author: WP Engine
* Author URI: https://wpengine.com/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=plugin_directory&utm_content=advanced_custom_fields
* Update URI: https://www.advancedcustomfields.com/pro
Expand All @@ -36,7 +36,7 @@ class ACF {
*
* @var string
*/
public $version = '6.2.8';
public $version = '6.2.9';

/**
* The plugin settings array.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

26 changes: 16 additions & 10 deletions advanced-custom-fields-pro/assets/build/js/acf-input.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions advanced-custom-fields-pro/assets/build/js/acf.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion advanced-custom-fields-pro/assets/build/js/acf.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion advanced-custom-fields-pro/assets/build/js/acf.min.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -353,11 +353,12 @@ public function save_post( $post_id, $post ) {
}

$_POST['acf_field_group']['ID'] = $post_id;
// phpcs:disable WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Sanitized when saved.
$_POST['acf_field_group']['title'] = acf_maybe_get_POST( 'post_title', '' );
// phpcs:disable WordPress.Security.ValidatedSanitizedInput
$_POST['acf_field_group']['title'] = isset( $_POST['post_title'] ) ? $_POST['post_title'] : ''; // Post title is stored unsafe like WordPress, escaped on output.

// save field group.
acf_update_field_group( $_POST['acf_field_group'] ); //phpcs:ignore WordPress.Security.ValidatedSanitizedInput
acf_update_field_group( $_POST['acf_field_group'] );
// phpcs:enable WordPress.Security.ValidatedSanitizedInput
// phpcs:enable WordPress.Security.NonceVerification.Missing

return $post_id;
Expand Down
9 changes: 6 additions & 3 deletions advanced-custom-fields-pro/includes/forms/form-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,13 @@ public function edit_form_after_title() {
// render 'acf_after_title' metaboxes
do_meta_boxes( get_current_screen(), 'acf_after_title', $post );

if ( ! empty( $this->style ) ) {
// render dynamic field group style, using wp_strip_all_tags as this is filterable, but should only contain valid styles and no html.
echo '<style type="text/css" id="acf-style">' . wp_strip_all_tags( $this->style ) . '</style>'; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- CSS only, escaped by wp_strip_all_tags.
$style = '';
if ( is_string( $this->style ) ) {
$style = $this->style;
}

// Render dynamic field group style, using wp_strip_all_tags as this is filterable, but should only contain valid styles and no html.
echo '<style type="text/css" id="acf-style">' . wp_strip_all_tags( $style ) . '</style>'; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- CSS only, escaped by wp_strip_all_tags.
}

/**
Expand Down
2 changes: 1 addition & 1 deletion advanced-custom-fields-pro/lang/acf-ar.l10n.php

Large diffs are not rendered by default.

Binary file modified advanced-custom-fields-pro/lang/acf-ar.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion advanced-custom-fields-pro/lang/acf-ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# This file is distributed under the same license as Advanced Custom Fields.
msgid ""
msgstr ""
"PO-Revision-Date: 2024-03-29T21:10:52+00:00\n"
"PO-Revision-Date: 2024-04-08T08:54:42+00:00\n"
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
Expand Down
2 changes: 1 addition & 1 deletion advanced-custom-fields-pro/lang/acf-bg_BG.l10n.php

Large diffs are not rendered by default.

Binary file modified advanced-custom-fields-pro/lang/acf-bg_BG.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion advanced-custom-fields-pro/lang/acf-bg_BG.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# This file is distributed under the same license as Advanced Custom Fields.
msgid ""
msgstr ""
"PO-Revision-Date: 2024-03-29T21:10:52+00:00\n"
"PO-Revision-Date: 2024-04-08T08:54:42+00:00\n"
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
"Language: bg_BG\n"
"MIME-Version: 1.0\n"
Expand Down
2 changes: 1 addition & 1 deletion advanced-custom-fields-pro/lang/acf-ca.l10n.php

Large diffs are not rendered by default.

Binary file modified advanced-custom-fields-pro/lang/acf-ca.mo
Binary file not shown.
Loading

0 comments on commit 05785f8

Please sign in to comment.