<?phpadd_action('post_submitbox_minor_actions','w_post_submitbox_minor_actions');functionw_post_submitbox_minor_actions($post){ob_start();}add_action('post_submitbox_misc_actions','w_post_submitbox_misc_actions');functionw_post_submitbox_misc_actions($post){$temp=ob_get_clean();$hidden_sticky='<input type="checkbox" style="display:none" name="hidden_post_sticky" id="hidden-post-sticky" value="sticky" '.checked(is_sticky($post->ID),true,false).' />';$sticky_box=sprintf('<span id="sticky-span"><input id="super-sticky" name="sticky" type="checkbox" value="sticky" %1$s /> <label for="super-sticky" class="selectit">%2$s</label><br/></span>',checked(is_sticky($post->ID),true,false),__('Stick this post to the front page'));$re='/(<input.*id="visibility-radio-password")/U';$output=preg_replace($re,"{$mb}$1",$temp);echo$output;}