Changeset 3462867
- Timestamp:
- 02/16/2026 08:05:48 PM (6 days ago)
- Location:
- a1-tools/trunk
- Files:
-
- 2 edited
-
a1-tools.php (modified) (6 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
a1-tools/trunk/a1-tools.php
r3462759 r3462867 4 4 * Plugin URI: https://tools.a-1chimney.com 5 5 * Description: Connects your WordPress site to the A1 Tools platform for centralized management of contact information, social media links, and business details. 6 * Version: 1.4.1 16 * Version: 1.4.12 7 7 * Requires at least: 5.0 8 8 * Requires PHP: 7.4 … … 21 21 22 22 // Plugin constants. 23 define( 'A1TOOLS_VERSION', '1.4.1 1' );23 define( 'A1TOOLS_VERSION', '1.4.12' ); 24 24 define( 'A1TOOLS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 25 25 define( 'A1TOOLS_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); … … 272 272 } 273 273 274 // Use standalone full_address field if set. 275 if ( ! empty( $vars['full_address'] ) ) { 276 $output = esc_html( $vars['full_address'] ); 277 278 if ( ! empty( $atts['class'] ) ) { 279 $output = '<span class="' . esc_attr( $atts['class'] ) . '">' . $output . '</span>'; 280 } 281 282 return $output; 283 } 284 285 // Fallback: assemble from individual address fields. 274 286 $parts = array(); 275 287 … … 369 381 * Get SVG markup for icons not available in Font Awesome 5. 370 382 * 371 * @since 1.4.1 1383 * @since 1.4.12 372 384 * @param string $icon_key The SVG icon key (e.g. 'svg-x'). 373 385 * @return string SVG markup or empty string. … … 383 395 * Get icon HTML (SVG or Font Awesome <i> tag). 384 396 * 385 * @since 1.4.1 1397 * @since 1.4.12 386 398 * @param string $icon Icon class or SVG key. 387 399 * @return string HTML markup for the icon. … … 1361 1373 'country' => array( 'label' => 'Country', 'shortcode' => '[a1tools_var key="country"]' ), 1362 1374 'address_formatted' => array( 'label' => 'Full Address (multi-line)', 'shortcode' => '[a1tools_address]' ), 1363 ' address_single'=> array( 'label' => 'Full Address (single line)', 'shortcode' => '[a1tools_full_address]' ),1375 'full_address' => array( 'label' => 'Full Address (single line)', 'shortcode' => '[a1tools_full_address]' ), 1364 1376 ), 1365 1377 'Social Media' => array( -
a1-tools/trunk/readme.txt
r3462759 r3462867 4 4 Requires at least: 5.0 5 5 Tested up to: 6.9 6 Stable tag: 1.4.1 16 Stable tag: 1.4.12 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later … … 151 151 152 152 == Changelog == 153 154 = 1.4.12 = 155 * Added standalone Full Address field (full_address) for [a1tools_full_address] shortcode 156 * [a1tools_full_address] now uses stored value if set, falls back to assembled parts 157 * Fixed Connection Status table showing "(not set)" for Full Address (single line) 153 158 154 159 = 1.4.11 =
Note: See TracChangeset
for help on using the changeset viewer.