Plugin Directory

Changeset 3330381


Ignore:
Timestamp:
07/18/2025 05:58:29 PM (9 months ago)
Author:
ownerrez
Message:

Update to version 1.2.2 from GitHub

Location:
ownerrez
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ownerrez/tags/1.2.2/ownerrez.php

    r3298251 r3330381  
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define('OWNERREZ_VERSION', '1.2.1');
     38define('OWNERREZ_VERSION', '1.2.2');
    3939
    4040/**
  • ownerrez/tags/1.2.2/public/class-ownerrez-shortcodes.php

    r3139962 r3330381  
    8686                    return $this->$f($attrs, $content, $allAttrs);
    8787
    88                 return '[The "type" attribute did not match any known shortcode type. Found: '.$attrs["type"].']';
     88                return '[The "type" attribute did not match any known shortcode type. Found: ' . esc_html($attrs["type"]) . ']';
    8989            }
    9090            catch (Exception $ex) {
     
    141141
    142142            if ($resource == null) {
    143                 return "[No record found in ".$resourceName." with the id '".$attrs["id"]."']";
     143                return "[No record found in " . esc_html($resourceName) . " with the id '" . esc_html($attrs["id"]) . "']";
    144144            }
    145145
     
    176176                    }
    177177                    else
    178                         return "[Unknown field: " . $field . ". No such field found for type: " . $attrs["type"] . "]";
     178                        return "[Unknown field: " . esc_html($field) . ". No such field found for type: " . esc_html($attrs["type"]) . "]";
    179179                }
    180180               
     
    198198
    199199        if ($id == null)
    200             return '[The "id" attribute is required for this shortcode. Expected: e.g. '.$trimLetters.'123456 or 123456. Found: '.$attrs["id"].']';
     200            return '[The "id" attribute is required for this shortcode. Expected: e.g. ' . esc_html($trimLetters) . '123456 or 123456. Found: ' . esc_html($attrs["id"]) . ']';
    201201
    202202        return $id;
  • ownerrez/tags/1.2.2/readme.txt

    r3329218 r3330381  
    33Requires at least: 5.4
    44Tested up to: 6.6.0
    5 Stable tag: 1.2.1a
     5Stable tag: 1.2.2
    66License: MIT
    77License URI: https://github.com/ownerrez/orez-wp/blob/master/LICENSE
     
    2525Please submit questions or problems to [help@ownerrez.com](mailto:help@ownerrez.com)
    2626
    27 = How can I report security bugs? =
    28 
    29 You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team helps validate, triage and handle any security vulnerabilities. [Report a security vulnerability.]( https://patchstack.com/database/vdp/bf555ae4-1b27-49e0-b072-85995b0848a8 )
    30 
    3127== Installation ==
    3228
     
    3632
    3733== Changelog ==
     34= 1.2.2
     35- Escape parameters in error messages
     36
    3837= 1.2.1a =
    3938- Correct readme.txt validation errors
  • ownerrez/trunk/ownerrez.php

    r3298251 r3330381  
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define('OWNERREZ_VERSION', '1.2.1');
     38define('OWNERREZ_VERSION', '1.2.2');
    3939
    4040/**
  • ownerrez/trunk/public/class-ownerrez-shortcodes.php

    r3139962 r3330381  
    8686                    return $this->$f($attrs, $content, $allAttrs);
    8787
    88                 return '[The "type" attribute did not match any known shortcode type. Found: '.$attrs["type"].']';
     88                return '[The "type" attribute did not match any known shortcode type. Found: ' . esc_html($attrs["type"]) . ']';
    8989            }
    9090            catch (Exception $ex) {
     
    141141
    142142            if ($resource == null) {
    143                 return "[No record found in ".$resourceName." with the id '".$attrs["id"]."']";
     143                return "[No record found in " . esc_html($resourceName) . " with the id '" . esc_html($attrs["id"]) . "']";
    144144            }
    145145
     
    176176                    }
    177177                    else
    178                         return "[Unknown field: " . $field . ". No such field found for type: " . $attrs["type"] . "]";
     178                        return "[Unknown field: " . esc_html($field) . ". No such field found for type: " . esc_html($attrs["type"]) . "]";
    179179                }
    180180               
     
    198198
    199199        if ($id == null)
    200             return '[The "id" attribute is required for this shortcode. Expected: e.g. '.$trimLetters.'123456 or 123456. Found: '.$attrs["id"].']';
     200            return '[The "id" attribute is required for this shortcode. Expected: e.g. ' . esc_html($trimLetters) . '123456 or 123456. Found: ' . esc_html($attrs["id"]) . ']';
    201201
    202202        return $id;
  • ownerrez/trunk/readme.txt

    r3329218 r3330381  
    33Requires at least: 5.4
    44Tested up to: 6.6.0
    5 Stable tag: 1.2.1a
     5Stable tag: 1.2.2
    66License: MIT
    77License URI: https://github.com/ownerrez/orez-wp/blob/master/LICENSE
     
    2525Please submit questions or problems to [help@ownerrez.com](mailto:help@ownerrez.com)
    2626
    27 = How can I report security bugs? =
    28 
    29 You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team helps validate, triage and handle any security vulnerabilities. [Report a security vulnerability.]( https://patchstack.com/database/vdp/bf555ae4-1b27-49e0-b072-85995b0848a8 )
    30 
    3127== Installation ==
    3228
     
    3632
    3733== Changelog ==
     34= 1.2.2
     35- Escape parameters in error messages
     36
    3837= 1.2.1a =
    3938- Correct readme.txt validation errors
Note: See TracChangeset for help on using the changeset viewer.