Changeset 2859760
- Timestamp:
- 02/03/2023 05:04:39 PM (3 years ago)
- Location:
- modern-footnotes
- Files:
-
- 16 added
- 2 edited
-
tags/1.4.14 (added)
-
tags/1.4.14/license.txt (added)
-
tags/1.4.14/mce-button.png (added)
-
tags/1.4.14/modern-footnotes.block-editor.js (added)
-
tags/1.4.14/modern-footnotes.block-editor.min.js (added)
-
tags/1.4.14/modern-footnotes.js (added)
-
tags/1.4.14/modern-footnotes.mce-button.js (added)
-
tags/1.4.14/modern-footnotes.mce-button.min.js (added)
-
tags/1.4.14/modern-footnotes.min.js (added)
-
tags/1.4.14/modern-footnotes.php (added)
-
tags/1.4.14/readme.txt (added)
-
tags/1.4.14/styles.block-editor-button.min.css (added)
-
tags/1.4.14/styles.css (added)
-
tags/1.4.14/styles.mce-button.css (added)
-
tags/1.4.14/styles.mce-button.min.css (added)
-
tags/1.4.14/styles.min.css (added)
-
trunk/modern-footnotes.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
modern-footnotes/trunk/modern-footnotes.php
r2812991 r2859760 5 5 Text Domain: modern-footnotes 6 6 Description: Add inline footnotes to your post via the footnote icon on the toolbar for editing posts and pages. Or, use the [mfn] or [modern_footnote] shortcodes [mfn]like this[/mfn]. 7 Version: 1.4.1 37 Version: 1.4.14 8 8 Author: Prism Tech Studios 9 9 Author URI: http://prismtechstudios.com/ … … 15 15 defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); 16 16 17 $modern_footnotes_version = '1.4.1 3';17 $modern_footnotes_version = '1.4.14'; 18 18 19 19 $modern_footnotes_options = get_option('modern_footnotes_settings'); … … 380 380 if (is_a( $post, 'WP_Post' )) { 381 381 $has_shortcode = FALSE; 382 foreach ($modern_footnotes_shortcodes as $modern_footnote_shortcode) { 383 if (has_shortcode($post->post_content, $modern_footnote_shortcode)) { 384 $has_shortcode = TRUE; 382 if (isset($modern_footnotes_shortcodes)) { // attempt to resolve https://wordpress.org/support/topic/error-causes-php-process-hang/ - I am not really clear how this variable could be null here, though. 383 foreach ($modern_footnotes_shortcodes as $modern_footnote_shortcode) { 384 if (has_shortcode($post->post_content, $modern_footnote_shortcode)) { 385 $has_shortcode = TRUE; 386 } 385 387 } 386 388 } -
modern-footnotes/trunk/readme.txt
r2812991 r2859760 3 3 Tags: footnotes, citations, inline footnotes, inline citations, mobile-friendly citations, mobile-friendly footnotes 4 4 Requires at least: 4.6 5 Tested up to: 6.1 6 Stable tag: 1.4.1 35 Tested up to: 6.1.1 6 Stable tag: 1.4.14 7 7 License: GNU General Public License v2 8 8 License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html … … 84 84 == Changelog == 85 85 86 = 1.4.14 = 87 * Minor fix for a PHP warning where foreach was attempting to access a null object 88 86 89 = 1.4.13 = 87 90 * Fixed a problem where using the hover option for footnotes would cause footnote display issues on mobile.
Note: See TracChangeset
for help on using the changeset viewer.