WP Manifestindependent plugin directory
manifest / content / bea-post-status-admin

BEA Post status admin WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Handle the post status on the admin

★ 5stars
2.0.4latest · 4 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/beapi/bea-post-status-admin/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Registering post_status on WordPress does not display an interface for it. With this plugin you can display the new Post status to the admin interface and interact with it !

Usage


// Add post status
add_action( 'bea/psa/register', 'init_post_status' );
function init_post_status( $class ) {
    register_post_status( 'refused', array(
            'label'                     => 'Refused',
            'public'                    => true,
            'exclude_from_search'       => true,
            'show_in_admin_all_list'    => true,
            'show_in_admin_status_list' => true,
            'label_count'               => _n_noop( 'Refused <span class="count">(%s)</span>', 'Refused <span class="count">(%s)</span>' ),
        ) );

        // Add the post_status admin interface
        /**
            Here you can add the post status to a post type and choose the submit button text if you choose the 
            post_status on the select.
        */
        $class::register_status( 'refused', array( "post" ), 'Refuse the post' );

}```

Caution
==
In this plugin version, there is no checks on the user role or capabilities, so this just add the interface and that's it !

Releases

3 releases.

Tag
Published
2.0.4 latest
Aug 3, 2022 4 years ago
Nov 2, 2018 7 years ago
Jun 29, 2015 11 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

A grade

Security

BEA Post status admin 2.0.4 · audited by WP Registry

No security issues found.

Audited release
2.0.4
Findings
none
Worst severity
—
Content hash
c041ef8d791f0f49055ff1ca…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.