Plugin Directory

Changeset 1818589


Ignore:
Timestamp:
02/08/2018 10:13:46 PM (8 years ago)
Author:
ryanv12
Message:

Preparing for 3.0.10 release

Location:
disqus-comment-system/trunk
Files:
1 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • disqus-comment-system/trunk/README.txt

    r1817759 r1818589  
    44Requires at least: 4.4
    55Tested up to: 4.9.4
    6 Stable tag: 3.0.9
    7 Requires PHP: 5.6.0
     6Stable tag: 3.0.10
     7Requires PHP: 5.4
    88
    99Disqus is the web's most popular comment system. Use Disqus to increase engagement, retain readers, and grow your audience.
     
    120120== Changelog ==
    121121
     122= 3.0.10 =
     123
     124* Lowered minimum-supported version of PHP to 5.4
     125* Fixed a syntax issue in PHP version 5.3
     126
    122127= 3.0.9 =
    123128
  • disqus-comment-system/trunk/disqus.php

    r1817759 r1818589  
    1616 * Plugin URI:        https://disqus.com/
    1717 * Description:       Disqus helps publishers increase engagement and build loyal audiences. Supports syncing comments to your database for easy backup.
    18  * Version:           3.0.9
     18 * Version:           3.0.10
    1919 * Author:            Disqus
    2020 * Author URI:        https://disqus.com/
     
    3434 */
    3535function activate_disqus() {
    36     if ( version_compare( phpversion(), '5.6', '<' ) ) {
     36    if ( version_compare( phpversion(), '5.4', '<' ) ) {
    3737        deactivate_plugins( plugin_basename( __FILE__ ) );
    38         wp_die( 'Disqus requires PHP version 5.6 or higher. Plugin was deactivated.' );
     38        wp_die( 'Disqus requires PHP version 5.4 or higher. Plugin was deactivated.' );
    3939    }
    4040}
     
    6969function run_disqus() {
    7070
    71     $plugin = new Disqus( '3.0.9' );
     71    $plugin = new Disqus( '3.0.10' );
    7272    $plugin->run();
    7373
  • disqus-comment-system/trunk/rest-api/class-disqus-rest-api.php

    r1817585 r1818589  
    658658
    659659            if ( null !== $first_identifier ) {
    660                 $wp_post_id = explode( ' ', $first_identifier, 2 )[0];
     660                $ident_parts = explode( ' ', $first_identifier, 2 );
     661                $wp_post_id = reset( $ident_parts );
    661662            }
    662663
Note: See TracChangeset for help on using the changeset viewer.