WordPress.com edit post redirects

Redirects the new post page to the classic post page

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
tPenguinLTG
今日安裝
0
安裝總數
189
評價
2 0 0
版本
1.6.0
建立日期
2015-03-13
更新日期
2020-10-03
尺寸
4.6 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
  • The redirection will likely fail on Jetpack-enabled sites whose site root is different from its installation root (e.g. the site is accessed from http://example.com/, but the installation root is http://example.com/wordpress/).

Other workarounds

If you don't like this script or can't use it for any reason, there are other workarounds available.

Changelog

  • v1.6.0: Update for new block editor redirect on old classic editor URLs. Also clean up code.
  • v1.5.0: Update for a slight restructuring in the editor page. This only affects the fallback attempt.
  • v1.4.0: Update for new editor
  • v1.3.1: Fix new post redirection for default blog
  • v1.3.0: Fix new post redirection for private and Jetpack-enabled blogs
  • v1.2.3: Code cleanup and documentation
  • v1.2.2: Fixed redirection for private and Jetpack-enabled blogs
  • v1.2.1: Remove testing code that prevented redirection
  • v1.2.0: Add redirect for unattached post editing
  • v1.1.0: Add support for editing pages
  • v1.0.2: Reduce to single regex call
  • v1.0.1: Change updateURL to point to GitHub source
  • v1.0.0: Initial release