Skip to content

Commit 621bfbf

Browse files
committed
Deploying version 6.3.5
1 parent 51ae1ff commit 621bfbf

File tree

142 files changed

+9063
-909
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+9063
-909
lines changed

acf.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Plugin Name: Advanced Custom Fields
1010
* Plugin URI: https://www.advancedcustomfields.com
1111
* Description: Customize WordPress with powerful, professional and intuitive fields.
12-
* Version: 6.3.4
12+
* Version: 6.3.5
1313
* Author: WP Engine
1414
* Author URI: https://wpengine.com/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=plugin_directory&utm_content=advanced_custom_fields
1515
* Text Domain: acf
@@ -35,7 +35,7 @@ class ACF {
3535
*
3636
* @var string
3737
*/
38-
public $version = '6.3.4';
38+
public $version = '6.3.5';
3939

4040
/**
4141
* The plugin settings array.

assets/build/js/acf-input.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/build/js/acf-input.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/build/js/acf-input.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

includes/acf-input-functions.php

+6-8
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,10 @@ function acf_esc_attrs( $attrs ) {
7070
*
7171
* This function emulates `wp_kses_post()` with a context of "acf" for extensibility.
7272
*
73-
* @date 16/4/21
74-
* @since 5.9.6
73+
* @since 5.9.6
7574
*
76-
* @param string $string
77-
* @return string
75+
* @param string $string The string to be escaped
76+
* @return string|false
7877
*/
7978
function acf_esc_html( $string = '' ) {
8079

@@ -88,12 +87,11 @@ function acf_esc_html( $string = '' ) {
8887
/**
8988
* Private callback for the "wp_kses_allowed_html" filter used to return allowed HTML for "acf" context.
9089
*
91-
* @date 16/4/21
9290
* @since 5.9.6
9391
*
94-
* @param array $tags An array of allowed tags.
95-
* @param string $context The context name.
96-
* @return array.
92+
* @param array $tags An array of allowed tags.
93+
* @param string $context The context name.
94+
* @return array
9795
*/
9896
function _acf_kses_allowed_html( $tags, $context ) {
9997
global $allowedposttags;

includes/ajax/class-acf-ajax-local-json-diff.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ACF_Ajax_Local_JSON_Diff extends ACF_Ajax {
3434
public function get_response( $request ) {
3535
// Bail early if the current user can't access the ACF admin.
3636
if ( ! acf_current_user_can_admin() ) {
37-
return new WP_Error( 'acf_not_allowed', __( 'Sorry, you are not allowed to do that.', 'acf' ), array( 'status' => 403 ) );
37+
return new WP_Error( 'acf_not_allowed', __( 'Sorry, you do not have permission to do that.', 'acf' ), array( 'status' => 403 ) );
3838
}
3939

4040
$json = array();

includes/ajax/class-acf-ajax-upgrade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ACF_Ajax_Upgrade extends ACF_Ajax {
2121
*/
2222
public function get_response( $request ) {
2323
if ( ! current_user_can( acf_get_setting( 'capability' ) ) ) {
24-
return new WP_Error( 'upgrade_error', __( 'Sorry, you don\'t have permission to do that.', 'acf' ) );
24+
return new WP_Error( 'upgrade_error', __( 'Sorry, you do not have permission to do that.', 'acf' ) );
2525
}
2626

2727
// Switch blog.

includes/api/api-template.php

+4
Original file line numberDiff line numberDiff line change
@@ -1076,6 +1076,10 @@ function acf_shortcode( $atts ) {
10761076
return;
10771077
}
10781078

1079+
if ( is_array( $value ) ) {
1080+
$value = implode( ', ', $value );
1081+
}
1082+
10791083
// Temporarily always get the unescaped version for action comparison.
10801084
$unescaped_value = get_field( $atts['field'], $post_id, $atts['format_value'], false );
10811085

includes/fields/class-acf-field-icon_picker.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -437,13 +437,13 @@ public function get_dashicons() {
437437
'dashicons-book' => esc_html__( 'Book Icon', 'acf' ),
438438
'dashicons-book-alt' => esc_html__( 'Book (alt) Icon', 'acf' ),
439439
'dashicons-buddicons-activity' => esc_html__( 'Activity Icon', 'acf' ),
440-
'dashicons-buddicons-bbpress-logo' => esc_html__( 'BbPress Icon', 'acf' ),
440+
'dashicons-buddicons-bbpress-logo' => esc_html__( 'bbPress Icon', 'acf' ),
441441
'dashicons-buddicons-buddypress-logo' => esc_html__( 'BuddyPress Icon', 'acf' ),
442442
'dashicons-buddicons-community' => esc_html__( 'Community Icon', 'acf' ),
443443
'dashicons-buddicons-forums' => esc_html__( 'Forums Icon', 'acf' ),
444444
'dashicons-buddicons-friends' => esc_html__( 'Friends Icon', 'acf' ),
445445
'dashicons-buddicons-groups' => esc_html__( 'Groups Icon', 'acf' ),
446-
'dashicons-buddicons-pm' => esc_html__( 'Pm Icon', 'acf' ),
446+
'dashicons-buddicons-pm' => esc_html__( 'PM Icon', 'acf' ),
447447
'dashicons-buddicons-replies' => esc_html__( 'Replies Icon', 'acf' ),
448448
'dashicons-buddicons-topics' => esc_html__( 'Topics Icon', 'acf' ),
449449
'dashicons-buddicons-tracking' => esc_html__( 'Tracking Icon', 'acf' ),
@@ -570,8 +570,8 @@ public function get_dashicons() {
570570
'dashicons-hidden' => esc_html__( 'Hidden Icon', 'acf' ),
571571
'dashicons-hourglass' => esc_html__( 'Hourglass Icon', 'acf' ),
572572
'dashicons-html' => esc_html__( 'HTML Icon', 'acf' ),
573-
'dashicons-id' => esc_html__( 'Id Icon', 'acf' ),
574-
'dashicons-id-alt' => esc_html__( 'Id (alt) Icon', 'acf' ),
573+
'dashicons-id' => esc_html__( 'ID Icon', 'acf' ),
574+
'dashicons-id-alt' => esc_html__( 'ID (alt) Icon', 'acf' ),
575575
'dashicons-image-crop' => esc_html__( 'Crop Icon', 'acf' ),
576576
'dashicons-image-filter' => esc_html__( 'Filter Icon', 'acf' ),
577577
'dashicons-image-flip-horizontal' => esc_html__( 'Flip Horizontal Icon', 'acf' ),

lang/acf-ar.l10n.php

+1-1
Large diffs are not rendered by default.

lang/acf-ar.mo

0 Bytes
Binary file not shown.

lang/acf-ar.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# This file is distributed under the same license as Advanced Custom Fields.
1313
msgid ""
1414
msgstr ""
15-
"PO-Revision-Date: 2024-07-18T08:39:03+00:00\n"
15+
"PO-Revision-Date: 2024-08-01T09:50:26+00:00\n"
1616
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
1717
"Language: ar\n"
1818
"MIME-Version: 1.0\n"

lang/acf-bg_BG.l10n.php

+1-1
Large diffs are not rendered by default.

lang/acf-bg_BG.mo

0 Bytes
Binary file not shown.

lang/acf-bg_BG.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# This file is distributed under the same license as Advanced Custom Fields.
1313
msgid ""
1414
msgstr ""
15-
"PO-Revision-Date: 2024-07-18T08:39:03+00:00\n"
15+
"PO-Revision-Date: 2024-08-01T09:50:26+00:00\n"
1616
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
1717
"Language: bg_BG\n"
1818
"MIME-Version: 1.0\n"

lang/acf-ca.l10n.php

+1-1
Large diffs are not rendered by default.

lang/acf-ca.mo

0 Bytes
Binary file not shown.

lang/acf-ca.po

+22-14
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# This file is distributed under the same license as Advanced Custom Fields.
1313
msgid ""
1414
msgstr ""
15-
"PO-Revision-Date: 2024-07-18T08:39:03+00:00\n"
15+
"PO-Revision-Date: 2024-08-01T09:50:26+00:00\n"
1616
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
1717
"Language: ca\n"
1818
"MIME-Version: 1.0\n"
@@ -21,6 +21,14 @@ msgstr ""
2121
"X-Generator: gettext\n"
2222
"Project-Id-Version: Advanced Custom Fields\n"
2323

24+
#: includes/api/api-template.php:1054
25+
msgid "[The ACF shortcode cannot display fields from non-public posts]"
26+
msgstr ""
27+
28+
#: includes/api/api-template.php:1011
29+
msgid "[The ACF shortcode is disabled on this site]"
30+
msgstr ""
31+
2432
#: includes/fields/class-acf-field-icon_picker.php:451
2533
msgid "Businessman Icon"
2634
msgstr ""
@@ -702,7 +710,7 @@ msgstr ""
702710
msgid "Sorry, you are not allowed to do that."
703711
msgstr ""
704712

705-
#: includes/ajax/class-acf-ajax-check-screen.php:27
713+
#: includes/ajax/class-acf-ajax-check-screen.php:37
706714
#: includes/ajax/class-acf-ajax-query-users.php:32
707715
#: includes/ajax/class-acf-ajax-user-setting.php:38
708716
msgid "Sorry, you do not have permission to do that."
@@ -1844,16 +1852,16 @@ msgstr ""
18441852
msgid "Please activate your ACF PRO license to edit this options page."
18451853
msgstr "Activeu la llicència ACF PRO per editar aquesta pàgina d'opcions."
18461854

1847-
#: includes/api/api-template.php:381 includes/api/api-template.php:435
1855+
#: includes/api/api-template.php:385 includes/api/api-template.php:439
18481856
msgid ""
18491857
"Returning escaped HTML values is only possible when format_value is also "
18501858
"true. The field values have not been returned for security."
18511859
msgstr ""
18521860
"Retornar els valors HTML escapats només és possible quan format_value també "
18531861
"és true. Els valors del camp no s'han retornat per seguretat."
18541862

1855-
#: includes/api/api-template.php:46 includes/api/api-template.php:247
1856-
#: includes/api/api-template.php:939
1863+
#: includes/api/api-template.php:46 includes/api/api-template.php:251
1864+
#: includes/api/api-template.php:947
18571865
msgid ""
18581866
"Returning an escaped HTML value is only possible when format_value is also "
18591867
"true. The field value has not been returned for security."
@@ -4698,7 +4706,7 @@ msgstr ""
46984706
"https://wpengine.com/?utm_source=wordpress."
46994707
"org&utm_medium=referral&utm_campaign=plugin_directory&utm_content=advanced_custom_fields"
47004708

4701-
#: includes/api/api-template.php:1015
4709+
#: includes/api/api-template.php:1027
47024710
msgid "[ACF shortcode value disabled for preview]"
47034711
msgstr "[Valor del codi de substitució d'ACF desactivat a la previsualització]"
47044712

@@ -6307,7 +6315,7 @@ msgstr "Edita"
63076315
msgid "The changes you made will be lost if you navigate away from this page"
63086316
msgstr "Perdreu els canvis que heu fet si abandoneu aquesta pàgina"
63096317

6310-
#: includes/api/api-helpers.php:2959
6318+
#: includes/api/api-helpers.php:2984
63116319
msgid "File type must be %s."
63126320
msgstr "El tipus de fitxer ha de ser %s."
63136321

@@ -6316,34 +6324,34 @@ msgstr "El tipus de fitxer ha de ser %s."
63166324
#: includes/admin/views/acf-field-group/conditional-logic.php:182
63176325
#: includes/admin/views/acf-field-group/location-group.php:3
63186326
#: includes/admin/views/acf-field-group/locations.php:35
6319-
#: includes/api/api-helpers.php:2956 assets/build/js/acf-field-group.js:781
6327+
#: includes/api/api-helpers.php:2981 assets/build/js/acf-field-group.js:781
63206328
#: assets/build/js/acf-field-group.js:2427
63216329
#: assets/build/js/acf-field-group.js:946
63226330
#: assets/build/js/acf-field-group.js:2859
63236331
msgid "or"
63246332
msgstr "o"
63256333

6326-
#: includes/api/api-helpers.php:2932
6334+
#: includes/api/api-helpers.php:2957
63276335
msgid "File size must not exceed %s."
63286336
msgstr "La mida del fitxer no ha de superar %s."
63296337

6330-
#: includes/api/api-helpers.php:2928
6338+
#: includes/api/api-helpers.php:2953
63316339
msgid "File size must be at least %s."
63326340
msgstr "La mida del fitxer ha de ser almenys %s."
63336341

6334-
#: includes/api/api-helpers.php:2915
6342+
#: includes/api/api-helpers.php:2940
63356343
msgid "Image height must not exceed %dpx."
63366344
msgstr "L'alçada de la imatge no pot ser superior a %dpx."
63376345

6338-
#: includes/api/api-helpers.php:2911
6346+
#: includes/api/api-helpers.php:2936
63396347
msgid "Image height must be at least %dpx."
63406348
msgstr "L'alçada de la imatge ha de ser almenys de %dpx."
63416349

6342-
#: includes/api/api-helpers.php:2899
6350+
#: includes/api/api-helpers.php:2924
63436351
msgid "Image width must not exceed %dpx."
63446352
msgstr "L'amplada de la imatge no pot ser superior a %dpx."
63456353

6346-
#: includes/api/api-helpers.php:2895
6354+
#: includes/api/api-helpers.php:2920
63476355
msgid "Image width must be at least %dpx."
63486356
msgstr "L'amplada de la imatge ha de ser almenys de %dpx."
63496357

lang/acf-cs_CZ.l10n.php

+1-1
Large diffs are not rendered by default.

lang/acf-cs_CZ.mo

0 Bytes
Binary file not shown.

lang/acf-cs_CZ.po

+22-14
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# This file is distributed under the same license as Advanced Custom Fields.
1313
msgid ""
1414
msgstr ""
15-
"PO-Revision-Date: 2024-07-18T08:39:03+00:00\n"
15+
"PO-Revision-Date: 2024-08-01T09:50:26+00:00\n"
1616
"Report-Msgid-Bugs-To: http://support.advancedcustomfields.com\n"
1717
"Language: cs_CZ\n"
1818
"MIME-Version: 1.0\n"
@@ -21,6 +21,14 @@ msgstr ""
2121
"X-Generator: gettext\n"
2222
"Project-Id-Version: Advanced Custom Fields\n"
2323

24+
#: includes/api/api-template.php:1054
25+
msgid "[The ACF shortcode cannot display fields from non-public posts]"
26+
msgstr ""
27+
28+
#: includes/api/api-template.php:1011
29+
msgid "[The ACF shortcode is disabled on this site]"
30+
msgstr ""
31+
2432
#: includes/fields/class-acf-field-icon_picker.php:451
2533
msgid "Businessman Icon"
2634
msgstr ""
@@ -702,7 +710,7 @@ msgstr ""
702710
msgid "Sorry, you are not allowed to do that."
703711
msgstr ""
704712

705-
#: includes/ajax/class-acf-ajax-check-screen.php:27
713+
#: includes/ajax/class-acf-ajax-check-screen.php:37
706714
#: includes/ajax/class-acf-ajax-query-users.php:32
707715
#: includes/ajax/class-acf-ajax-user-setting.php:38
708716
msgid "Sorry, you do not have permission to do that."
@@ -1842,14 +1850,14 @@ msgstr ""
18421850
msgid "Please activate your ACF PRO license to edit this options page."
18431851
msgstr ""
18441852

1845-
#: includes/api/api-template.php:381 includes/api/api-template.php:435
1853+
#: includes/api/api-template.php:385 includes/api/api-template.php:439
18461854
msgid ""
18471855
"Returning escaped HTML values is only possible when format_value is also "
18481856
"true. The field values have not been returned for security."
18491857
msgstr ""
18501858

1851-
#: includes/api/api-template.php:46 includes/api/api-template.php:247
1852-
#: includes/api/api-template.php:939
1859+
#: includes/api/api-template.php:46 includes/api/api-template.php:251
1860+
#: includes/api/api-template.php:947
18531861
msgid ""
18541862
"Returning an escaped HTML value is only possible when format_value is also "
18551863
"true. The field value has not been returned for security."
@@ -4626,7 +4634,7 @@ msgstr ""
46264634
"https://wpengine.com/?utm_source=wordpress."
46274635
"org&utm_medium=referral&utm_campaign=plugin_directory&utm_content=advanced_custom_fields"
46284636

4629-
#: includes/api/api-template.php:1015
4637+
#: includes/api/api-template.php:1027
46304638
msgid "[ACF shortcode value disabled for preview]"
46314639
msgstr "[Hodnota zkráceného kódu ACF vypnuta pro náhled]"
46324640

@@ -6234,7 +6242,7 @@ msgid "The changes you made will be lost if you navigate away from this page"
62346242
msgstr ""
62356243
"Pokud opustíte tuto stránku, změny, které jste provedli, budou ztraceny"
62366244

6237-
#: includes/api/api-helpers.php:2959
6245+
#: includes/api/api-helpers.php:2984
62386246
msgid "File type must be %s."
62396247
msgstr "Typ souboru musí být %s."
62406248

@@ -6243,34 +6251,34 @@ msgstr "Typ souboru musí být %s."
62436251
#: includes/admin/views/acf-field-group/conditional-logic.php:182
62446252
#: includes/admin/views/acf-field-group/location-group.php:3
62456253
#: includes/admin/views/acf-field-group/locations.php:35
6246-
#: includes/api/api-helpers.php:2956 assets/build/js/acf-field-group.js:781
6254+
#: includes/api/api-helpers.php:2981 assets/build/js/acf-field-group.js:781
62476255
#: assets/build/js/acf-field-group.js:2427
62486256
#: assets/build/js/acf-field-group.js:946
62496257
#: assets/build/js/acf-field-group.js:2859
62506258
msgid "or"
62516259
msgstr "nebo"
62526260

6253-
#: includes/api/api-helpers.php:2932
6261+
#: includes/api/api-helpers.php:2957
62546262
msgid "File size must not exceed %s."
62556263
msgstr "Velikost souboru nesmí překročit %s."
62566264

6257-
#: includes/api/api-helpers.php:2928
6265+
#: includes/api/api-helpers.php:2953
62586266
msgid "File size must be at least %s."
62596267
msgstr "Velikost souboru musí být alespoň %s."
62606268

6261-
#: includes/api/api-helpers.php:2915
6269+
#: includes/api/api-helpers.php:2940
62626270
msgid "Image height must not exceed %dpx."
62636271
msgstr "Výška obrázku nesmí přesáhnout %dpx."
62646272

6265-
#: includes/api/api-helpers.php:2911
6273+
#: includes/api/api-helpers.php:2936
62666274
msgid "Image height must be at least %dpx."
62676275
msgstr "Výška obrázku musí být alespoň %dpx."
62686276

6269-
#: includes/api/api-helpers.php:2899
6277+
#: includes/api/api-helpers.php:2924
62706278
msgid "Image width must not exceed %dpx."
62716279
msgstr "Šířka obrázku nesmí přesáhnout %dpx."
62726280

6273-
#: includes/api/api-helpers.php:2895
6281+
#: includes/api/api-helpers.php:2920
62746282
msgid "Image width must be at least %dpx."
62756283
msgstr "Šířka obrázku musí být alespoň %dpx."
62766284

lang/acf-da_DK.l10n.php

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)