Changeset 804261
- Timestamp:
- 11/14/2013 09:43:30 AM (12 years ago)
- Location:
- moot/trunk
- Files:
-
- 4 edited
-
class-moot.php (modified) (2 diffs)
-
moot.php (modified) (1 diff)
-
public.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
moot/trunk/class-moot.php
r760588 r804261 12 12 class Moot { 13 13 14 protected $version = '2.0. 3';14 protected $version = '2.0.4'; 15 15 16 16 protected $plugin_slug = 'moot'; … … 22 22 23 23 private function __construct() { 24 add_filter('the_content', array($this, 'default_comments')); 25 24 26 add_action('wp_enqueue_scripts', array($this, 'moot_includes')); 25 27 add_action('wp_head', array($this, 'moot_head')); 26 add_filter('the_content', array($this, 'default_comments'));27 28 add_action('admin_menu', array($this, 'moot_admin_menu')); 28 29 add_action('admin_init', array($this, 'moot_settings')); 30 29 31 add_shortcode('moot', array($this, 'moot_shortcode')); 30 32 add_shortcode('no-moot', array($this, 'moot_disable')); -
moot/trunk/moot.php
r760588 r804261 5 5 * Author URI: https://moot.it 6 6 * Description: Realtime forums and commenting for WordPress 7 * Version: 2.0. 37 * Version: 2.0.4 8 8 * Author: Moot Inc 9 9 * Text Domain: moot -
moot/trunk/public.php
r760588 r804261 1 1 2 <!-- Use Moot instead of Wordpress for comments | https://moot.it */ --> 2 3 <style> 3 /* Hide default comments in place for Moot: https://moot.it */ 4 .comments-link, #comment-wrap, #comments, #recent-comments-2, a[href*=comments-rss], a[href*='comments/feed'] { 5 display: none !important; 6 } 7 .moot { max-width: 100%; margin-bottom: 2em; } 8 .moot p { margin-bottom: 0; } 9 .moot .m-title { line-height: 1.1; margin: 0; } 10 .moot .m-pagetitle { margin: 0 0 .6em; } 4 .has-moot .comments-link, 5 .has-moot #comment-wrap, 6 .has-moot #comments, 7 .has-moot #recent-comments-2, 8 .has-moot a[href*=comments-rss], 9 .has-moot a[href*='comments/feed'], 10 .home-page #moot { 11 display: none !important; 12 } 13 .moot { max-width: 100%; margin-bottom: 2em; } 14 .moot p { margin-bottom: 0; } 15 .moot .m-title { line-height: 1.1; margin: 0; } 16 .moot .m-pagetitle { margin: 0 0 .6em; } 11 17 </style> 18 12 19 13 20 <?php … … 54 61 $(function() { 55 62 63 <?php if (get_option('moot_generate') == "true") { ?> 64 $("body").addClass("has-moot"); 65 <?php } ?> 66 56 67 if (typeof moot != "function") return $("#moot").remove(); 57 68 … … 83 94 if ($("#no-moot")[0]) return default_moot.remove(); 84 95 96 $("body").addClass("has-moot"); 97 85 98 if (user_moot[0]) { 86 99 user_moot.moot(moot_conf); -
moot/trunk/readme.txt
r760588 r804261 4 4 Requires at least: 3.0.0 5 5 Tested up to: 3.6 6 Stable tag: 2.0. 36 Stable tag: 2.0.4 7 7 License: MIT 8 8 License URI: https://github.com/moot/wordpress/blob/master/LICENSE.txt
Note: See TracChangeset
for help on using the changeset viewer.