Skip to:
Content

bbPress.org

Opened 16 years ago

Closed 15 years ago

#1409 closed task (blessed) (fixed)

Metaboxes needed for anonymous user information

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by:
Milestone: 2.0 Priority: high
Severity: normal Version:
Component: General - Administration Keywords: has-patch
Cc:

Description

When in wp-admin, editing a topic or reply, that was created by an anonymous user, we need to be able to edit the anonymous user information in those boxes.

Attachments (3)

1409.diff (3.2 KB) - added by anthonycole 15 years ago.
1409-2.diff (4.0 KB) - added by anthonycole 15 years ago.
anonymous-metabox.diff (7.9 KB) - added by GautamGupta 15 years ago.

Download all attachments as: .zip

Change History (8)

@anthonycole
15 years ago

#1 @anthonycole
15 years ago

  • Keywords has-patch added

I've added a patch - a few things were kind of open-ended here, so I've tried to account for them as best as possible.

  1. Registering a meta box conditionally was tricky - so I've grabbed the post ID directly from the GET query to do the check and casted it to make sure it's an integer. I had to register the meta box twice because you can't have an array for the argument in add_meta_box that accepts the post type.
  1. I left the ability to edit everything but the IP and just displayed it instead. Don't think we want users doing that.

@anthonycole
15 years ago

#2 @anthonycole
15 years ago

Fixed up a bunch of bugs in my first patch with the second one - phpDoc, and adding the www field in etc.

#3 @GautamGupta
15 years ago

Attached another patch.

#4 @GautamGupta
15 years ago

  • Component changed from Back-end to Administration

#5 @johnjamesjacoby
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [2828]) Add anonymous user data editing ability to topics and replies. Fixes #1409. Props GautamGupta

Note: See TracTickets for help on using tickets.