Ticket #41023: 41023.patch
File 41023.patch, 495 bytes (added by , 8 years ago) |
---|
-
wp-includes/vars.php
139 139 $is_mobile = false; 140 140 } 141 141 142 return $is_mobile; 142 /** 143 * Filters weather the request should be treated as mobile or not. 144 * 145 * @since 4.8.1 146 * 147 * @param bool $is_mobile Whether the request is from a mobile device or not. 148 */ 149 return apply_filters( 'wp_is_mobile', $is_mobile ); 143 150 }