WordPress.com edit post redirects

Redirects the new post page to the classic post page

当前为 2015-03-19 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
tPenguinLTG
评分
0 0 0
版本
1.2.0
创建于
2015-03-13
更新于
2015-03-19
大小
2.3 KB
许可证
MPLv2.0
适用于

wpcom-edit-post-redirect.user.js

WordPress.com has removed the preference to edit posts using the classic interface. This user script forces a redirect to the classic interface when the new edit interface is visited.

Installation

If you don't already have one, install a browser extension that allows you to run user scripts. Then, visit the URL below:

https://github.com/tpenguinltg/wpcom-edit-post-redirect.user.js/raw/master/wpcom-edit-post-redirect.user.js

Also on Greasy Fork.

Known Issues

  • The new interface will sometimes start loading and appear before the redirect occurs

    • For unattached post editing (i.e. editing a new post without first specifiying a blog; accessed from https://wordpress.com/post), the new editor will load completely before being redirected.
  • The redirection will likely fail if the site root is different from the installation root for Jetpack-enabled sites.

    e.g. the site is accessed from http://example.com/, but the installation root is http://example.com/wordpress/.

Changelog

  • v1.0.0: Initial release
  • v1.0.1: Change updateURL to point to GitHub source
  • v1.0.2: Reduce to single regex call
  • v1.1.0: Add support for editing pages
  • v1.2.0: Add redirect for unattached post editing