Skip to content

Commit 2c02692

Browse files
committed
v6.0.3.1
Signed-off-by: Kolja Nolte <kolja.nolte@gmail.com>
1 parent aad2f43 commit 2c02692

File tree

274 files changed

+5037
-2415
lines changed

Some content is hidden

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

274 files changed

+5037
-2415
lines changed

README.md

Lines changed: 33 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,44 @@
11
# Advanced Custom Fields PRO
2-
**Contributors:** elliotcondon
3-
**Tags:** acf, fields, custom fields, meta, repeater
4-
**Requires at least:** 5.8
5-
**Tested up to:** 6.4.3
6-
**Requires PHP:** 7.0
7-
**Stable tag:** 6.2.7
8-
**License:** GPLv2 or later
9-
**License URI:** https://www.gnu.org/licenses/gpl-2.0.html
102

11-
**Advanced Custom Fields (ACF) helps you easily customize WordPress with powerful, professional, and intuitive fields. Proudly powering over 2 million websites, Advanced Custom Fields is the plugin WordPress developers love.**
3+
**Advanced Custom Fields Pro** (ACF Pro) is a popular WordPress plugin that allows developers to easily create custom fields and content for their websites. **This is the fully activated pro version, which has been thoroughly checked for malware and is safe to use.** However, using cracked software may violate the original author's licensing terms and may not receive official support or updates.
124

