[wp-trac] [WordPress Trac] #38067: New filter `wp_post_lock_status`

WordPress Trac noreply at wordpress.org
Thu Sep 15 13:23:38 UTC 2016


#38067: New filter `wp_post_lock_status`
-------------------------------+-----------------------------
 Reporter:  sebastian.pisula   |      Owner:
     Type:  feature request    |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 I have wp with one account for 5 people, employees. We make websites so 5
 accounts for each website -> waste of time and difficult to maintain. We
 have big problem - if somebody edit page and I start edit the same page we
 have conficts and overwrite own changes. I can't see notice about that
 somebody edit this page because we use one account. My best idea! When
 user is logged in i create new cookie:
 `wordpress_logged_in_unique_COOKIEHASH` with unique hash -> user agent +
 wp_generate_password().


 I save user hash if `_edit_lock_hash` was saved.

 So I can't check that post is locked or. So I write filter for return
 value of wp_check_post_lock() and... this work!

 I suggest add this filter (idea) to core or show me other way to resolve
 my problem.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38067>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list