Changeset 3044540
- Timestamp:
- 03/03/2024 05:18:16 PM (2 years ago)
- Location:
- encyclopedia-lexicon-glossary-wiki-dictionary/trunk
- Files:
-
- 3 edited
-
includes/advanced-custom-fields.php (modified) (2 diffs)
-
plugin.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
encyclopedia-lexicon-glossary-wiki-dictionary/trunk/includes/advanced-custom-fields.php
r3030564 r3044540 15 15 $cross_linker_priority = Options::get('cross_linker_priority') == 'before_shortcodes' ? 10.5 : 15; 16 16 17 # For ACF < 5.0.018 add_filter('acf/format_value_for_api/type=wysiwyg', [static::class, 'filterFieldValue'], $cross_linker_priority, 3);19 add_filter('acf/format_value_for_api/type=textarea', [static::class, 'filterTextValue'], $cross_linker_priority, 3);20 add_filter('acf/format_value_for_api/type=text', [static::class, 'filterTextValue'], $cross_linker_priority, 3);21 22 17 # For ACF >= 5.0.0 23 18 add_filter('acf/format_value/type=wysiwyg', [static::class, 'filterFieldValue'], $cross_linker_priority, 3); … … 35 30 36 31 if (empty($post)) 32 return $content; 33 34 # Check if cross linking is deactivated for this field 35 if (!apply_filters('encyclopedia_link_item_in_acf', true, $field, $post)) 36 return $content; 37 38 if (!apply_filters(sprintf('encyclopedia_link_item_in_acf_%s', $field['name']), true, $field, $post)) 37 39 return $content; 38 40 -
encyclopedia-lexicon-glossary-wiki-dictionary/trunk/plugin.php
r3030564 r3044540 5 5 Plugin URI: https://dennishoppe.de/en/wordpress-plugins/encyclopedia 6 6 Description: Encyclopedia enables you to create your own encyclopedia, lexicon, glossary, wiki, dictionary or knowledge base. 7 Version: 1.7.5 87 Version: 1.7.59 8 8 Author: Dennis Hoppe 9 9 Author URI: https://DennisHoppe.de -
encyclopedia-lexicon-glossary-wiki-dictionary/trunk/readme.txt
r3030564 r3044540 177 177 == Changelog == 178 178 179 = 1.7.59 = 180 * Added new ACF filter encyclopedia_link_item_in_acf to disable automatic cross links in ACF fields 181 179 182 = 1.7.58 = 180 183 * Added auto cross linking for BuddyPress activities
Note: See TracChangeset
for help on using the changeset viewer.