[wordpress插件] Dismiss Gutenberg Nag解雇古腾堡·纳格

wordpress 插件 文章 2020-04-19 04:10 500 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Dismiss try Gutenberg nag, dashboard widget, and demo menu, when it is activated, or automatically, if it is in mu-plugins directory.

关闭试试Gutenberg nag,仪表板小工具和演示菜单(如果已激活,则自动关闭)(如果位于mu-plugins目录中,则自动关闭)。

Development for this plugin, takes place at GitHub, and GitHub

https://travis-ci.org/luciano-croce/dismiss-gutenberg-nag/" rel="nofollow">Travis CI.

https://travis-ci.org/luciano-croce/dismiss-gutenberg-nag/“ rel =” nofollow“>特拉维斯CI 。

Dismiss Gutenberg Nag is the best companion of 关闭古腾堡enberg

dismiss-welcome-nag/">Dismiss Welcome Panel Nag, and Dismiss Browser Update Nag.

dismiss-welcome-nag /“>关闭欢迎面板Nag 和关闭浏览器更新Nag

Compatible with GlotPress translations.

与GlotPress 翻译兼容。

Work with Single and Multisite installation.

使用单站点安装和多站点安装。

Plugin approved in the repository of the plugin directory on 2017-11-05

插件已在2017年11月5日的插件目录的存储库中批准

This is not a replacement but just a tool for those who need it.

这不是替代品,而只是为那些需要它的人提供的工具。

To date, try Gutenberg, preliminarily introduced in WP 4.9-beta3, in WP 4.9.5-

9-beta-3 /“> 4.9-beta3 ,在WP 4.9.5-

beta1-42869, and WP 4.9.8-beta1-43502,

beta1-42869 和WP 4.9.8-beta1-43502

respectively removed in WP 4.9-beta4, in WP 4.9-RC1, in WP 4.9-RC2, in WP 4.9-RC3, in WP 4.9.0, in WP 4.9.1, in WP 4.9.2, in WP 4.9.3,

在4.9-beta4,4.9-RC1,4.9-RC2,4.9-RC3,4.9.9,4.9.1,4.9.2,4.9.3,

in WP 4.9.4, in WP 4.9.5-beta1-42883, in WP

在WP 4.9.4中,在WP 4.9.5-beta1-42883 中,在WP中

4.9.5, in WP 4.9.6, in WP 4.9.7, in WP 4.9.9, in WP 5.0-alpha, and in WP 5.1-alpha, is embedded in core of WP 4.9.8 and WP 5.0

4.9.5,WP 4.9.6,WP 4.9.7,WP 4.9.9,WP 5.0-alpha和WP 5.1-alpha中,嵌入在WP 4.9.8和WP 5.0的核心中

+ according with this ticket and this 门票和此

//core.trac.wordpress.org/ticket/45063/" rel="nofollow">ticket.

//core.trac.wordpress.org/ticket/45063/“ rel =” nofollow“>门票。

This plugin use Semantic Versioning MAJOR.MINOR.PATCH

此插件使用语义版本控制 MAJOR.MINOR.PATCH

Future version 1.0.6 disable Gutenberg Editor and replace it with Classic Editor.

将来的版本1.0.6禁用Gutenberg Editor,并将其替换为Classic Editor。

Please note that this plugin does not add its custom code to WordPress (just to not create unexpected incompatibilities with Gutenberg or Classic Editor), but is limited only to the management and configuration of its functions, to offer the maximum of its experience

请注意,此插件不会将其自定义代码添加到WordPress(只是为了不与Gutenberg或Classic Editor产生意想不到的不兼容性),而仅限于对其功能的管理和配置,以提供最大的体验

of use, without introducing possible additional problems.

使用,而不会引入其他可能的问题。

Enjoy!

享受吧!

How Work?

如何工作?

By default try Gutenberg is displayed only for users with administrator capability in WordPress 4.9.8 but when the Gutenberg plugin is installed and activated, is displayed for all user capability type.

默认情况下,尝试仅在WordPress 4.9.8中为具有管理员功能的用户显示Gutenberg,但在安装并激活了Gutenberg插件后,将为所有用户功能类型显示。

An option configuration page is added to the settings -> writing menu so that you can set the callout display according to your needs.

