Changeset 3335535
- Timestamp:
- 07/28/2025 06:51:33 PM (8 months ago)
- Location:
- guest-author-name/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
sfly-guest-author.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
guest-author-name/trunk/readme.txt
r3330964 r3335535 5 5 Requires at least: 4.1 6 6 Tested up to: 6.8 7 Stable Tag: 4.4 17 Stable Tag: 4.42 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 112 112 3. Settings Page 113 113 == Changelog == 114 = 4.42 = 115 Fix: Security fix broke punctuation 114 116 = 4.41 = 115 117 Fix: Security fix broke unicode characters -
guest-author-name/trunk/sfly-guest-author.php
r3330964 r3335535 7 7 Plugin URI: http://plugins.shooflysolutions.com/guest-author-name 8 8 Description: An ideal plugin for cross posting. Guest Author Name helps you to publish posts by authors without having to add them as users. If the Guest Author field is filled in on the post, the Guest Author name will override the author. The optional Url link allows you to link to another web site. 9 Version: 4.4 19 Version: 4.42 10 10 Author URI: http://www.shooflysolutions.com 11 11 Copyright (C) 2015, 2016 Shoofly Solutions … … 1010 1010 // Remove anything with non-word characters (like =, (), etc.) 1011 1011 // This keeps only alphanumeric words, underscores, and hyphens 1012 preg_match_all('/[\p{L}\p{N}_-]+/u', $input, $matches); 1012 preg_match_all('/[\p{L}\p{N}_\',\.\:-]+/u', $input, $matches); 1013 //preg_match_all('/[\p{L}\p{N}_-]+/u', $input, $matches); 1013 1014 //preg_match_all('/\b[a-zA-Z0-9_-]+\b/', $input, $matches); 1015 1014 1016 $input = implode(' ', $matches[0]); 1015 1017
Note: See TracChangeset
for help on using the changeset viewer.