Skip to content

Commit

Permalink
Deploying version 6.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lgladdy committed Jun 27, 2024
1 parent 642e1d0 commit 53b8bb6
Show file tree
Hide file tree
Showing 157 changed files with 16,032 additions and 15,121 deletions.
4 changes: 2 additions & 2 deletions acf.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Plugin Name: Advanced Custom Fields
* Plugin URI: https://www.advancedcustomfields.com
* Description: Customize WordPress with powerful, professional and intuitive fields.
* Version: 6.3.2
* Version: 6.3.3
* Author: WP Engine
* Author URI: https://wpengine.com/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=plugin_directory&utm_content=advanced_custom_fields
* Text Domain: acf
Expand All @@ -35,7 +35,7 @@ class ACF {
*
* @var string
*/
public $version = '6.3.2';
public $version = '6.3.3';

/**
* The plugin settings array.
Expand Down
3 changes: 2 additions & 1 deletion assets/build/css/acf-field-group.css

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

2 changes: 1 addition & 1 deletion assets/build/css/acf-field-group.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/build/css/acf-field-group.min.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions assets/build/css/acf-input.css

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

2 changes: 1 addition & 1 deletion assets/build/css/acf-input.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/build/css/acf-input.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/build/js/acf-input.js

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

2 changes: 1 addition & 1 deletion assets/build/js/acf-input.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/build/js/acf-input.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion includes/admin/views/options-page-preview.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<div class="acf-no-field-groups-wrapper">
<div class="acf-no-field-groups-inner acf-field-group-pro-features-content">
<img src="<?php echo esc_url( acf_get_url( 'assets/images/empty-post-types.svg' ) ); ?>" />
<h2><?php echo acf_esc_html( 'Upgrade to ACF PRO to create options pages in just a few clicks', 'acf' ); ?></h2>
<h2><?php echo acf_esc_html( __( 'Upgrade to ACF PRO to create options pages in just a few clicks', 'acf' ) ); ?></h2>
<p><?php echo acf_esc_html( $acf_options_pages_desc ); ?></p>
<div class="acf-ui-options-page-pro-features-actions">
<a target="_blank" href="<?php echo $acf_learn_more_link; ?>" class="acf-btn acf-btn-muted"><?php esc_html_e( 'Learn More', 'acf' ); ?> <i class="acf-icon acf-icon-arrow-up-right"></i></a><?php //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- escaped on generation. ?>
Expand Down
15 changes: 14 additions & 1 deletion includes/ajax/class-acf-ajax-query-users.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,20 @@ public function verify_request( $request ) {
return new WP_Error( 'acf_invalid_args', __( 'Invalid request args.', 'acf' ), array( 'status' => 404 ) );
}

if ( ! acf_verify_ajax( $request['nonce'], $request['field_key'] ) ) {
$nonce = $request['nonce'];
$action = $request['field_key'];

if ( isset( $request['conditional_logic'] ) && true === (bool) $request['conditional_logic'] ) {
if ( ! acf_current_user_can_admin() ) {
return new WP_Error( 'acf_invalid_permissions', __( 'Sorry, you do not have permission to do that.', 'acf' ) );
}

// Use the standard ACF admin nonce.
$nonce = '';
$action = '';
}

if ( ! acf_verify_ajax( $nonce, $action ) ) {
return new WP_Error( 'acf_invalid_nonce', __( 'Invalid nonce.', 'acf' ), array( 'status' => 404 ) );
}

Expand Down
571 changes: 338 additions & 233 deletions includes/fields/class-acf-field-icon_picker.php

Large diffs are not rendered by default.

15 changes: 13 additions & 2 deletions includes/fields/class-acf-field-page_link.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,19 @@ public function render_field_page_link_conditional_choices( $choices, $condition
* @return void
*/
public function ajax_query() {
$nonce = acf_request_arg( 'nonce', '' );
$key = acf_request_arg( 'field_key', '' );
$nonce = acf_request_arg( 'nonce', '' );
$key = acf_request_arg( 'field_key', '' );
$conditional_logic = (bool) acf_request_arg( 'conditional_logic', false );

if ( $conditional_logic ) {
if ( ! acf_current_user_can_admin() ) {
die();
}

// Use the standard ACF admin nonce.
$nonce = '';
$key = '';
}

if ( ! acf_verify_ajax( $nonce, $key ) ) {
die();
Expand Down
15 changes: 13 additions & 2 deletions includes/fields/class-acf-field-post_object.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,19 @@ public function render_field_post_object_conditional_choices( $choices, $conditi
* @return void
*/
public function ajax_query() {
$nonce = acf_request_arg( 'nonce', '' );
$key = acf_request_arg( 'field_key', '' );
$nonce = acf_request_arg( 'nonce', '' );
$key = acf_request_arg( 'field_key', '' );
$conditional_logic = (bool) acf_request_arg( 'conditional_logic', false );

if ( $conditional_logic ) {
if ( ! acf_current_user_can_admin() ) {
die();
}

// Use the standard ACF admin nonce.
$nonce = '';
$key = '';
}

if ( ! acf_verify_ajax( $nonce, $key ) ) {
die();
Expand Down
15 changes: 13 additions & 2 deletions includes/fields/class-acf-field-relationship.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,19 @@ function input_admin_enqueue_scripts() {
* @return void
*/
public function ajax_query() {
$nonce = acf_request_arg( 'nonce', '' );
$key = acf_request_arg( 'field_key', '' );
$nonce = acf_request_arg( 'nonce', '' );
$key = acf_request_arg( 'field_key', '' );
$conditional_logic = (bool) acf_request_arg( 'conditional_logic', false );

if ( $conditional_logic ) {
if ( ! acf_current_user_can_admin() ) {
die();
}

// Use the standard ACF admin nonce.
$nonce = '';
$key = '';
}

if ( ! acf_verify_ajax( $nonce, $key ) ) {
die();
Expand Down
15 changes: 13 additions & 2 deletions includes/fields/class-acf-field-taxonomy.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,19 @@ public function initialize() {
* @return void
*/
public function ajax_query() {
$nonce = acf_request_arg( 'nonce', '' );
$key = acf_request_arg( 'field_key', '' );
$nonce = acf_request_arg( 'nonce', '' );
$key = acf_request_arg( 'field_key', '' );
$conditional_logic = (bool) acf_request_arg( 'conditional_logic', false );

if ( $conditional_logic ) {
if ( ! acf_current_user_can_admin() ) {
die();
}

// Use the standard ACF admin nonce.
$nonce = '';
$key = '';
}

if ( ! acf_verify_ajax( $nonce, $key ) ) {
die();
Expand Down
2 changes: 1 addition & 1 deletion lang/acf-ar.l10n.php

Large diffs are not rendered by default.

Binary file modified lang/acf-ar.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion 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-06-24T10:56:57+00:00\n"
"PO-Revision-Date: 2024-06-27T14:24:00+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 lang/acf-bg_BG.l10n.php

Large diffs are not rendered by default.

Binary file modified lang/acf-bg_BG.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion 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-06-24T10:56:57+00:00\n"
"PO-Revision-Date: 2024-06-27T14:24:00+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 lang/acf-ca.l10n.php

Large diffs are not rendered by default.

Binary file modified lang/acf-ca.mo
Binary file not shown.
Loading

0 comments on commit 53b8bb6

Please sign in to comment.