[wp-trac] [WordPress Trac] #29999: update post overwrites slug if current_user is contributor

WordPress Trac noreply at wordpress.org
Thu Mar 7 21:30:46 UTC 2024


#29999: update post overwrites slug if current_user is contributor
------------------------------------+------------------------------
 Reporter:  jnhghy                  |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Posts, Post Types       |     Version:  4.0
 Severity:  minor                   |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------

Comment (by brookedot):

 The field has been hidden in the block editor in
 https://github.com/WordPress/gutenberg/pull/46361

 However, looking at this again, I am wondering if we should add a filter
 to allow contributors to edit the slug?

 In other words, a filter that allows the conditional to return `false`.

 Thoughts?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/29999#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list