Changeset 3330381
- Timestamp:
- 07/18/2025 05:58:29 PM (9 months ago)
- Location:
- ownerrez
- Files:
-
- 6 edited
- 1 copied
-
tags/1.2.2 (copied) (copied from ownerrez/trunk)
-
tags/1.2.2/ownerrez.php (modified) (1 diff)
-
tags/1.2.2/public/class-ownerrez-shortcodes.php (modified) (4 diffs)
-
tags/1.2.2/readme.txt (modified) (3 diffs)
-
trunk/ownerrez.php (modified) (1 diff)
-
trunk/public/class-ownerrez-shortcodes.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ownerrez/tags/1.2.2/ownerrez.php
r3298251 r3330381 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define('OWNERREZ_VERSION', '1.2. 1');38 define('OWNERREZ_VERSION', '1.2.2'); 39 39 40 40 /** -
ownerrez/tags/1.2.2/public/class-ownerrez-shortcodes.php
r3139962 r3330381 86 86 return $this->$f($attrs, $content, $allAttrs); 87 87 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"]) . ']'; 89 89 } 90 90 catch (Exception $ex) { … … 141 141 142 142 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"]) . "']"; 144 144 } 145 145 … … 176 176 } 177 177 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"]) . "]"; 179 179 } 180 180 … … 198 198 199 199 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"]) . ']'; 201 201 202 202 return $id; -
ownerrez/tags/1.2.2/readme.txt
r3329218 r3330381 3 3 Requires at least: 5.4 4 4 Tested up to: 6.6.0 5 Stable tag: 1.2. 1a5 Stable tag: 1.2.2 6 6 License: MIT 7 7 License URI: https://github.com/ownerrez/orez-wp/blob/master/LICENSE … … 25 25 Please submit questions or problems to [help@ownerrez.com](mailto:help@ownerrez.com) 26 26 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 31 27 == Installation == 32 28 … … 36 32 37 33 == Changelog == 34 = 1.2.2 35 - Escape parameters in error messages 36 38 37 = 1.2.1a = 39 38 - Correct readme.txt validation errors -
ownerrez/trunk/ownerrez.php
r3298251 r3330381 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define('OWNERREZ_VERSION', '1.2. 1');38 define('OWNERREZ_VERSION', '1.2.2'); 39 39 40 40 /** -
ownerrez/trunk/public/class-ownerrez-shortcodes.php
r3139962 r3330381 86 86 return $this->$f($attrs, $content, $allAttrs); 87 87 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"]) . ']'; 89 89 } 90 90 catch (Exception $ex) { … … 141 141 142 142 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"]) . "']"; 144 144 } 145 145 … … 176 176 } 177 177 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"]) . "]"; 179 179 } 180 180 … … 198 198 199 199 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"]) . ']'; 201 201 202 202 return $id; -
ownerrez/trunk/readme.txt
r3329218 r3330381 3 3 Requires at least: 5.4 4 4 Tested up to: 6.6.0 5 Stable tag: 1.2. 1a5 Stable tag: 1.2.2 6 6 License: MIT 7 7 License URI: https://github.com/ownerrez/orez-wp/blob/master/LICENSE … … 25 25 Please submit questions or problems to [help@ownerrez.com](mailto:help@ownerrez.com) 26 26 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 31 27 == Installation == 32 28 … … 36 32 37 33 == Changelog == 34 = 1.2.2 35 - Escape parameters in error messages 36 38 37 = 1.2.1a = 39 38 - Correct readme.txt validation errors
Note: See TracChangeset
for help on using the changeset viewer.