Changeset 3040417
- Timestamp:
- 02/23/2024 10:22:57 PM (2 years ago)
- Location:
- modern-footnotes
- Files:
-
- 16 added
- 2 edited
-
tags/1.4.18 (added)
-
tags/1.4.18/license.txt (added)
-
tags/1.4.18/mce-button.png (added)
-
tags/1.4.18/modern-footnotes.block-editor.js (added)
-
tags/1.4.18/modern-footnotes.block-editor.min.js (added)
-
tags/1.4.18/modern-footnotes.js (added)
-
tags/1.4.18/modern-footnotes.mce-button.js (added)
-
tags/1.4.18/modern-footnotes.mce-button.min.js (added)
-
tags/1.4.18/modern-footnotes.min.js (added)
-
tags/1.4.18/modern-footnotes.php (added)
-
tags/1.4.18/readme.txt (added)
-
tags/1.4.18/styles.block-editor-button.min.css (added)
-
tags/1.4.18/styles.css (added)
-
tags/1.4.18/styles.mce-button.css (added)
-
tags/1.4.18/styles.mce-button.min.css (added)
-
tags/1.4.18/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
r2980695 r3040417 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 77 Version: 1.4.18 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 7';17 $modern_footnotes_version = '1.4.18'; 18 18 19 19 $modern_footnotes_options = get_option('modern_footnotes_settings'); … … 282 282 function modern_footnotes_get_post_scope_id() { 283 283 if (isset($GLOBALS['post'])) { 284 $global_post = $GLOBALS['post']; 285 if ($global_post instanceof WP_Post) { 286 $global_post_id = $global_post->ID; 287 } else { 288 $global_post_id = $global_post; 289 } 284 290 if (isset($GLOBALS['modern_footnotes_active_query'])) { 285 return spl_object_hash($GLOBALS['modern_footnotes_active_query']) . '_' . $ GLOBALS['post']->ID;291 return spl_object_hash($GLOBALS['modern_footnotes_active_query']) . '_' . $global_post_id; 286 292 } else { 287 return 'post_' . $ GLOBALS['post']->ID;293 return 'post_' . $global_post_id; 288 294 } 289 295 } else { -
modern-footnotes/trunk/readme.txt
r2980695 r3040417 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. 3.26 Stable tag: 1.4.1 75 Tested up to: 6.4.3 6 Stable tag: 1.4.18 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.18 = 87 * Fix PHP warning when $GLOBALS['post'] was not a WP_POST instance 88 86 89 = 1.4.17 = 87 90 * Security fix for XSS issue. Thanks to cleantalk and Dmitrii Ignatyev for identifying the issue.
Note: See TracChangeset
for help on using the changeset viewer.