sunrosea
Forum Replies Created
-
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Re-arranging columns bugI’m using the latest Firefox.
As you can see in the .gif as well, when dragging the column A it creates an odd spacing between it and the rest of the columns. It only happens with the first column.
Another .gif: https://i.imgur.com/ZFrpNwf.gifMight have something to do with that?
Hi!
I deactivated all plugins except for the tablepress one and it gave the same error.
I still think it seems to have something to do with re-arranging the columns as it only happens when I do that.What I do is:
1. Move column B in front of Column A.
2. Press Save, which works fine.
3. Move Column B, again, in front of Column A.
4. Press Save, works fine again.
5. Move Column A this time behind column B.
6. Press Save, the error occurs.I don’t have to enter any new information into the table. All I do is re-arrange the columns, and so far, it seems to only create this specific error when column A tries to go backwards, but not when any other column goes forward.
Also I posted a new post about a (seemingly different) bug that seems to happen with re-arranging columns you might want to have a look at.
- This reply was modified 6 years, 4 months ago by sunrosea.
I’d just like to mention quickly that the problem seem to appear when re-arranging the order of columns and then trying to save the new order.
Otherwise it seems to save everything else just fine.- This reply was modified 6 years, 4 months ago by sunrosea.
Forum: Plugins
In reply to: [WP Frontpage News] I cant embed the shortcodeHaving the same problem. Sad to see there hasn’t been any answer from the developer for 3 months here.
Forum: Hacks
In reply to: filtering edit-comments.php from text inputThe reason I wanted to do that is, if I have a lot of users, and only have a drop down list, then that drop down list will be quite huge. And so I thought it’d be better with an input field.
Anyways, I figured it out if anyone else is interested.I did it like this in my functions.php file:
add_action('restrict_manage_comments', 'author_filter_2'); function author_filter_2() { echo '<input type="text" name="user_id" value=""/>'; } add_action('pre_get_comments', 'before_comments'); function before_comments($clauses){ if(is_admin()&&isset($_GET['user_id'])){ $user= get_userdatabylogin($_GET['user_id']); $clauses->query_vars['user_id'] = $user->ID; } return $clauses; }