Plugin Directory

Changeset 3335535


Ignore:
Timestamp:
07/28/2025 06:51:33 PM (8 months ago)
Author:
nomadcoder
Message:

4.42

Fix: Security fix broke punctuation

Location:
guest-author-name/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • guest-author-name/trunk/readme.txt

    r3330964 r3335535  
    55Requires at least: 4.1
    66Tested up to: 6.8
    7 Stable Tag: 4.41
     7Stable Tag: 4.42
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1121123. Settings Page
    113113== Changelog ==
     114= 4.42 =
     115Fix: Security fix broke punctuation
    114116= 4.41 =
    115117Fix: Security fix broke unicode characters
  • guest-author-name/trunk/sfly-guest-author.php

    r3330964 r3335535  
    77Plugin URI: http://plugins.shooflysolutions.com/guest-author-name
    88Description: 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.41
     9Version: 4.42
    1010Author URI: http://www.shooflysolutions.com
    1111Copyright (C) 2015, 2016 Shoofly Solutions
     
    10101010            // Remove anything with non-word characters (like =, (), etc.)
    10111011            // 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);
    10131014            //preg_match_all('/\b[a-zA-Z0-9_-]+\b/', $input, $matches);
     1015
    10141016            $input = implode(' ', $matches[0]);
    10151017
Note: See TracChangeset for help on using the changeset viewer.