Changeset 1083303
- Timestamp:
- 02/05/2015 05:46:28 PM (11 years ago)
- Location:
- fd-footnotes/trunk
- Files:
-
- 2 edited
-
fdfootnotes.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fd-footnotes/trunk/fdfootnotes.php
r422017 r1083303 5 5 Description: Elegant and easy to use footnotes 6 6 Author: John Watson 7 Version: 1.3 7 Version: 1.31 8 8 Author URI: http://flagrantdisregard.com 9 9 … … 121 121 $n = 1; 122 122 $notes = array(); 123 if (preg_match_all('/\[(\d+\. .*?)\]/s', $content, $matches)) {123 if (preg_match_all('/\[(\d+\..*?)\]/s', $content, $matches)) { 124 124 foreach($matches[0] as $fn) { 125 $note = preg_replace('/\[\d+\. (.*?)\]/s', '\1', $fn);125 $note = preg_replace('/\[\d+\.(.*?)\]/s', '\1', $fn); 126 126 $notes[$n] = $note; 127 127 -
fd-footnotes/trunk/readme.txt
r981214 r1083303 4 4 Tags: posts, writing, editing, footnotes, endnotes, formatting 5 5 Requires at least: 2.0 6 Tested up to: 4. 06 Tested up to: 4.1 7 7 Stable tag: trunk 8 8 … … 57 57 == Changelog == 58 58 59 = 1.31 = 60 * Fixed issue when non-breaking space used between footnote number and footnote text 61 59 62 = 1.3 = 60 63 * Added option for collapsing footnotes into a single line until manually
Note: See TracChangeset
for help on using the changeset viewer.