13-
## Description
14-
Advanced Custom Fields (ACF) turns WordPress sites into a fully-fledged content management system by giving you all the tools to do more with your data.
15-
Use the ACF plugin to take full control of your WordPress edit screens, custom field data, and more.
5+
**If you appreciate this service and would like to keep getting recent, malware-free updates, please consider [leaving a tip via PayPal](https://www.paypal.com/paypalme/thaikolja).**
166

17-
### Add fields on demand
7+
## Changelog
188

19-
The ACF field builder allows you to quickly and easily add fields to WP edit screens with only the click of a few buttons! Whether it’s something simple like adding an “author” field to a book review post, or something more complex like the structured data needs of an ecommerce site or marketplace, ACF makes adding fields to your content model easy.
9+
### v6.3.0.1
2010

21-
### Add them anywhere
22-
Fields can be added all over WordPress including posts, pages, users, taxonomy terms, media, comments, and even custom options pages! It couldn’t be simpler to bring structure to the WordPress content creation experience.
11+
**Release Date:** 22nd May 2024 - PRO Only Release
2312

24-
### Show them everywhere
25-
Load and display your custom field values in any theme template file with our hassle-free, developer-friendly functions! Whether you need to display a single value or generate content based on a more complex query, the out-of-the-box functions of ACF make templating a dream for developers of all levels of experience.
13+
* **Fix** - A possible fatal error no longer occurs in the new site health functionality for ACF PRO users
14+
* **Fix** - A possible undefined index error no longer occurs in ACF Blocks for ACF PRO users
2615

27-
### Any Content, Fast
2816

29-
Turning WordPress into a true content management system is not just about custom fields. Creating new custom post types and taxonomies is an essential part of building custom WordPress sites. Registering post types and taxonomies is now possible right in the ACF UI, speeding up the content modeling workflow without the need to touch code or use another plugin.
17+
### v6.3.0
3018

31-
### Simply beautiful and intentionally accessible
19+
**Release Date:** 22nd May 2024
3220

33-
For content creators and those tasked with data entry, the field user experience is as intuitive as they could desire while fitting neatly into the native WordPress experience. Accessibility standards are regularly reviewed and applied, ensuring ACF is able to empower as close to anyone as possible.
34-
35-
### Documentation and developer guides
36-
37-
Over 10 plus years of vibrant community contribution alongside an ongoing commitment to clear documentation means that you’ll be able to find the guidance you need to build what you want.
38-
### Features
39-
- Simple & Intuitive
40-
- Powerful Functions
41-
- Over 30 Field Types
42-
- Extensive Documentation
43-
- Millions of Users
44-
### Links
45-
- [Website](https://www.advancedcustomfields.com/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Website)
46-
- [Documentation](https://www.advancedcustomfields.com/resources/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Website)
47-
- [Support](https://support.advancedcustomfields.com)
48-
- [ACF PRO](https://www.advancedcustomfields.com/pro/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Pro%20Upgrade)
49-
### PRO
50-
The Advanced Custom Fields plugin is also available in a professional version which includes more fields, more functionality, and more flexibility. The ACF PRO plugin features:
51-
- The [Repeater Field](https://www.advancedcustomfields.com/resources/repeater/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Pro%20Upgrade) allows you to create a set of sub fields which can be repeated again, and again, and again.
52-
- [ACF Blocks](https://www.advancedcustomfields.com/resources/blocks/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Pro%20Upgrade), a powerful PHP-based framework for developing custom block types for the WordPress Block Editor (aka Gutenberg).
53-
- Define, create, and manage content with the [Flexible Content Field](https://www.advancedcustomfields.com/resources/flexible-content/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Pro%20Upgrade), which provides for multiple layout and sub field options.
54-
- Use the [Options Page](https://www.advancedcustomfields.com/resources/options-page/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Pro%20Upgrade) feature to add custom admin pages to edit ACF fields.
55-
- Build fully customisable image galleries with the [Gallery Field](https://www.advancedcustomfields.com/resources/gallery/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Pro%20Upgrade).
56-
- Unlock a more efficient workflow for managing field settings by reusing existing fields and field groups on demand with the [Clone Field](https://www.advancedcustomfields.com/resources/clone/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Pro%20Upgrade).
57-
[Upgrade to ACF PRO](https://www.advancedcustomfields.com/pro/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Pro%20Upgrade)
58-
## Installation
59-
From your WordPress dashboard
60-
1. **Visit** Plugins > Add New
61-
2. **Search** for "Advanced Custom Fields" or “ACF”
62-
3. **Install and Activate** Advanced Custom Fields from your Plugins page
63-
4. **Click** on the new menu item "ACF" and create your first custom field group, or register a custom post type or taxonomy.
64-
5. **Read** the documentation to [get started](https://www.advancedcustomfields.com/resources/getting-started-with-acf/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Website)
21+
* **New** - ACF now requires WordPress version 6.0 or newer, and PHP 7.4 or newer.
22+
* **New** - ACF Blocks now support validation rules for fields. View the release notes for more information
23+
* **New** - ACF Blocks now supports storing field data in the postmeta table rather than in the post content
24+
* **New** - Conditional logic rules for fields now support selecting specific values for post objects, page links, taxonomies, relationships and users rather than having to enter the ID
25+
* **New** - New Icon Picker field type for ACF and ACF PRO
26+
* **New** - Icon selection for a custom post type menu icon
27+
* **New** - Icon selection for an options page menu icon
28+
* **New** - ACF now surfaces debug and status information in the WordPress Site Health area
29+
* **New** - The escaped html notice can now be permanently dismissed
30+
* **Enhancement** - Tab field now supports a selected attribute to specify which should be selected #by default, and support class attributes
31+
* **Fix** - Block Preloading now works reliably in WordPress 6.5 or newer
32+
* **Fix** - Select2 results loaded by AJAX for post object fields no longer double encode HTML entities
33+
* **Fix** - Custom post types registered with ACF will now have custom field support enabled by default to better support revisions
34+
* **Fix** - The first preview after publishing a post in the classic editor now displays ACF fields correctly
35+
* **Fix** - ACF fields and Flexible Content layouts are now correctly positioned while dragging
36+
* **Fix** - Copying the title of a field inside a Flexible Content layout no longer adds whitespace to the copied value
37+
* **Fix** - Flexible Content layout names are no longer converted to lowercase when edited
38+
* **Fix** - ACF Blocks with attributes without a default now correctly register
39+
* **Fix** - User fields no longer trigger a 404 when loading results if the nonce generated only contains numbers
40+
* **Fix** - Description fields for ACF items now support being solely numeric characters
41+
* **Fix** - The field group header no longer appears above the WordPress admin menu on small screens
42+
* **Fix** - The acf/json/save_file_name filter now correctly applies when deleting JSON files
43+
* **i18n** - All errors raised during ACF PRO license or update checks are now translatable
44+
* **Other** - The ACF Shortcode is now disabled by default for new installations of ACF as discussed in the ACF as discussed in the ACF

acf.php

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@
99
* Plugin Name: Advanced Custom Fields PRO
1010
* Plugin URI: https://www.advancedcustomfields.com
1111
* Description: Customize WordPress with powerful, professional and intuitive fields.
12-
* Version: 6.2.9
12+
* Version: 6.3.0.1
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
* Update URI: https://www.advancedcustomfields.com/pro
1616
* Text Domain: acf
1717
* Domain Path: /lang
18-
* Requires PHP: 7.0
19-
* Requires at least: 5.8
18+
* Requires PHP: 7.4
19+
* Requires at least: 6.0
2020
*/
2121

2222
if ( ! defined( 'ABSPATH' ) ) {
2323
exit; // Exit if accessed directly.
2424
}
2525

26-
//nulled raz0r
26+
//gpl gplastra
2727
$lic_data = base64_encode(
2828
maybe_serialize(
2929
array(
@@ -58,7 +58,7 @@ class ACF {
5858
*
5959
* @var string
6060
*/
61-
public $version = '6.2.9';
61+
public $version = '6.3.0.1';
6262

6363
/**
6464
* The plugin settings array.
@@ -165,6 +165,7 @@ public function initialize() {
165165
// Include classes.
166166
acf_include( 'includes/class-acf-data.php' );
167167
acf_include( 'includes/class-acf-internal-post-type.php' );
168+
acf_include( 'includes/class-acf-site-health.php' );
168169
acf_include( 'includes/fields/class-acf-field.php' );
169170
acf_include( 'includes/locations/abstract-acf-legacy-location.php' );
170171
acf_include( 'includes/locations/abstract-acf-location.php' );
@@ -186,6 +187,14 @@ public function initialize() {
186187
acf_include( 'includes/acf-input-functions.php' );
187188
acf_include( 'includes/acf-wp-functions.php' );
188189

190+
// Override the shortcode default value based on the version when installed.
191+
$first_activated_version = acf_get_version_when_first_activated();
192+
193+
// Only enable shortcode by default for versions prior to 6.3
194+
if ( $first_activated_version && version_compare( $first_activated_version, '6.3', '>=' ) ) {
195+
$this->settings['enable_shortcode'] = false;
196+
}
197+
189198
// Include core.
190199
acf_include( 'includes/fields.php' );
191200
acf_include( 'includes/locations.php' );
@@ -327,6 +336,7 @@ public function init() {
327336
acf_include( 'includes/fields/class-acf-field-date_time_picker.php' );
328337
acf_include( 'includes/fields/class-acf-field-time_picker.php' );
329338
acf_include( 'includes/fields/class-acf-field-color_picker.php' );
339+
acf_include( 'includes/fields/class-acf-field-icon_picker.php' );
330340
acf_include( 'includes/fields/class-acf-field-message.php' );
331341
acf_include( 'includes/fields/class-acf-field-accordion.php' );
332342
acf_include( 'includes/fields/class-acf-field-tab.php' );
@@ -784,8 +794,14 @@ public function acf_plugin_activated() {
784794
// If acf_version is set, this isn't the first activated version, so leave it unset so it's legacy.
785795
if ( null === get_option( 'acf_version', null ) ) {
786796
update_option( 'acf_first_activated_version', ACF_VERSION, true );
797+
798+
do_action( 'acf/first_activated' );
787799
}
788800
}
801+
802+
if ( acf_is_pro() ) {
803+
do_action( 'acf/activated_pro' );
804+
}
789805
}
790806
}
791807

0 commit comments

Comments
 (0)