Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0952283

Browse files
committedFeb 20, 2025
Remove link to release post
1 parent 679b6f2 commit 0952283

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed
 

‎includes/admin/post-types/admin-field-group.php

-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ public function admin_enqueue_scripts() {
152152
array(
153153
'fieldTypes' => acf_get_field_types_info(),
154154
'fieldCategoriesL10n' => acf_get_field_categories_i18n(),
155-
'PROUpgradeURL' => 'https://www.advancedcustomfields.com/pro/',
156155
'PROFieldTypes' => acf_get_pro_field_types(),
157156
'PROLocationTypes' => array(
158157
'block' => esc_html__( 'Block', 'secure-custom-fields' ),

‎includes/admin/views/escaped-html-notice.php

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<?php
22

3-
$acf_plugin_name = 'ACF PRO';
4-
$acf_plugin_name = '<strong>' . $acf_plugin_name . ' &mdash;</strong>';
5-
$acf_learn_how_to_fix = '<a href="' . 'https://www.advancedcustomfields.com/escaping-the-field/' . '" target="_blank">' . __( 'Learn&nbsp;more', 'secure-custom-fields' ) . '</a>';
6-
$acf_class = 'notice-error';
7-
$acf_user_can_acf = false;
3+
$acf_plugin_name = 'Secure Custom Fields';
4+
$acf_plugin_name = '<strong>' . $acf_plugin_name . ' &mdash;</strong>';
5+
$acf_class = 'notice-error';
6+
$acf_user_can_acf = false;
87

98
if ( current_user_can( acf_get_setting( 'capability' ) ) ) {
109
$acf_user_can_acf = true;
@@ -29,9 +28,8 @@
2928

3029
$acf_error_msg = sprintf(
3130
/* translators: %1$s - name of the SCF plugin. %2$s - Link to documentation. */
32-
__( '%1$s SCF automatically escapes unsafe HTML when rendered by <code>the_field</code> or the ACF shortcode. We\'ve detected the output of some of your fields has been modified by this change, but this may not be a breaking change. %2$s.', 'secure-custom-fields' ),
33-
$acf_plugin_name,
34-
$acf_learn_how_to_fix
31+
__( '%1$s SCF automatically escapes unsafe HTML when rendered by <code>the_field</code> or the ACF shortcode. We\'ve detected the output of some of your fields has been modified by this change, but this may not be a breaking change.', 'secure-custom-fields' ),
32+
$acf_plugin_name
3533
);
3634

3735

0 commit comments

Comments
 (0)
Please sign in to comment.