[wp-meta] [Making WordPress.org] #5535: Allow moving threads into the Plugin/Theme support forums

Making WordPress.org noreply at wordpress.org
Fri Jan 21 13:13:20 UTC 2022


#5535: Allow moving threads into the Plugin/Theme support forums
----------------------------+---------------------
 Reporter:  dd32            |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:
Component:  Support Forums  |  Resolution:
 Keywords:                  |
----------------------------+---------------------

Comment (by Clorith):

 [attachment:"5535.patch"] is my idea for a quick and easy implementation
 of this. It provides a text field when someone with `moderate`
 capabilities, on the global forums, edits a topic. The text field expects
 a URL to a plugin or theme page on WordPress.org, in the format of
 `wordpress.org/(plugins|themes)/(slug)`, and uses that to match for, and
 switch to, the applicable slug.

 It also includes an example placeholder URL to help guide those using the
 field, ''and'' a helpful field descriptor detailing it as well.

 the theme or plugin relationship will only be updated if the field has a
 value, and the regex matches. It's slightly WIP in that I've not added any
 error message to it yet, curious if there should be a check for a valid
 slug before switching to them, or if the idea behind copy-pasting is
 enough here as well?

 And what kind of error would be helpful if the URL isn't valid and does
 not match the regex pattern?

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5535#comment:5>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list