add_quickedit_column.php
add_action( 'quick_edit_custom_box', 'display_custom_quickedit_featured', 10, 2 );
function display_custom_quickedit_featured( $column_name, $post_type ) {
static $printNonce = TRUE;
if ( $printNonce ) {
$printNonce = FALSE;
wp_nonce_field( plugin_basename( __FILE__ ), 'post_edit_nonce' );
}
?>
This file has been truncated. show original
admin_edit.js
(function($) {
// we create a copy of the WP inline edit post function
var $wp_inline_edit = inlineEditPost.edit;
// and then we overwrite the function with our own code
inlineEditPost.edit = function( id ) {
// "call" the original WP edit function
// we don't want to leave WordPress hanging
This file has been truncated. show original