Extended Post Status

설명

This plugin provides the option to add new statuses to the backend and define the system relevant status settings. You can add/edit statuses just as categories or tags. All statuses are available for all your post types.

You will find a new menu item located in the settings admin menu.

For the sake of understanding, this plugin minimally changes messages, translations and workflow in Gutenberg Editor!

스크린샷

  • The status overview page
  • Quick edit with custom statuses
  • The status options in the classic post editor
  • The status options in gutenberg editor

설치

  1. Upload to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use the new menu item Statuses in posts menu

FAQ

How does this plugin work?

As there is no core hook to add new items to the status dropdown in posts and in the quick edit view, js is required to achieve this. It is definently the most dirty way, but WP Core does not provide other ways to do it.

There is an open trac ticket fo this circumstance:
https://core.trac.wordpress.org/ticket/12706

What happens when I delete the plugin?

Since all custom statuses would no longer be available, deleting the plugin will reset all posts, pages etc. with an custom status to the draft status.
This step cannot be undone by reinstalling the plugin!
However, the plugin can be deactivated without any problems (see “What happens when I delete a status or deactivate the plugin?”).

What happens when I delete a status or deactivate the plugin?

Be careful, posts without a valid status will be hidden! Just change the status of your post with a custom status to a system status (e.g. publish or draft) before you delete a custom status or deactivate the plugin.
Your posts will never be deleted, but you need to know your old status slugs once you have deleted a status or deactivated the plugin to get your posts back.

Why is a hidden status still visible in dropdowns?

The “Hide in admin drop downs” option only hides the status if the current post doesn’t have the status. As long as your post has the hidden status, the drop down will still show it.

Why is my button no longer called publish in Gutenberg?

To avoid misunderstandings in handling with own custom statuses, the button has been named more generally and is now just called Save.
Likewise, the message that a post has been published has been renamed. This now only indicates that a post has been saved. The indicator whether a post is published or not should always be the status and not a message or button label.
Furthermore, the publishing sidebar of Gutenberg has been removed.

후기

2024년 9월 19일 답글 2개
Very straightforward plugin to set up, and probably worked great in the older days. But unfortunately it’s too glitchy to use with the latest Gutenberg editor. Custom statuses won’t show up the newly reworked post status pane (WP 6.6+), but do show up lower down in a separate pane. It also messes up the behavior of the Save/Update/Publish button in the editor to the point where I’m totally baffled about what it does anymore. For example, if you make a change to a DRAFT or PENDING post, there’s no longer an UPDATE button. There’s a SAVE button, but it behaves erratically—like automatically publishes things without warning. So I find it unfit for public use at this point.
2023년 5월 8일 답글 1개
It looks Taxonomy/Filter and Post Deactivation has some bug.Edit: It looks need to speak with Developer
2023년 5월 4일
I wasn’t able to achieve this functionality with my own coding, but this plugin does the job! It really helps smooth out a complicated workflow.
2022년 3월 21일 답글 1개
“just” a perfect plugin. I tried to put together the code for this feature myself, but some parts didn’t want to come together. I should have found this plugin first. thanks to the developer!
모든 11 평가 읽기

기여자 & 개발자

“Extended Post Status”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Extended Post Status”(이)가 3 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Extended Post Status”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.20

  • [Security] Check user capabilities in publishing process. (Thanks to TaeEun Lee)
    See: https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/extended-post-status/extended-post-status-1019-missing-authorization-via-wp-insert-post-data

1.0.19

  • [Fixed] Update handling of the javascript for disabling the publishing sidebar in Gutenberg

1.0.18

  • [Added] The publish button in Gutenberg and Classic Editor no longer contains publish but only save to prevent confusion
  • [Added] Remove the “two click” publishing sidebar in Gutenberg
  • [Added] Override post published message and replace it with general post saved message in Gutenberg

1.0.17

  • [Fixed] Status which were created by other plugins are no longer overwritten (Thanks to @ikancijan)
    See: https://wordpress.org/support/topic/fix-for-custom-statuses-by-other-plugins/
  • [Fixed] Add custom status meta box to gutenberg on all custom post types and not only for posts and pages
    See: https://wordpress.org/support/topic/public-not-working-for-listings/
  • [Fixed] Allow users with editing capabilities to see/preview posts with a non public status
    See: https://wordpress.org/support/topic/permalinks-further-issue/

1.0.16

  • [Fixed] If you delete the plugin, all posts, pages etc. with custom status will be reset to draft status.

1.0.15

  • [Fixed] PHP undefined indexes
  • [Fixed] Set default status to draft, if no status is selected.

1.0.14

  • [Fixed] Respect future status
  • [Fixed] Show planned (status future) posts in admin posts overview

1.0.13

  • [Fixed] Trashing posts inside the posts editor is not possible

1.0.12

  • [Fixed] PHP 7.4 access of non existing array object bug

1.0.11

  • [Fixed] Enable bulk editing of custom statuses.

1.0.10

  • [Added] Hide status in admin drop downs
  • [Fixed] Selected custom statuses will auto select other custom statuses in admin drop downs.

1.0.9

  • [Fixed] PHP error on accessing a non-object on admin menu page

1.0.8

  • [Added] Settings submenu item “Extended Post Status”
  • [Fixed] Quickedit custom status doesn’t show up
  • [Fixed] Non public posts won’t show up in admin “All” list
  • [Removed] Posts submenu item ‘Status’

1.0.7

  • [Fixed] Label of settings doesn’t work
  • [Fixed] PHP errors, wrong class declaration

1.0.6

  • [Fixed] PHP errors, wrong class declaration

1.0.5

  • [Fixed] New posts were saved as drafts instead of published
  • [Fixed] Translation errors

1.0.4

  • [Added] Settings section in “Settings > Wrtiting”

1.0.3

  • [Added] Support for all post types

1.0.2

  • [Added] Page and post count in status overview
  • [Fixed] Bug that removes all status settings when quickediting a status
  • [Fixed] Set slug length to max 20 chars because of posts status db field length

1.0.1

  • [Added] Page status support
  • [Fixed] Bug in displaying posts/pages in ‘all’ list

1.0.0

  • [Added] Initial version