解决Wordpress后台出现Please switch to Firefox / Safari提示的方法
2010-03-01 17:59
507 查看
貌似启用WP-o-Matic插件后,在Wordpress后台进入WPRobot的时候会出现"Please switch to Firefox / Safari"的提示.每次都得用FireFox才能设置WPRobot,很麻烦.
在网上找到一篇一篇帖子,可以解决这个问题.
方法就是:
1. Download http://downloads.wordpress.org/plugin/wp-o-matic.1.0RC4.zip from the http://wordpress.org/extend/plugins/wp-o-matic/ page.
2. Using your favorite text editor edit the file
wp-o-matic/wpomatic.php
Go to line 1079 and comment out the two lines from this
if (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))
die('Please switch to Firefox / Safari');
to this
// if (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))
// die('Please switch to Firefox / Safari');
在网上找到一篇一篇帖子,可以解决这个问题.
方法就是:
1. Download http://downloads.wordpress.org/plugin/wp-o-matic.1.0RC4.zip from the http://wordpress.org/extend/plugins/wp-o-matic/ page.
2. Using your favorite text editor edit the file
wp-o-matic/wpomatic.php
Go to line 1079 and comment out the two lines from this
if (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))
die('Please switch to Firefox / Safari');
to this
// if (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))
// die('Please switch to Firefox / Safari');
相关文章推荐
- android sdk更新后出现please update ADT to the latest version的解决方法
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- Qt提示 "Could not connect to AppWrapper, Please make sure TCP port 12005 is not blocked"解决方法
- apache出现You don't have permission to access / on this server. 提示(解决方法)
- Qt提示 "Could not connect to AppWrapper, Please make sure TCP port 12005 is not blocked"解决方法
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- Qt提示 "Could not connect to AppWrapper, Please make sure TCP port 12005 is not blocked"解决方法
- Ubuntu 配置VNC时,出现“perl: warning: Falling back to the standard locale ("C").”等提示错误解决方法
- wordpress 安装(亲身经历)& 出现“Fatal error: Call to undefined function get_magic_quotes_gpc()”之后的解决方法
- wordpress在登录后台出现“Warning: Cannot modify header information - headers already sent by”的解决方法
- VS2010 出现错误提示“Error Creating Control - Object reference not set to an instance of an objec” 的解决方法
- android sdk更新后出现please update ADT to the latest version的解决方法
- 后台——使用maven时出现Failure to transfer 错误的解决方法
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- Qt提示 "Could not connect to AppWrapper, Please make sure TCP port 12005 is not blocked"解决方法
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题的解决方法
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- Wordpress转移数据表后出现"You do not have sufficient permissions to access this page"的解决方法
- Qt提示 "Could not connect to AppWrapper, Please make sure TCP port 12005 is not blocked"解决方法