
內容簡介
這個外掛記錄了實際發佈文章的使用者,因為在多位作者的環境中,原始作者不一定是發佈文章的人。這有助於確保發佈文章的責任歸屬於誰。
管理員的文章列表會新增一欄「發佈者 (Published By)」,顯示發佈文章的人的名稱(僅限已經發佈的文章)。管理員文章列表上方的下拉式選單可以依照特定的發佈人篩選文章(但僅限已知的發佈人文章)。
對於安裝這個外掛之前就已經發佈的文章,本外掛會嘗試猜測並推測誰是發佈人,若無法從外掛記錄中找到發佈人,外掛會檢查誰最後編輯了文章,最後修訂的使用者是誰,然後會推測是原始作者。在推測發佈人的這個過程中,如果外掛必須進行過推測,那麼它推測為發佈人的人名會以斜體字加上問號顯示。如果你不想讓外掛猜測發佈人,你可以加入下列程式碼到你的主題 functions.php 檔案中(或是特定網站的 mu-plugin 檔案):
<?php add_filter( 'c2c_published_by_skip_guessing', '__return_true' ); ?>
連結:插件首頁 | 插件目錄頁 | GitHub | 作者首頁
外掛標籤
開發者團隊
原文外掛簡介
This plugin records which user actually published a post, which in a multi-author environment may not always be the original post author. This helps to maintain accountability for who was ultimately responsible for a post appearing live on a site.
The admin listing of posts is amended with a new “Published By” column that shows the name of the person who published the post (for those posts that have actually been published). A dropdown above admin post listings allows for the listing to be filtered by a particular publishing user (but only includes posts with a known publishing user).
For posts that were published prior to the use of this plugin (and thus the plugin could not directly record who published those posts), the plugin makes a best guess attempt to ascertain who published the post. After failing to find the publisher of the post as recorded by the plugin, it checks for who last edited the post, then who is responsible for the latest revision of the post, and finally failing those, it assumes it was the post author. In cases where it had to go through this process, the name of the person it deduced as the likely publisher appears italicized and with a question mark at the end. If you’d rather the plugin not make an attempt to guess the publisher, you can disable the checks by including this snippet in your theme’s functions.php (or, ideally, a site-specific mu-plugin):
Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage
