Changeset 2765703
- Timestamp:
- 08/03/2022 11:48:50 AM (4 years ago)
- Location:
- optimizer-shortcodes-email
- Files:
-
- 10 added
- 1 deleted
- 2 edited
-
tags/1.0.2 (added)
-
tags/1.0.2/LICENSE (added)
-
tags/1.0.2/index.php (added)
-
tags/1.0.2/optimizer-shortcodes-email.php (added)
-
tags/1.0.2/readme.txt (added)
-
tags/1.0.2/templates (added)
-
tags/1.0.2/templates/admin (added)
-
tags/1.0.2/templates/admin/fields (added)
-
tags/1.0.2/templates/admin/fields/field-email.php (added)
-
tags/1.0.2/templates/admin/optimizer-settings-page.php (added)
-
trunk/README.md (deleted)
-
trunk/optimizer-shortcodes-email.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
optimizer-shortcodes-email/trunk/optimizer-shortcodes-email.php
r2755056 r2765703 4 4 * Plugin URI: https://businessoptimizer.org/collections/plugins 5 5 * Description: Provides a simple text field for an email address that can be used throughout the site with a shortcode. 6 * Version: 1.0. 16 * Version: 1.0.2 7 7 * Requires at least: 5 8 8 * Requires PHP: 7.3 … … 142 142 function shortcode_handling( $atts, $content, $tag ) { 143 143 $option = get_option( self::$core_name . '_options' ); 144 if ( !empty( $option ) && !empty( $option[ self::$core_name . '_field_ one' ] ) ) {145 $content = $option[ self::$core_name . '_field_ one' ];144 if ( !empty( $option ) && !empty( $option[ self::$core_name . '_field_email' ] ) ) { 145 $content = $option[ self::$core_name . '_field_email' ]; 146 146 } 147 147 -
optimizer-shortcodes-email/trunk/readme.txt
r2755056 r2765703 5 5 Tested up to: 6.0 6 6 Requires PHP: 7.3 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 41 41 = 1.0.1 = 42 42 * Tested for WP 6.0+ 43 44 = 1.0.2 = 45 * Fixed wrong field name that was breaking the shortcode
Note: See TracChangeset
for help on using the changeset viewer.