Changeset 3064210
- Timestamp:
- 04/03/2024 11:15:51 PM (2 years ago)
- Location:
- herp-derp
- Files:
-
- 2 edited
- 4 copied
-
tags/1.7 (copied) (copied from herp-derp/trunk)
-
tags/1.7/herpderp.js (copied) (copied from herp-derp/trunk/herpderp.js)
-
tags/1.7/herpderp.php (copied) (copied from herp-derp/trunk/herpderp.php) (5 diffs)
-
tags/1.7/readme.txt (copied) (copied from herp-derp/trunk/readme.txt) (2 diffs)
-
trunk/herpderp.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
herp-derp/tags/1.7/herpderp.php
r2782906 r3064210 3 3 Plugin Name: Herp Derp 4 4 Plugin URI: https://www.jwz.org/herpderp/ 5 Version: 1. 65 Version: 1.7 6 6 Description: Adds a checkbox to replace the text of your comments with "Herp Derp". 7 7 Author: Jamie Zawinski … … 9 9 */ 10 10 11 /* Copyright © 2012-202 2Jamie Zawinski <jwz@jwz.org>11 /* Copyright © 2012-2023 Jamie Zawinski <jwz@jwz.org> 12 12 13 13 Permission to use, copy, modify, distribute, and sell this software and its … … 34 34 function herpderp_init() { 35 35 36 if (!is_singular() || !get_comments_number()) return;36 if (!is_singular() || is_feed() || !get_comments_number()) return; 37 37 38 38 // Pass the default value of the prefs checkbox down into JS. … … 54 54 add_action ('wp_head', 'herpderp_head'); 55 55 function herpderp_head() { 56 if (!is_singular() || !get_comments_number()) return;56 if (!is_singular() || is_feed() || !get_comments_number()) return; 57 57 ?> 58 58 <STYLE TYPE="text/css"> … … 67 67 add_filter ('comment_text', 'herpderp_comment_text', 40); // after wpautop 68 68 function herpderp_comment_text($text) { 69 if (!is_singular() || !get_comments_number()) return $text; 69 if (!is_singular() || is_feed() || !get_comments_number()) 70 return $text; 70 71 return "<span class='herpc'>$text</span>"; 71 72 } -
herp-derp/tags/1.7/readme.txt
r2782906 r3064210 4 4 Tags: herp, derp 5 5 Requires at least: 2.7 6 Tested up to: 6. 0.27 Stable tag: 1. 66 Tested up to: 6.5 7 Stable tag: 1.7 8 8 9 9 This plugin herps all the derps. … … 54 54 * Moved the "Herp by default" checkbox to the "Settings / Discussion" page. 55 55 56 = 1.7 = 57 * Omit unnecessary derpery on feed pages. 58 -
herp-derp/trunk/herpderp.php
r2782906 r3064210 3 3 Plugin Name: Herp Derp 4 4 Plugin URI: https://www.jwz.org/herpderp/ 5 Version: 1. 65 Version: 1.7 6 6 Description: Adds a checkbox to replace the text of your comments with "Herp Derp". 7 7 Author: Jamie Zawinski … … 9 9 */ 10 10 11 /* Copyright © 2012-202 2Jamie Zawinski <jwz@jwz.org>11 /* Copyright © 2012-2023 Jamie Zawinski <jwz@jwz.org> 12 12 13 13 Permission to use, copy, modify, distribute, and sell this software and its … … 34 34 function herpderp_init() { 35 35 36 if (!is_singular() || !get_comments_number()) return;36 if (!is_singular() || is_feed() || !get_comments_number()) return; 37 37 38 38 // Pass the default value of the prefs checkbox down into JS. … … 54 54 add_action ('wp_head', 'herpderp_head'); 55 55 function herpderp_head() { 56 if (!is_singular() || !get_comments_number()) return;56 if (!is_singular() || is_feed() || !get_comments_number()) return; 57 57 ?> 58 58 <STYLE TYPE="text/css"> … … 67 67 add_filter ('comment_text', 'herpderp_comment_text', 40); // after wpautop 68 68 function herpderp_comment_text($text) { 69 if (!is_singular() || !get_comments_number()) return $text; 69 if (!is_singular() || is_feed() || !get_comments_number()) 70 return $text; 70 71 return "<span class='herpc'>$text</span>"; 71 72 } -
herp-derp/trunk/readme.txt
r2782906 r3064210 4 4 Tags: herp, derp 5 5 Requires at least: 2.7 6 Tested up to: 6. 0.27 Stable tag: 1. 66 Tested up to: 6.5 7 Stable tag: 1.7 8 8 9 9 This plugin herps all the derps. … … 54 54 * Moved the "Herp by default" checkbox to the "Settings / Discussion" page. 55 55 56 = 1.7 = 57 * Omit unnecessary derpery on feed pages. 58
Note: See TracChangeset
for help on using the changeset viewer.