选项配置页被添加到设置->编写菜单中,以便您可以根据需要设置标注显示。

Stick to the screenshots for more details.

坚持截图以获取更多详细信息。

Tips

提示

A neat trick, is to put this single file dismiss-gutenberg-nag.php (not its parent directory) in the /wp-content/mu-plugins/ directory (create it if not exists) so you won't

一个巧妙的技巧是将单个文件dismiss-gutenberg-nag.php(而不是其父目录)放在/ wp-content / mu-plugins /目录中(如果不存在则创建它),因此您不会

even have to enable it, and will be loaded by default, also, since first step installation of WordPress setup!

自从第一步安装WordPress安装程序以来,甚至都必须启用它,并且默认情况下也会将其加载!

Explanation

说明

This, is different from the other similar plugins, because uses the filter hook, and not the action hook.

这与其他类似的插件不同,因为使用过滤器挂钩,而不是操作挂钩。

Filters should filter information, thus receiving information/data, applying the filter and returning information/data, and then used.

过滤器应过滤信息,从而接收信息/数据,应用过滤器并返回信息/数据,然后再使用。

However, filters are still action hooks.

但是,过滤器仍然是动作挂钩。

WordPress defines add_filteremove_filter as “hooks a function to a specific filter action”, and add_actionemove_action as “hooks a function on to a specific action”.

WordPress将add_filter / remove_filter定义为“将函数绑定到特定的过滤器动作”,将add_action / remove_action定义为“将函数附加到特定的动作”。

What is Gutenberg?

什么是古腾堡?

Gutenberg is new block editor editing experience for WordPress 5.0+

古腾堡是WordPress 5.0+的新块编辑器编辑体验

About it

关于它

The code of this plugin, is not written with a php framework, but with a simple php editor, manually, compatible UTF-8 without BOM, and Unix LF.

此插件的代码不是使用php框架编写的,而是使用简单的php编辑器,手动,兼容的UTF-8(不带BOM)和Unix LF编写的。

To avoid code corruption, do not edit it with WordPress embedded editor, or with any specifications incompatible editor.

为避免代码损坏,请勿使用WordPress嵌入式编辑器或任何不兼容规范的编辑器对其进行编辑。

Translation

翻译

Translated by: Luciano Croce

译者:卢西亚诺·克罗齐

This is a stable project, but it is still in full development (in progress).

这是一个稳定的项目,但仍在全面开发中(正在进行中)。

The translations in the various languages will be done only for all the parts that certainly will not be changed several times in this phase.

仅针对在此阶段肯定不会多次更改的所有部分完成各种语言的翻译。

Available soon in: American, Australian, Belgian FR, Brazilian, Canadian EN, Canadian FR, Catalan, Chilean, Colombian, English, French, German, Italian, New Zealander, Peruvian, Portuguese, Spanish, Swiss DE, Venezuelan,

即将推出:美国,澳大利亚,比利时FR,巴西,加拿大EN,加拿大FR,加泰罗尼亚语,智利,哥伦比亚,英语,法语,德语,意大利语,新西兰人,秘鲁,葡萄牙语,西班牙语,瑞士DE,委内瑞拉,

and more other languages in becoming.

以及更多其他语言。

Acknowledgements

致谢

Thanks to Andrea Gandino for preliminary Andrea Gandino 获得初步的

org/locale/it/default/wp-plugins/dismiss-gutenberg-nag/" rel="nofollow">Italian translation approval, before I became italian PTE of my plugins.

org / locale / it / default / wp-plugins / dismiss-gutenberg-nag /“ rel =” nofollow“>意大利语的翻译批准,然后才成为我的插件的意大利语PTE。

Thanks to Garrett Hyder for Garrett Hyder 对于

.org/locale/en-ca/default/wp-plugins/dismiss-gutenberg-nag/" rel="nofollow">English (Canada) translation approval, and code contributions.

.org / locale / en-ca / default / wp-plugins / dismiss-gutenberg-nag /“ rel =” nofollow“>英语(加拿大)的翻译许可和代码贡献。

Thanks to Pascal Birchler for code contributions.

感谢 Pascal Birchler 的代码贡献。

下载地址
https://downloads.wordpress.org/plugin/dismiss-gutenberg-nag.zip
-EOF-

AI助手支持GPT4.0