Changeset 1817759
- Timestamp:
- 02/08/2018 12:07:42 AM (8 years ago)
- Location:
- disqus-comment-system/trunk
- Files:
-
- 1 added
- 1 deleted
- 2 edited
-
README.txt (modified) (2 diffs)
-
admin/bundles/js/en.disqus-admin.bundle.3.0.8.min.js (deleted)
-
admin/bundles/js/en.disqus-admin.bundle.3.0.9.min.js (added)
-
disqus.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
disqus-comment-system/trunk/README.txt
r1817727 r1817759 4 4 Requires at least: 4.4 5 5 Tested up to: 4.9.4 6 Stable tag: 3.0.8 6 Stable tag: 3.0.9 7 Requires PHP: 5.6.0 7 8 8 9 Disqus is the web's most popular comment system. Use Disqus to increase engagement, retain readers, and grow your audience. … … 119 120 == Changelog == 120 121 122 = 3.0.9 = 123 124 * Added a check to deactivate plugin if PHP version is earlier than the minimum-supported version 5.6. 125 121 126 = 3.0.8 = 122 127 -
disqus-comment-system/trunk/disqus.php
r1817727 r1817759 16 16 * Plugin URI: https://disqus.com/ 17 17 * Description: Disqus helps publishers increase engagement and build loyal audiences. Supports syncing comments to your database for easy backup. 18 * Version: 3.0. 818 * Version: 3.0.9 19 19 * Author: Disqus 20 20 * Author URI: https://disqus.com/ … … 31 31 32 32 /** 33 * The code that runs during plugin activation (but not during updates). 34 */ 35 function activate_disqus() { 36 if ( version_compare( phpversion(), '5.6', '<' ) ) { 37 deactivate_plugins( plugin_basename( __FILE__ ) ); 38 wp_die( 'Disqus requires PHP version 5.6 or higher. Plugin was deactivated.' ); 39 } 40 } 41 42 /** 33 43 * The code that runs during plugin deactivation. 34 44 * This action is documented in includes/class-disqus-deactivator.php … … 39 49 } 40 50 51 register_activation_hook( __FILE__, 'activate_disqus' ); 41 52 register_deactivation_hook( __FILE__, 'deactivate_disqus' ); 42 53 … … 58 69 function run_disqus() { 59 70 60 $plugin = new Disqus( '3.0. 8' );71 $plugin = new Disqus( '3.0.9' ); 61 72 $plugin->run(); 62 73
Note: See TracChangeset
for help on using the changeset viewer.