mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
General: revert [38467], wp_is_IE() should not exist.
See #37699. git-svn-id: https://develop.svn.wordpress.org/trunk@38468 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2896,11 +2896,15 @@ function the_comments_pagination( $args = array() ) {
|
||||
* Retrieves the Press This bookmarklet link.
|
||||
*
|
||||
* @since 2.6.0
|
||||
*
|
||||
* @global bool $is_IE Whether the browser matches an Internet Explorer user agent.
|
||||
*/
|
||||
function get_shortcut_link() {
|
||||
global $is_IE;
|
||||
|
||||
$link = '';
|
||||
|
||||
if ( wp_is_IE() ) {
|
||||
if ( $is_IE ) {
|
||||
/*
|
||||
* Return the old/shorter bookmarklet code for MSIE 8 and lower,
|
||||
* since they only support a max length of ~2000 characters for
|
||||
|
||||
Reference in New Issue
Block a user