Changeset 2049013
- Timestamp:
- 03/12/2019 12:18:01 PM (7 years ago)
- Location:
- iteras/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (2 diffs)
-
iteras.php (modified) (1 diff)
-
languages/iteras-da_DK.mo (modified) (previous)
-
languages/iteras-da_DK.po (modified) (1 diff)
-
public/iteras-public.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
iteras/trunk/README.txt
r2044569 r2049013 3 3 Requires at least: 3.5.1 4 4 Tested up to: 5.1 5 Stable tag: 1.3. 05 Stable tag: 1.3.1 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 70 70 71 71 == Changelog == 72 = 1.3.1 = 73 * Moved down paywall priority so other shortcodes are run before truncating content 74 * Only apply paywall to detail pages (singles) 75 72 76 = 1.3.0 = 73 77 * Show paywalled content for editors -
iteras/trunk/iteras.php
r2044569 r2049013 13 13 * Plugin URI: https://app.iteras.dk 14 14 * Description: Integration with ITERAS, a cloud-based state-of-the-art system for managing subscriptions/memberships and payments. 15 * Version: 1.3. 015 * Version: 1.3.1 16 16 * Author: ITERAS 17 17 * Author URI: https://www.iteras.dk -
iteras/trunk/languages/iteras-da_DK.po
r2044569 r2049013 6 6 "Project-Id-Version: iteras\n" 7 7 "Report-Msgid-Bugs-To: team@iteras.dk\n" 8 "POT-Creation-Date: 2019-03-05 1 3:52+0100\n"8 "POT-Creation-Date: 2019-03-05 14:07+0100\n" 9 9 "PO-Revision-Date: 2019-03-05 13:51+0100\n" 10 10 "Last-Translator: Ole Laursen <olau@iteras.dk>\n" -
iteras/trunk/public/iteras-public.php
r2044569 r2049013 16 16 class Iteras { 17 17 18 const VERSION = '1.3. 0';18 const VERSION = '1.3.1'; 19 19 20 20 const SETTINGS_KEY = "iteras_settings"; … … 44 44 add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); 45 45 46 add_filter( 'the_content', array( $this, 'potentially_paywall_content_filter' ));46 add_filter( 'the_content', array( $this, 'potentially_paywall_content_filter' ), 99 ); 47 47 48 48 add_shortcode( 'iteras-ordering', array( $this, 'ordering_shortcode') ); … … 355 355 $computed_hmac = hash_hmac($algo, $data, $key); 356 356 357 if ($computed_hmac !== false && $key && 358 (function_exists("hash_equals") ? !hash_equals($computed_hmac, $hmac) : $computed_hmac != $hmac)) 357 if ($computed_hmac !== false && $key && (function_exists("hash_equals") ? !hash_equals($computed_hmac, $hmac) : $computed_hmac != $hmac)) 359 358 return false; 360 359 … … 384 383 public function potentially_paywall_content($content) { 385 384 global $post; 385 386 if (!is_singular()) 387 return $content; 386 388 387 389 $paywall_ids = get_post_meta( $post->ID, self::POST_META_KEY, true );
Note: See TracChangeset
for help on using the changeset viewer.