Changeset 2404387
- Timestamp:
- 10/22/2020 06:43:59 AM (5 years ago)
- Location:
- announcekit/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
announcekit/trunk/admin.js
r2320939 r2404387 38 38 js_code_input.on("blur", function() { 39 39 var snippet = jQuery(this).val(); 40 var is_valid_snippet = / https:\/\/announcekit\.app\/widgets?(\/v2)?\//.test(snippet);40 var is_valid_snippet = /\/widgets?(\/v2)?\//.test(snippet); 41 41 42 42 if (!is_valid_snippet) { -
announcekit/trunk/index.php
r2320939 r2404387 65 65 66 66 $widget_url = []; 67 preg_match('/https:\/\/ announcekit.app\/widgets?(\/v2)?\/([a-zA-Z0-9]+)/', $input['js_code'], $widget_url);67 preg_match('/https:\/\/(.*)\/widgets?(\/v2)?\/([a-zA-Z0-9]+)/', $input['js_code'], $widget_url); 68 68 69 69 if ($widget_url && $widget_url[0]) { -
announcekit/trunk/readme.txt
r2320939 r2404387 3 3 Tags: newsfeed, changelog, news, user feedback, announcement 4 4 Requires at least: 4.1 5 Tested up to: 5. 2.16 Stable tag: 2.0. 15 Tested up to: 5.4 6 Stable tag: 2.0.2 7 7 Requires PHP: 5.2.4 8 8 License: GNUGPLv3 … … 56 56 == Changelog == 57 57 58 = 2.0.2 = 59 * Minor 60 58 61 = 2.0.1 = 59 62 * Backward compability
Note: See TracChangeset
for help on using the changeset viewer.