.mo格式语言包打开工具|mo-editor下载|gettext_reader错误解决

如果出现  PHP错误提示:no found gettext_reader()函数
这是因为,新版本的wp吧 不能通过读取 admin.php来调用 gettext.php
手动在mo-editor.php中加入下面第三行内容
<!--p
require_once('admin.php');
require_once(ABSPATH . 'wp-includes/gettext.php');
class MO_editor extends gettext_reader{
	var $mo_file=NULL;
-->
————————–
用过N次,一直在插件中保存着,可是突然发现不能用了。
原来是plugins 里面的 pre-mo-editor.php 仍然存在
但是 wp-admin 里面的 mo-editor.php  在WP升级时被删除了。。。
———————-
于是想下载一个得了。
从来不相信这个东西这么难找,最终在gg的快照中找到了下载链接,居然没失效,然后就果断下载下来保存。
Box.net网盘 下载地址:http://www.boxcn.net/shared/cg6jt6t4ho
本站备用地址:http://zlz.im/up/mo_editor.rar
mo-editor 有两个版本
for wordpress
解压pre-mo-editor.php 到 wp-content/plugins 目录
mo-editor.php 到 wp-admin目录
 
for bbpress
解压pre-mo-editor.php 到 安装目录下的 my-plugins 目录 木有就新建一个
mo-editor.php 到 bb-admin目录
好了,至于有什么用,就不多说了,能从蜘蛛搜到这文章的肯定是明白人 ^_^
如果是修改wordpress,我以前写过教程:
包教包会~~~
 
版权所有© HzlzH | 本文采用 BY-NC-SA 进行授权
转载需注明 转自: 《.mo格式语言包打开工具|mo-editor下载|gettext_reader错误解决

相关文章

{ Leave a Reply ? }

  1. 第一先生 China Internet Explorer Windows

    good 博主还真辛苦

  2. kangzj China Mozilla Firefox Windows

    做插件的时候可以用吧,做语言包?

  3. Sawyer China Google Chrome Windows

    第一次我用的时候,是做语言包,但接触不是很多。

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

:wink: :twisted: :roll: :oops: :mrgreen: :lol: :idea: :evil: :cry: :arrow: :?: :-| :-x :-o :-P :-D :-? :) :( :!: 8-O 8)