Changeset 3437712
- Timestamp:
- 01/12/2026 12:29:58 PM (3 months ago)
- Location:
- display-remote-posts-block
- Files:
-
- 3 edited
- 9 copied
-
tags/1.1.4 (copied) (copied from display-remote-posts-block/trunk)
-
tags/1.1.4/block.json (copied) (copied from display-remote-posts-block/trunk/block.json)
-
tags/1.1.4/build (copied) (copied from display-remote-posts-block/trunk/build)
-
tags/1.1.4/build/index.asset.php (copied) (copied from display-remote-posts-block/trunk/build/index.asset.php)
-
tags/1.1.4/build/index.js (copied) (copied from display-remote-posts-block/trunk/build/index.js)
-
tags/1.1.4/display-remote-posts-block.php (copied) (copied from display-remote-posts-block/trunk/display-remote-posts-block.php) (4 diffs)
-
tags/1.1.4/includes (copied) (copied from display-remote-posts-block/trunk/includes)
-
tags/1.1.4/includes/class-drpb-common.php (copied) (copied from display-remote-posts-block/trunk/includes/class-drpb-common.php) (4 diffs)
-
tags/1.1.4/readme.txt (copied) (copied from display-remote-posts-block/trunk/readme.txt) (4 diffs)
-
trunk/display-remote-posts-block.php (modified) (4 diffs)
-
trunk/includes/class-drpb-common.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
display-remote-posts-block/tags/1.1.4/display-remote-posts-block.php
r3420201 r3437712 4 4 * Description: Block to display recent posts from a WordPress or Blogger blog 5 5 * Author: Webd Ltd 6 * Version: 1.1. 36 * Version: 1.1.4 7 7 * Author URI: https://webd.uk 8 8 * License: GPLv2 or later … … 23 23 class display_remote_posts_block_class { 24 24 25 public static $version = '1.1. 3';25 public static $version = '1.1.4'; 26 26 27 27 function __construct() { … … 702 702 $host_ip = gethostbyname($parsed['host']); 703 703 704 705 if ($host_ip === $parsed['host']) { 706 707 return new WP_Error('invalid_host', __('Hostname will not resolve.', 'display-remote-posts-block')); 708 709 } 710 711 704 712 if (!filter_var($host_ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)) { 705 713 … … 732 740 if (is_wp_error($response_body)) { 733 741 734 return $response ;742 return $response_body; 735 743 736 744 } -
display-remote-posts-block/tags/1.1.4/includes/class-drpb-common.php
r3420201 r3437712 1 1 <?php 2 2 /* 3 * Version: 1.4. 33 * Version: 1.4.5 4 4 */ 5 6 7 8 if (!defined('ABSPATH')) { 9 exit('This isn\'t the page you\'re looking for. Move along, move along.'); 10 } 5 11 6 12 … … 373 379 if (self::$plugin_premium_class) { 374 380 375 if (get_option(self::$plugin_prefix . '_purchased') && !class_exists(self::$plugin_premium_class) && get_user_meta(get_current_user_id(), self::$plugin_prefix . '-notice-dismissed', true) != self::plugin_version()) { 381 if ( 382 get_option(self::$plugin_prefix . '_purchased') && 383 !class_exists(self::$plugin_premium_class) && 384 get_user_meta(get_current_user_id(), self::$plugin_prefix . '-notice-dismissed', true) != self::plugin_version() 385 ) { 376 386 377 387 ?> … … 503 513 504 514 <div class="notice notice-info is-dismissible <?php echo esc_attr(self::$plugin_prefix); ?>-notice"> 505 <p><strong><?php 515 516 <p><strong><?php 506 517 /* translators: name of the plugin */ 507 518 printf(esc_html(__('Thank you for using %s plugin', 'display-remote-posts-block')), esc_html(self::$plugin_name)); ?></strong></p> … … 512 523 513 524 ?> 514 <p><?php esc_html_e('Funding plugins like this one with small financial contributions is essential to pay the developers to continue to do what they do. Please take a moment to give a small amount ...', 'display-remote-posts-block'); ?></p> 515 <p><a href="<?php echo esc_url(self::upgrade_link()); ?>" title="<?php 516 /* translators: name of the plugin */ 517 echo esc_attr(sprintf(__('Contribute to %s', 'display-remote-posts-block'), self::$plugin_name)); ?>" class="button-primary"><?php printf(esc_html(__('Contribute to %s', 'display-remote-posts-block')), esc_html(self::$plugin_name)); ?></a> <a href="#" id="<?php echo esc_attr(self::$plugin_prefix); ?>-already-paid" title="<?php echo esc_attr(__('Aleady Contributed!', 'display-remote-posts-block')); ?>" class="button-primary"><?php esc_html_e('Aleady Contributed!', 'display-remote-posts-block'); ?></a></p> 525 526 <p><?php esc_html_e('Funding plugins like this one with small financial contributions is essential to pay the developers to continue to do what they do. Please take a moment to give a small amount ...', 'display-remote-posts-block'); ?></p> 527 528 <p><a href="<?php echo esc_url(self::upgrade_link()); ?>" title="<?php 529 /* translators: name of the plugin */ 530 echo esc_attr(sprintf(__('Contribute to %s', 'display-remote-posts-block'), self::$plugin_name)); ?>" class="button-primary"><?php echo esc_html(__('Buy us a coffee ☕️', 'display-remote-posts-block')); ?></a> <a href="#" id="<?php echo esc_attr(self::$plugin_prefix); ?>-already-paid" title="<?php echo esc_attr(__('Aleady Contributed!', 'display-remote-posts-block')); ?>" class="button-secondary"><?php esc_html_e('Aleady Contributed!', 'display-remote-posts-block'); ?></a></p> 531 532 <hr style="margin:12px 0;"> 533 534 <p> 535 <strong>✨ Need help with your WordPress site?</strong> 536 🚀 Slow, want new features, or need a glow-up? 537 <a href="https://webd.uk/services/?utm_campaign=notice&utm_term=display-remote-posts-block" class="button-secondary" style="margin-left:6px; vertical-align: middle;">Explore our services</a> 538 </p> 539 518 540 </div> 519 541 -
display-remote-posts-block/tags/1.1.4/readme.txt
r3420201 r3437712 6 6 Tested up to: 6.9 7 7 Requires PHP: 5.6.3 8 Stable tag: 1.1. 38 Stable tag: 1.1.4 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 22 22 * WordPress (self hosted with Jetpack installed) 23 23 * WordPress (self hosted) 24 * Blogger 24 * Blogger - An issue with feeds.feedburner.com is currently breaking Blogger compatibility 25 25 26 26 Contact us in the [Support Forum](https://wordpress.org/support/plugin/display-remote-posts-block/ "Support Forum") if you'd like us to add support for another type of blog. … … 35 35 36 36 == Changelog == 37 38 = 1.1.4 = 39 * Fixed minor bug when retrieving remote content 37 40 38 41 = 1.1.3 = … … 82 85 == Upgrade Notice == 83 86 84 = 1.1. 3=85 * Fixed a bug with CSS output87 = 1.1.4 = 88 * Fixed minor bug when retrieving remote content -
display-remote-posts-block/trunk/display-remote-posts-block.php
r3420201 r3437712 4 4 * Description: Block to display recent posts from a WordPress or Blogger blog 5 5 * Author: Webd Ltd 6 * Version: 1.1. 36 * Version: 1.1.4 7 7 * Author URI: https://webd.uk 8 8 * License: GPLv2 or later … … 23 23 class display_remote_posts_block_class { 24 24 25 public static $version = '1.1. 3';25 public static $version = '1.1.4'; 26 26 27 27 function __construct() { … … 702 702 $host_ip = gethostbyname($parsed['host']); 703 703 704 705 if ($host_ip === $parsed['host']) { 706 707 return new WP_Error('invalid_host', __('Hostname will not resolve.', 'display-remote-posts-block')); 708 709 } 710 711 704 712 if (!filter_var($host_ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)) { 705 713 … … 732 740 if (is_wp_error($response_body)) { 733 741 734 return $response ;742 return $response_body; 735 743 736 744 } -
display-remote-posts-block/trunk/includes/class-drpb-common.php
r3420201 r3437712 1 1 <?php 2 2 /* 3 * Version: 1.4. 33 * Version: 1.4.5 4 4 */ 5 6 7 8 if (!defined('ABSPATH')) { 9 exit('This isn\'t the page you\'re looking for. Move along, move along.'); 10 } 5 11 6 12 … … 373 379 if (self::$plugin_premium_class) { 374 380 375 if (get_option(self::$plugin_prefix . '_purchased') && !class_exists(self::$plugin_premium_class) && get_user_meta(get_current_user_id(), self::$plugin_prefix . '-notice-dismissed', true) != self::plugin_version()) { 381 if ( 382 get_option(self::$plugin_prefix . '_purchased') && 383 !class_exists(self::$plugin_premium_class) && 384 get_user_meta(get_current_user_id(), self::$plugin_prefix . '-notice-dismissed', true) != self::plugin_version() 385 ) { 376 386 377 387 ?> … … 503 513 504 514 <div class="notice notice-info is-dismissible <?php echo esc_attr(self::$plugin_prefix); ?>-notice"> 505 <p><strong><?php 515 516 <p><strong><?php 506 517 /* translators: name of the plugin */ 507 518 printf(esc_html(__('Thank you for using %s plugin', 'display-remote-posts-block')), esc_html(self::$plugin_name)); ?></strong></p> … … 512 523 513 524 ?> 514 <p><?php esc_html_e('Funding plugins like this one with small financial contributions is essential to pay the developers to continue to do what they do. Please take a moment to give a small amount ...', 'display-remote-posts-block'); ?></p> 515 <p><a href="<?php echo esc_url(self::upgrade_link()); ?>" title="<?php 516 /* translators: name of the plugin */ 517 echo esc_attr(sprintf(__('Contribute to %s', 'display-remote-posts-block'), self::$plugin_name)); ?>" class="button-primary"><?php printf(esc_html(__('Contribute to %s', 'display-remote-posts-block')), esc_html(self::$plugin_name)); ?></a> <a href="#" id="<?php echo esc_attr(self::$plugin_prefix); ?>-already-paid" title="<?php echo esc_attr(__('Aleady Contributed!', 'display-remote-posts-block')); ?>" class="button-primary"><?php esc_html_e('Aleady Contributed!', 'display-remote-posts-block'); ?></a></p> 525 526 <p><?php esc_html_e('Funding plugins like this one with small financial contributions is essential to pay the developers to continue to do what they do. Please take a moment to give a small amount ...', 'display-remote-posts-block'); ?></p> 527 528 <p><a href="<?php echo esc_url(self::upgrade_link()); ?>" title="<?php 529 /* translators: name of the plugin */ 530 echo esc_attr(sprintf(__('Contribute to %s', 'display-remote-posts-block'), self::$plugin_name)); ?>" class="button-primary"><?php echo esc_html(__('Buy us a coffee ☕️', 'display-remote-posts-block')); ?></a> <a href="#" id="<?php echo esc_attr(self::$plugin_prefix); ?>-already-paid" title="<?php echo esc_attr(__('Aleady Contributed!', 'display-remote-posts-block')); ?>" class="button-secondary"><?php esc_html_e('Aleady Contributed!', 'display-remote-posts-block'); ?></a></p> 531 532 <hr style="margin:12px 0;"> 533 534 <p> 535 <strong>✨ Need help with your WordPress site?</strong> 536 🚀 Slow, want new features, or need a glow-up? 537 <a href="https://webd.uk/services/?utm_campaign=notice&utm_term=display-remote-posts-block" class="button-secondary" style="margin-left:6px; vertical-align: middle;">Explore our services</a> 538 </p> 539 518 540 </div> 519 541 -
display-remote-posts-block/trunk/readme.txt
r3420201 r3437712 6 6 Tested up to: 6.9 7 7 Requires PHP: 5.6.3 8 Stable tag: 1.1. 38 Stable tag: 1.1.4 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 22 22 * WordPress (self hosted with Jetpack installed) 23 23 * WordPress (self hosted) 24 * Blogger 24 * Blogger - An issue with feeds.feedburner.com is currently breaking Blogger compatibility 25 25 26 26 Contact us in the [Support Forum](https://wordpress.org/support/plugin/display-remote-posts-block/ "Support Forum") if you'd like us to add support for another type of blog. … … 35 35 36 36 == Changelog == 37 38 = 1.1.4 = 39 * Fixed minor bug when retrieving remote content 37 40 38 41 = 1.1.3 = … … 82 85 == Upgrade Notice == 83 86 84 = 1.1. 3=85 * Fixed a bug with CSS output87 = 1.1.4 = 88 * Fixed minor bug when retrieving remote content
Note: See TracChangeset
for help on using the changeset viewer.