@@ -16,7 +16,7 @@ class ACF
1616 *
1717 * @var string
1818 */
19- public $version = '6.2.0 ';
19+ public $version = '6.2.1 ';
2020 /**
2121 * The plugin settings array.
2222 *
@@ -12133,6 +12133,18 @@ public function register_post_type()
1213312133 public function register_post_types()
1213412134 {
1213512135 }
12136+ /**
12137+ * Filters the "Add title" text for ACF post types.
12138+ *
12139+ * @since 6.2.1
12140+ *
12141+ * @param string $default The default text.
12142+ * @param WP_Post $post The WP_Post object.
12143+ * @return string
12144+ */
12145+ public function enter_title_here($default, $post)
12146+ {
12147+ }
1213612148 /**
1213712149 * Gets the default settings array for an ACF post type.
1213812150 *
@@ -12784,18 +12796,27 @@ public function get_plugin_info($id = '', $force_check = \false)
1278412796 {
1278512797 }
1278612798 /**
12787- * get_plugin_update
12799+ * Returns specific data from the 'update-check' response.
1278812800 *
12789- * Returns specific data from the 'update-check' response.
12801+ * @since 5.7.2
1279012802 *
12791- * @date 3/8/18
12792- * @since 5.7.2
12803+ * @param string $basename The plugin basename.
12804+ * @param boolean $force_check Bypasses cached result. Defaults to false.
12805+ * @return array|false
12806+ */
12807+ public function get_plugin_update($basename = '', $force_check = \false)
12808+ {
12809+ }
12810+ /**
12811+ * Checks if an update is available, but can't be updated to.
1279312812 *
12794- * @param string $basename The plugin basename.
12795- * @param boolean $force_check Bypasses cached result. Defaults to false
12796- * @return array
12813+ * @since 6.2.1
12814+ *
12815+ * @param string $basename The plugin basename.
12816+ * @param boolean $force_check Bypasses cached result. Defaults to false.
12817+ * @return array|false
1279712818 */
12798- function get_plugin_update ($basename = '', $force_check = \false)
12819+ public function get_no_update ($basename = '', $force_check = \false)
1279912820 {
1280012821 }
1280112822 /**
@@ -12841,17 +12862,14 @@ function refresh_plugins_transient()
1284112862 {
1284212863 }
1284312864 /**
12844- * modify_plugins_transient
12845- *
1284612865 * Called when WP updates the 'update_plugins' site transient. Used to inject ACF plugin update info.
1284712866 *
12848- * @date 16/01/2014
1284912867 * @since 5.0.0
1285012868 *
12851- * @param object $transient
12852- * @return $transient
12869+ * @param object $transient The current transient value.
12870+ * @return object $transient The modified transient value.
1285312871 */
12854- function modify_plugins_transient($transient)
12872+ public function modify_plugins_transient($transient)
1285512873 {
1285612874 }
1285712875 /**
@@ -12977,41 +12995,6 @@ public function acf_validate_save_post()
1297712995 {
1297812996 }
1297912997}
12980- class ACF_Walker_Nav_Menu_Edit extends \Walker_Nav_Menu_Edit
12981- {
12982- /**
12983- * Starts the element output.
12984- *
12985- * Calls the Walker_Nav_Menu_Edit start_el function and then injects the custom field HTML
12986- *
12987- * @since 5.0.0
12988- * @since 5.7.2 Added preg_replace based on https://github.com/ineagu/wp-menu-item-custom-fields
12989- *
12990- * @param string $output Used to append additional content (passed by reference).
12991- * @param WP_Post $item Menu item data object.
12992- * @param int $depth Depth of menu item. Used for padding.
12993- * @param stdClass $args An object of wp_nav_menu() arguments.
12994- * @param int $id Current item ID.
12995- */
12996- function start_el(&$output, $item, $depth = 0, $args = array(), $id = 0)
12997- {
12998- }
12999- /**
13000- * Get custom fields HTML
13001- *
13002- * @since 5.0.0
13003- * @since 5.7.2 Added action based on https://github.com/ineagu/wp-menu-item-custom-fields
13004- *
13005- * @param object $item Menu item data object.
13006- * @param int $depth Depth of menu item. Used for padding.
13007- * @param array $args Menu item args.
13008- * @param int $id Nav menu ID.
13009- * @return string
13010- */
13011- function get_fields($item, $depth, $args = array(), $id = 0)
13012- {
13013- }
13014- }
1301512998class ACF_Taxonomy_Field_Walker extends \Walker
1301612999{
1301713000 /**
@@ -13764,7 +13747,7 @@ public function mb_advanced_settings()
1376413747 * @param string $menu_slug Optional menu_slug of an existing options page.
1376513748 * @return array
1376613749 */
13767- public static function get_parent_page_choices($menu_slug = '')
13750+ public static function get_parent_page_choices($current_slug = '')
1376813751 {
1376913752 }
1377013753 /**
@@ -18500,6 +18483,17 @@ function acf_prepare_post_type_for_import(array $post_type = array())
1850018483function acf_import_post_type(array $post_type)
1850118484{
1850218485}
18486+ /**
18487+ * Exports the "Enter Title Here" text for the provided ACF post types.
18488+ *
18489+ * @since 6.2.1
18490+ *
18491+ * @param array $post_types The post types being exported.
18492+ * @return string
18493+ */
18494+ function acf_export_enter_title_here(array $post_types)
18495+ {
18496+ }
1850318497/**
1850418498 * Functions for ACF taxonomy objects.
1850518499 *
0 commit comments