| User | Post |
|
11:35 am February 13, 2010
| metal450
Member
| | | |
|
| posts 178 |
|
|
When editing a post, I noticed that toggling some of the checkboxes under "eligible groups" for "readers" also toggles the checkboxes for some of my categories.
For instance, I've got a group "Level 1″ and a category "Europe". Whenever I check or uncheck "Level 1″ (for readers), the Europe category also toggles its check value. The inverse is not true - when I check the Europe category, Level 1 is not effected.
I observed this under both FF and IE.
|
|
|
9:54 pm February 13, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
metal450 said:
When editing a post, I noticed that toggling some of the checkboxes under "eligible groups" for "readers" also toggles the checkboxes for some of my categories.
It's not just the groups checkboxes, and not just in the Readers metabox. The same thing happens with the user checkboxes inside the Contributors metabox. The correlation is a "value" attribute that matches that of a category checkbox. That's not supposed to be treated as a unique ID in itself, since in this case it only distinguishes among the members of a checkbox array - post_category[] or r1g[].
I don't like to speculatively pass the buck before I'm sure. But this occurs even if I disable all other plugins and all Role Scoper Javascript. It sure looks like WordPress is inserting some errant JQuery that hooks onto the click event of any checkbox array, rather than just the post_category checkbox array. My guess is it just went unnoticed because there aren't any other checkbox arrays present on the default Edit Post form or inserted there by many plugins.
I plan to look into this more on Monday, but if you're in a hurry to get it resolved you might get farther with someone who really knows the WP JQuery code.
|
|
|
9:58 pm February 13, 2010
| metal450
Member
| | | |
|
| posts 178 |
|
|
Nah, not at all a biggie - I just thought I'd mention it in case you were unaware
|
|
|
10:03 pm February 13, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
metal450 said:
Nah, not at all a biggie - I just thought I'd mention it in case you were unaware 
I was unaware, and I'm glad you mentioned it. It could be a major issue on sites that use Category Restrictions / Roles.
|
|
|
10:05 pm February 13, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
By the way, another reason I'm thinking WP bug is that on my first brief trial run the symptom occurs with WP 2.9.1 + RS 1.0.8, but not with WP 2.8.5 + current RS.
|
|
|
9:16 am February 16, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
This did turn out to be a bug in the wp-admin javascript - described here.
|
|
|
9:19 am February 16, 2010
| metal450
Member
| | | |
|
| posts 178 |
|
|
Yep - I'm subscribed to your feed
Yay, I'm a faithful participant!
Kudos on finding it…hopefully WP will get it cleaned up quickly.
|
|