Skip to content

Commit

Permalink
[N/A] ACF Update + Safe SVG replaces SVG Support (#153)
Browse files Browse the repository at this point in the history
* [N/A] ACF Update + Safe SVG replaces SVG Support

* [N/A] Update Composer Script
  • Loading branch information
bd-viget authored Oct 16, 2024
1 parent f6fee72 commit 56b78b4
Show file tree
Hide file tree
Showing 154 changed files with 4,803 additions and 2,967 deletions.
2 changes: 1 addition & 1 deletion bin/composer-scripts/ProjectEvents/PostInstallScript.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class PostInstallScript extends ComposerScript {
],
],
'seo-by-rank-math' => 'Rank Math SEO',
'svg-support' => 'SVG Support',
'safe-svg' => 'Safe SVG',
'viget-parts-kit' => 'Viget Parts Kit',
'wordfence' => 'Wordfence',
];
Expand Down
11 changes: 8 additions & 3 deletions wp-content/plugins/advanced-custom-fields-pro/acf.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
* Plugin Name: Advanced Custom Fields PRO
* Plugin URI: https://www.advancedcustomfields.com
* Description: Customize WordPress with powerful, professional and intuitive fields.
* Version: 6.3.6
* Version: 6.3.8
* 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
* Update URI: false
* Text Domain: acf
* Domain Path: /lang
* Requires PHP: 7.4
Expand All @@ -36,7 +36,7 @@ class ACF {
*
* @var string
*/
public $version = '6.3.6';
public $version = '6.3.8';

/**
* The plugin settings array.
Expand Down Expand Up @@ -231,6 +231,11 @@ public function initialize() {
acf_include( 'pro/acf-pro.php' );

if ( is_admin() && function_exists( 'acf_is_pro' ) && ! acf_is_pro() ) {

// Include WPE update system.
acf_include( 'includes/class-PluginUpdater.php' );
acf_include( 'includes/acf-upgrades.php' );

acf_include( 'includes/admin/admin-options-pages-preview.php' );
}

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.

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.

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.

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

namespace ACF\Upgrades;

/**
* Initialize the checking for plugin updates for ACF non-PRO.
*/
function check_for_acf_upgrades() {
$properties = array(
// This must match the key in "https://wpe-plugin-updates.wpengine.com/plugins.json".
'plugin_slug' => 'advanced-custom-fields',
'plugin_basename' => ACF_BASENAME,
);

new \ACF\Upgrades\PluginUpdater( $properties );
}
add_action( 'admin_init', __NAMESPACE__ . '\check_for_acf_upgrades' );
Loading

0 comments on commit 56b78b4

Please sign in to comment.