Opened 11 years ago
Closed 10 years ago
#14385 closed enhancement (fixed)
Allow flagging of a blog as mature via a URL
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Administration | Keywords: | needs-refresh |
Focuses: | Cc: |
Description (last modified by )
Add matureblog
and unmatureblog
actions to ms-edit.php
so you can "one" click mark a blog as mature.
The option isn't listed by default on the "Sites" listing, but it can be used elsewhere.
Attachments (3)
Change History (13)
#1
follow-up:
↓ 3
@
11 years ago
These were actually removed from a patch written by ocean90 and committed by me, I think. My points at the time, IIRC:
- They didn't exist as action links in MU.
- Of the action links, IMO they would be the least used and least useful, and just take up space, and as it was there were plenty of action links there.
- "Mature" means absolutely nothing in MS by default, if I'm not mistaken. It does nothing beyond flip a bit. It's up to the network to then implement it. (See also point 2.)
- If a plugin can't implement this, then we should be sure the proper hooks in place are there.
Your thoughts? I honestly don't care either way, but I didn't see it as something needing an action link.
#2
@
11 years ago
- Milestone changed from Awaiting Review to 3.1
Fail.
Completely missed that all this patch did was add the backend handler, not any action links.
+1.
#3
in reply to:
↑ 1
@
11 years ago
Replying to nacin:
My points at the time, IIRC:
I'm not suggesting adding the UI for this anywhere. It is indeed a low used feature and most sites won't use it. No need to clutter.
However even if I used a plugin to add such a link below the blog's name on the Sites screen, it wouldn't do anything as there's no such action in the POST handling script. I'd have to write a whole custom GET string, handler, etc. This simple patch just adds the handler.
#5
@
11 years ago
I noticed that the spam/unspam actions don't have hooks like the other actions do, so I added some to them as well as my new mature actions.
@
11 years ago
Mature/unmature actions and add hooks to them as well as the spam actions (the other actions already have their own hooks)
#6
@
10 years ago
Move actions to update_blog_status(). It already has make_spam_blog and make_ham_blog.
#7
@
10 years ago
- Keywords needs-refresh added; has-patch needs-testing removed
Needs refresh per ryan's guidance.
#8
follow-up:
↓ 9
@
10 years ago
Hmmm, I know everyone seems signed off on this but I really do believe this is plugin territory. In fact, I already see mature in the list of blog stati on line 515 of wp-admin/ms-blogs.php. Not sure why that would or should be there, considering. Can we just filter the array of blog_statuses, and add an action before the return at the end of the update_blog_status() function.
Happy to write that patch.
#9
in reply to:
↑ 8
@
10 years ago
Replying to technosailor:
Hmmm, I know everyone seems signed off on this but I really do believe this is plugin territory.
I made the same assumption you did. No UI here, just POSt handling that can be utilized.
Add mature/unmature actions and do some minor formatting cleanup