Title: cojennin's Replies | WordPress.org

---

# cojennin

  [  ](https://wordpress.org/support/users/comradefuzz/)

 *   [Profile](https://wordpress.org/support/users/comradefuzz/)
 *   [Topics Started](https://wordpress.org/support/users/comradefuzz/topics/)
 *   [Replies Created](https://wordpress.org/support/users/comradefuzz/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/comradefuzz/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/comradefuzz/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/comradefuzz/engagements/)
 *   [Favorites](https://wordpress.org/support/users/comradefuzz/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 193 total)

1 [2](https://wordpress.org/support/users/comradefuzz/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/comradefuzz/replies/page/3/?output_format=md)…
[11](https://wordpress.org/support/users/comradefuzz/replies/page/11/?output_format=md)
[12](https://wordpress.org/support/users/comradefuzz/replies/page/12/?output_format=md)
[13](https://wordpress.org/support/users/comradefuzz/replies/page/13/?output_format=md)
[→](https://wordpress.org/support/users/comradefuzz/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edit Flow] It is possible to block a user on editing base on custom status](https://wordpress.org/support/topic/it-is-possible-to-block-a-user-in-editing-base-on-customstatus/)
 *  [cojennin](https://wordpress.org/support/users/comradefuzz/)
 * (@comradefuzz)
 * [6 years ago](https://wordpress.org/support/topic/it-is-possible-to-block-a-user-in-editing-base-on-customstatus/#post-12781050)
 * Hello,
 * There are a few example on the web about how to prevent editing a post while 
   the post meets certain conditions. Adding the following snippet to your functions.
   php file would prevent posts from being edited by non-admins when the post has
   the status “pitch”.
 *     ```
       function restrict_editing_by_status( $allcaps, $cap, $args ) {
   
           if( 'edit_post' != $args[0] && 'delete_post' != $args[0]
             || !empty( $allcaps['manage_options'] ) // don't restrict if the user can manage options
       	  || empty( $allcaps['edit_posts'] ) // the user already can't edit post
       	) { 
       		return $allcaps;
       	}
   
       	$post = get_post( $args[2] );
   
       	// If the post status is pitch
       	if ( $post->post_status === 'pitch' ) {
       		$allcaps[$cap[0]] = false;
       	}
   
           return $allcaps;
       }
   
       add_filter( 'user_has_cap', 'restrict_editing_by_status', 10, 3 );
       ```
   
 * Thanks!
    Connor
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edit Flow] Showing scheduled posts on editorial calendar](https://wordpress.org/support/topic/showing-scheduled-posts-on-editorial-calendar/)
 *  [cojennin](https://wordpress.org/support/users/comradefuzz/)
 * (@comradefuzz)
 * [6 years ago](https://wordpress.org/support/topic/showing-scheduled-posts-on-editorial-calendar/#post-12781007)
 * The functionality to support this has been [merged into Edit Flow]([https://github.com/Automattic/Edit-Flow/pull/614](https://github.com/Automattic/Edit-Flow/pull/614))
   and should be included with the next release.
 * Thanks!
    Connor
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edit Flow] “Status” column missing in ALL POSTS view](https://wordpress.org/support/topic/status-column-missing-in-all-posts-view/)
 *  [cojennin](https://wordpress.org/support/users/comradefuzz/)
 * (@comradefuzz)
 * [6 years ago](https://wordpress.org/support/topic/status-column-missing-in-all-posts-view/#post-12766378)
 * [I’ve taken a screenshot](https://imgur.com/a/lZJiuiS) of a WordPress installation
   with no other plugins and the default twenty twenty theme.
 * Could you please try disabling your other plugins, and if possible reverting 
   to a default theme like twenty twenty and let me know if the post statuses are
   still hidden?
 * Can you also provide a screenshot of what you’re seeing?
 * Thanks,
    Connor
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edit Flow] Issue with Draft Posts on hovering Save Button](https://wordpress.org/support/topic/issue-with-draft-posts-on-hovering-save-button/)
 *  [cojennin](https://wordpress.org/support/users/comradefuzz/)
 * (@comradefuzz)
 * [6 years ago](https://wordpress.org/support/topic/issue-with-draft-posts-on-hovering-save-button/#post-12741375)
 * Hello,
 * A new version of Edit Flow (0.9.6) has been released and contains these changes.
   Let us know if you encounter any issues.
 * Thanks!
    -Connor
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edit Flow] Issue with Draft Posts on hovering Save Button](https://wordpress.org/support/topic/issue-with-draft-posts-on-hovering-save-button/)
 *  [cojennin](https://wordpress.org/support/users/comradefuzz/)
 * (@comradefuzz)
 * [6 years ago](https://wordpress.org/support/topic/issue-with-draft-posts-on-hovering-save-button/#post-12724143)
 * Thanks, this helped! I was able to confirm the issue.
 * If possible, could you try running the `master` branch of [https://github.com/Automattic/Edit-Flow/](https://github.com/Automattic/Edit-Flow/)
   and see if that fixes the issue? I’ve just merged a change that I think will 
   fix the problem.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edit Flow] Issue with Draft Posts on hovering Save Button](https://wordpress.org/support/topic/issue-with-draft-posts-on-hovering-save-button/)
 *  [cojennin](https://wordpress.org/support/users/comradefuzz/)
 * (@comradefuzz)
 * [6 years ago](https://wordpress.org/support/topic/issue-with-draft-posts-on-hovering-save-button/#post-12720423)
 * Hello, thanks for providing this information!
 * Have you tried activating Edit Flow on a fresh WordPress installation to see 
   if this error still occurs?
 * If possible, could you provide a screencapture of the error you’re seeing? And
   also, could you copy the contents of the dev console error and any other messages
   you’re seeing here?
 * If you can, adding `define('SCRIPT_DEBUG', true);` to `wp-config.php` might provide
   a clearer error message.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edit Flow] Parent Pages in Permalink Twice for Draft Posts](https://wordpress.org/support/topic/parent-pages-in-permalink-twice-for-draft-posts/)
 *  [cojennin](https://wordpress.org/support/users/comradefuzz/)
 * (@comradefuzz)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/parent-pages-in-permalink-twice-for-draft-posts/#post-12645462)
 * Just following up, Edit Flow 0.9.5 has been released with this fix.
 * Thanks!
    -Connor
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edit Flow] Parent Pages in Permalink Twice for Draft Posts](https://wordpress.org/support/topic/parent-pages-in-permalink-twice-for-draft-posts/)
 *  [cojennin](https://wordpress.org/support/users/comradefuzz/)
 * (@comradefuzz)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/parent-pages-in-permalink-twice-for-draft-posts/#post-12617109)
 * This should be fixed in the next version of Edit Flow. If possible, it would 
   be great to have folks test this behavior to confirm it’s been fixed using the
   [master branch on Github](https://github.com/Automattic/Edit-Flow). We should
   have a new version of Edit Flow on wordpress.org within a few days.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edit Flow] Cannot receive notification email after changing WordPress email setting to SMTP](https://wordpress.org/support/topic/cannot-receive-notification-email-after-changing-wordpress-email-setting-to-smtp/)
 *  [cojennin](https://wordpress.org/support/users/comradefuzz/)
 * (@comradefuzz)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/cannot-receive-notification-email-after-changing-wordpress-email-setting-to-smtp/#post-12554500)
 * Edit Flow uses the core `wp_mail` function to send email. Have you checked your
   spam folder or are you able to provide any logging that would indicate what’s
   causing this behavior?
 * Thanks,
    Connor
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edit Flow] with use acf not work](https://wordpress.org/support/topic/with-use-acf-not-work/)
 *  [cojennin](https://wordpress.org/support/users/comradefuzz/)
 * (@comradefuzz)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/with-use-acf-not-work/#post-12554497)
 * Could you provide a screenshot or video of the behavior you’re encountering?
 * Thanks,
    Connor
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edit Flow] Blank section shown if no users selected.](https://wordpress.org/support/topic/blank-section-shown-if-no-users-selected/)
 *  [cojennin](https://wordpress.org/support/users/comradefuzz/)
 * (@comradefuzz)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/blank-section-shown-if-no-users-selected/#post-12554495)
 * Could you provide a screenshot or video of the behaviour you’re encountering?
 * Thanks,
    Connor
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edit Flow] “Status” column missing in ALL POSTS view](https://wordpress.org/support/topic/status-column-missing-in-all-posts-view/)
 *  [cojennin](https://wordpress.org/support/users/comradefuzz/)
 * (@comradefuzz)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/status-column-missing-in-all-posts-view/#post-12554492)
 * We removed the status column in favor of showing the statuses next to the post
   name. This brings it inline with the default WordPress behavior and makes it 
   easier to maintain.
 * Thanks,
    Connor
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edit Flow] Updating User](https://wordpress.org/support/topic/updating-user-2/)
 *  [cojennin](https://wordpress.org/support/users/comradefuzz/)
 * (@comradefuzz)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/updating-user-2/#post-12554488)
 * [@j3gaming](https://wordpress.org/support/users/j3gaming/) Could you provide 
   some more information on how you created the custom role? Did you use a plugin
   or create it using `add_role`? Also, what other plugins do you have active on
   your site?
 * Thanks,
    Connor
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edit Flow] status edit button disappearing](https://wordpress.org/support/topic/status-edit-button-disappearing/)
 *  [cojennin](https://wordpress.org/support/users/comradefuzz/)
 * (@comradefuzz)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/status-edit-button-disappearing/#post-12410410)
 * Apologies, we’ve been investigating this issue but have so far been unable to
   reproduce it.
 * We recently released a new version of Edit Flow, can you update your version 
   and let us know if that resolves the issue? In the meantime, we’ll continue to
   investigate.
 * Thanks,
    Connor
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edit Flow] Preview button not showing recent changes while editing](https://wordpress.org/support/topic/preview-button-not-showing-recent-changes-while-editing/)
 *  [cojennin](https://wordpress.org/support/users/comradefuzz/)
 * (@comradefuzz)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/preview-button-not-showing-recent-changes-while-editing/#post-12410377)
 * Could you provide some more information about the issue you’re facing?
 * Are you using Gutenberg or the classic editor? What version of WordPress? And
   what is the published event? Is that from a plugin you’re using, or a custom 
   post type you’ve created?
 * Thanks,
    Connor

Viewing 15 replies - 1 through 15 (of 193 total)

1 [2](https://wordpress.org/support/users/comradefuzz/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/comradefuzz/replies/page/3/?output_format=md)…
[11](https://wordpress.org/support/users/comradefuzz/replies/page/11/?output_format=md)
[12](https://wordpress.org/support/users/comradefuzz/replies/page/12/?output_format=md)
[13](https://wordpress.org/support/users/comradefuzz/replies/page/13/?output_format=md)
[→](https://wordpress.org/support/users/comradefuzz/replies/page/2/?output_format=md)