Changeset 3070364
- Timestamp:
- 04/14/2024 10:11:18 PM (2 years ago)
- Location:
- modern-footnotes
- Files:
-
- 16 added
- 2 edited
-
tags/1.4.19 (added)
-
tags/1.4.19/license.txt (added)
-
tags/1.4.19/mce-button.png (added)
-
tags/1.4.19/modern-footnotes.block-editor.js (added)
-
tags/1.4.19/modern-footnotes.block-editor.min.js (added)
-
tags/1.4.19/modern-footnotes.js (added)
-
tags/1.4.19/modern-footnotes.mce-button.js (added)
-
tags/1.4.19/modern-footnotes.mce-button.min.js (added)
-
tags/1.4.19/modern-footnotes.min.js (added)
-
tags/1.4.19/modern-footnotes.php (added)
-
tags/1.4.19/readme.txt (added)
-
tags/1.4.19/styles.block-editor-button.min.css (added)
-
tags/1.4.19/styles.css (added)
-
tags/1.4.19/styles.mce-button.css (added)
-
tags/1.4.19/styles.mce-button.min.css (added)
-
tags/1.4.19/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
r3040417 r3070364 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 87 Version: 1.4.19 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 8';17 $modern_footnotes_version = '1.4.19'; 18 18 19 19 $modern_footnotes_options = get_option('modern_footnotes_settings'); … … 283 283 if (isset($GLOBALS['post'])) { 284 284 $global_post = $GLOBALS['post']; 285 if ($global_post instanceof WP_Post) { 286 $global_post_id = $global_post->ID; 285 if (is_object($global_post)) { 286 if (property_exists($global_post, 'ID')) { 287 $global_post_id = $global_post->ID; 288 } else { 289 // some plugins, like relevanssi, modify the 'post' object to something other than a WP_Post instance (https://wordpress.org/support/topic/v1-4-18-breaks-search/) 290 $global_post_id = spl_object_hash($global_post); 291 } 287 292 } else { 288 293 $global_post_id = $global_post; -
modern-footnotes/trunk/readme.txt
r3040417 r3070364 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. 4.36 Stable tag: 1.4.1 85 Tested up to: 6.5.2 6 Stable tag: 1.4.19 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.19 = 87 * Fix compatibility issue with Relevanssi 88 86 89 = 1.4.18 = 87 90 * Fix PHP warning when $GLOBALS['post'] was not a WP_POST instance
Note: See TracChangeset
for help on using the changeset viewer.