Changeset 1844956
- Timestamp:
- 03/22/2018 12:03:01 PM (8 years ago)
- Location:
- snippy/trunk
- Files:
-
- 3 edited
-
includes/utils.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
snippy.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
snippy/trunk/includes/utils.php
r1711334 r1844956 34 34 foreach ($placeholders as $placeholder) { 35 35 $replacement = !empty($placeholder['value']) ? $placeholder['value'] : Placeholders::get_placeholder_value($placeholder['name']); 36 $html = preg_replace('/{{'. $placeholder['name'] .'(?::.+ ){0,1}}}/i', $replacement, $html);36 $html = preg_replace('/{{'. $placeholder['name'] .'(?::.+?){0,1}}}/i', $replacement, $html); 37 37 } 38 38 return $html; -
snippy/trunk/readme.txt
r1749709 r1844956 4 4 Tags: shortcode, short code, build, create, javascript 5 5 Requires at least: 4.5 6 Tested up to: 4. 8.27 Stable tag: 1.2. 06 Tested up to: 4.9.4 7 Stable tag: 1.2.1 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
snippy/trunk/snippy.php
r1749709 r1844956 1 1 <?php 2 /** 3 * Plugin Name: Snippy 4 * Plugin URI: https://pqina.nl/snippy 5 * Description: Snippy, create your own super flexible shortcodes 6 * Version: 1.2.0 7 * Author: PQINA 8 * Author URI: https://pqina.nl 9 * License: GPL2 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html 11 * Text Domain: snippy 12 13 {Plugin Name} is free software: you can redistribute it and/or modify 2 /* 3 Plugin Name: Snippy 4 Plugin URI: https://pqina.nl/snippy 5 Description: Snippy, create your own super flexible shortcodes 6 Version: 1.2.1 7 Author: PQINA 8 Author URI: https://pqina.nl 9 License: GPL2 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html 11 Text Domain: snippy 12 13 Copyright 2009-2018 PQINA 14 15 Snippy is free software: you can redistribute it and/or modify 14 16 it under the terms of the GNU General Public License as published by 15 17 the Free Software Foundation, either version 2 of the License, or 16 18 any later version. 17 19 18 {Plugin Name}is distributed in the hope that it will be useful,20 Snippy is distributed in the hope that it will be useful, 19 21 but WITHOUT ANY WARRANTY; without even the implied warranty of 20 22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the … … 22 24 23 25 You should have received a copy of the GNU General Public License 24 along with {Plugin Name}. If not, see {URI to Plugin License}.25 */26 along with Snippy. If not, see {URI to Plugin License}. 27 */ 26 28 27 29 namespace snippy;
Note: See TracChangeset
for help on using the changeset viewer.