Changeset 1600977
- Timestamp:
- 02/21/2017 11:56:37 PM (9 years ago)
- Location:
- wp-useragent/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (3 diffs)
-
wp-useragent.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-useragent/trunk/readme.txt
r1586814 r1600977 5 5 Requires at least: 2.0 6 6 Tested up to: 4.7.2 7 Stable tag: 1.1. 47 Stable tag: 1.1.5 8 8 9 9 == Description == … … 84 84 85 85 == Changelog == 86 87 = v1.1.5 = 88 * Fix for comments not appearing when replying via admin comments section (props: ebteb) 89 86 90 87 91 = v1.1.4 = … … 690 694 == Upgrade Notice == 691 695 692 = v1.1. 4=693 * Fix incorrect/missing image for Android WebView (props: kissshot)696 = v1.1.5 = 697 * Fix for comments not appearing when replying via admin comments section (props: ebteb) -
wp-useragent/trunk/wp-useragent.php
r1586814 r1600977 4 4 * Plugin URI: https://www.kyleabaker.com/goodies/coding/wp-useragent/ 5 5 * Description: A simple User-Agent detection plugin that lets you easily insert icons and/or textual web browser and operating system details with each comment. 6 * Version: 1.1. 46 * Version: 1.1.5 7 7 * Author: Kyle Baker 8 8 * Author URI: https://www.kyleabaker.com/ … … 199 199 // The following conditional will hopefully prevent a problem where 200 200 // the echo statement will interrupt redirects from the comment page. 201 if (empty($_POST['comment_post_ID']) )201 if (empty($_POST['comment_post_ID']) || is_admin()) 202 202 { 203 203 echo apply_filters('comment_text', $comment->comment_content); … … 292 292 // The following conditional will hopefully prevent a problem where 293 293 // the echo statement will interrupt redirects from the comment page. 294 if (empty($_POST['comment_post_ID']) ) echo $wpua_useragent;294 if (empty($_POST['comment_post_ID']) || is_admin()) echo $wpua_useragent; 295 295 } 296 296
Note: See TracChangeset
for help on using the changeset viewer.