Confirm Publishing Actions Plugin

özgür koca, ensei tankado, okocaözgür koca

Confirm Publishing Actions 1.0, wordpress plugin, install Confirm Publishing Actions, download Confirm Publishing Actions, confirm, Confirmation, delete, publish, quickpress, submit, translation-ready, update

Confirm Publishing Actions is a WordPress plugin that prompts a user to click a confirm (or cancel) button whenever he is trying to submit, publish, update or delete a WordPress post. Simple, lightweight, customizable and translation-ready.

Once activated, the plugin will intercept publishing actions on the following admin pages: post.php, edit-post.php, edit.php and index.php (QuickPress dashboard widget).

Download Confirm Publishing Actions Plugin

LATEST VERSION

Confirm Publishing Actions is a WordPress plugin that prompts a user to click a confirm (or ca…

Living up to the latest WordPress coding standards, this plugin requires WordPress version 3.1 or higher.

Features in version 1.0 include:

  • Localization support
Author:
Tags: , , , , , , ,

Screenshots

  1. confirm-publishing-actions screenshot 1

    Example of a confirmation dialogue.

Installation of Confirm Publishing Actions

  1. Unzip the download package
  2. Upload the folder including all files and sub directories to the /wp-content/plugins/ directory.
  3. Activate the plugin through the WordPress Plugins menu
  4. Done!

F.A.Q

Where is the settings page?

There are currently no settings to configure, however with a little php magic you’ll be able to do some customization (see below in this FAQ).

If you think an administration panel is absolutely necessary for this plugin, please submit a feature request on the plugin homepage.

How do I change the text of the dialogue?

You can use the plugin (or any other translation tool) to modify the default text.

How do I translate `%1$s`? What does it mean?

%1$s

is a placeholder that represents the singular name of a WordPress post type. You don’t need to translate it, just copy and use it exactly as is.

How do I change the look and feel of the dialog box?

You’ll have to wait until the next release.

How can I disable plugin functionality for the QuickPress widget?

Paste the following code snippet in the functions.php file of your WordPress theme:

function cpa_qp_dequeue( $hook )
{
    if ( is_plugin_active( 'cpa/cpa.php' ) && class_exists( 'CPA_Confirm_Publishing_Actions' ) )
    {
        if( 'index.php' != $hook )
                return;
        wp_dequeue_script( 'cpa' );
    }
    return;
}
add_action( 'admin_enqueue_scripts', 'cpa_qp_dequeue' );

How can I limit plugin functionality to a specific post type?

With get_post_type(), a native WordPress function, you can enable or disable plugin functionality for specific post types (such as post, page, or any other post type). For example, to disable functionality for ‘Pages’, paste the following code snippet in the functions.php file of your WordPress theme:

function cpa_pt_dequeue( $type )
{
    if ( is_plugin_active( 'cpa/cpa.php' ) && class_exists( 'CPA_Confirm_Publishing_Actions' ) )
    {
        global $post;
        $type = get_post_type( $post );
        if( 'page' != $type )
            return;
            wp_dequeue_script( 'cpa' );
    }
    return;
}
add_action( 'admin_enqueue_scripts', 'cpa_pt_dequeue' );

How can I limit plugin functionality to selected user roles?

With current_user_can(), a native WordPress function, you can enable or disable functionality for specific user roles, based on the capabilities assigned to them. For example, to disable functionality for admins only, paste the following code snippet in the functions.php file of your WordPress theme:

function cpa_cap_dequeue()
{
    if ( is_plugin_active( 'cpa/cpa.php' ) && class_exists( 'CPA_Confirm_Publishing_Actions' ) )
    {
        if( ! current_user_can( 'manage_options' ) )
                return;
        wp_dequeue_script( 'cpa' );
    }
    return;
}
add_action( 'admin_enqueue_scripts', 'cpa_cap_dequeue' );

Changelog

1.0

  • Initial release

Other Notes

Other Notes

License

The Confirm Publishing Actions plugin for WordPress is released under GPLv2, you can use it free of charge on your personal or commercial blog.

Support

Visit the or find support at the .

Donate

If you like the Confirm Publishing Actions plugin and use it lot, please consider making a . Thanks!

incoming search terms: confirm install (15)

Tags: , , , , , , , , , , ,

Leave a comment