跳到内容

Published By

v1.3

Scott Reilly · 2014年4月1日 上架

Track which user actually published a post, separate from who created the post. Display that info as a column in admin post listings.

正在使用
50+
评分
5.0 / 5
累计下载
4,458
最近更新
2018年6月11日
1 条评价需要 WordPress 4.6+已测试到 4.9.36

贡献者

截图

A screenshot of the admin post listing showing the added "Published By" column. It demonstrates the mix of a post puublished by the current user, a post poblished by another user and two posts that existed before the plugin was activated (one guessed to be published by the current user and one guessed to be published by yet another user).
A screenshot of the admin post listing showing the added "Published By" column. It demonstrates the mix of a post puublished by the current user, a post poblished by another user and two posts that existed before the plugin was activated (one guessed to be published by the current user and one guessed to be published by yet another user).
A screenshot of the Publish metabox for a published post showing the current user who published the post.
A screenshot of the Publish metabox for a published post showing the current user who published the post.
A screenshot of the Publish metabox for a published post showing another user who published the post.
A screenshot of the Publish metabox for a published post showing another user who published the post.

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):

<?php add_filter( 'c2c_published_by_skip_guessing', '__return_true' ); ?>

Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums