Changeset 2606628
- Timestamp:
- 09/29/2021 10:01:52 AM (4 years ago)
- Location:
- affiliate-links/trunk
- Files:
-
- 4 edited
-
admin/class-affiliate-links-metabox.php (modified) (8 diffs)
-
admin/js/affiliate-links-admin.js (modified) (1 diff)
-
affiliate-links.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
affiliate-links/trunk/admin/class-affiliate-links-metabox.php
r1477024 r2606628 283 283 } 284 284 285 foreach ( $this->get_embedded_metabox_fields() as $field ) { 286 287 // Update the meta field. 288 update_post_meta( $post_id, $field['name'], $this->get_sanitized_value( $field ) ); 289 290 } 291 285 292 // reset stat count 286 293 if ( isset( $_POST['_affiliate_links_stat'] ) ) { … … 354 361 return array( 355 362 array( 363 'name' =>'_embedded_add_rel', 356 364 'thead' => __( 'Add rel="nofollow"', 'affiliate-links' ), 357 365 'class' => 'affiliate_links_control', … … 362 370 ), 363 371 array( 372 'name' =>'_embedded_add_target', 364 373 'thead' => __( 'Add target="_blank', 'affiliate-links' ), 365 374 'class' => 'affiliate_links_control', … … 370 379 ), 371 380 array( 381 'name' =>'_embedded_add_link_title', 372 382 'thead' => __( 'Add link title', 'affiliate-links' ), 373 383 'class' => 'affiliate_links_control', … … 377 387 ), 378 388 array( 389 'name' =>'_embedded_add_link_class', 379 390 'thead' => __( 'Add link class', 'affiliate-links' ), 380 391 'class' => 'affiliate_links_control', … … 384 395 ), 385 396 array( 397 'name' =>'_embedded_add_link_anchor', 386 398 'thead' => __( 'Add link anchor', 'affiliate-links' ), 387 399 'class' => 'affiliate_links_control', … … 519 531 <label> 520 532 <input type="<?php echo esc_attr( trim( $field['type'], 'embed_' ) ) ?>" 533 name="<?php echo esc_attr( $field['name'] ) ?>" 521 534 class="<?php echo esc_attr( $field['class'] ) ?>" 522 535 data-attr="<?php echo esc_attr( $field['data-attr'] ) ?>" 523 536 data-value="<?php echo esc_attr( $field['data-value'] ) ?>" 537 value="1" 538 <?php checked( $value, 1 ) ?> 524 539 > 525 540 <?php echo esc_html( $field['description'] ) ?> … … 539 554 <label> 540 555 <input type="<?php echo esc_attr( trim( $field['type'], 'embed_' ) ) ?>" 556 name="<?php echo esc_attr( $field['name'] ) ?>" 541 557 class="<?php echo esc_attr( $field['class'] ) ?>" 542 558 data-attr="<?php echo esc_attr( $field['data-attr'] ) ?>" 559 value="<?php echo esc_attr__( $value ) ?>" 543 560 > 544 561 <p class="description"><?php echo esc_html( $field['description'] ) ?></p> -
affiliate-links/trunk/admin/js/affiliate-links-admin.js
r1448498 r2606628 392 392 393 393 }); 394 jQuery('.affiliate_links_control').trigger('change'); 395 jQuery('.affiliate_links_control').trigger('input'); 394 396 } 395 397 }; -
affiliate-links/trunk/affiliate-links.php
r1919198 r2606628 4 4 * Plugin URI: http://affiliatelinkswp.com/ 5 5 * Description: Create any redirect links to any website from your WordPress Admin. Perfect for the affiliate links masking. 6 * Version: 2. 36 * Version: 2.4 7 7 * Author: Custom4Web 8 8 * Author URI: https://www.custom4web.com/ -
affiliate-links/trunk/readme.txt
r2462907 r2606628 4 4 Donate link: https://codecanyon.net/item/affiliate-links-wordpress-plugin-for-link-shortening-and-masking/16917669?ref=teamdev-ltd 5 5 Requires at least: 4.0 6 Tested up to: 5. 6.06 Tested up to: 5.8.1 7 7 Stable tag: trunk 8 8 License: GPL-2.0+
Note: See TracChangeset
for help on using the changeset viewer.