Notes |
|
(0005159)
|
mhixson
|
04-05-11 20:38
|
|
This sounds like a problem I encountered. Do you mean that in the admin dashboard, in the table list view of posts, you don't see Edit links? I had to modify /wp-includes/post.php. In the "get_post_types" function just above the return statement, I added:
// Without this line, $wp_post_types gets mangled.
// Why? Good question - I don't know.
if (count($args) == 0) $args[0] = null;
However I was using Resin 4.0.16 so this may be unrelated. |
|
|
(0005160)
|
chiefgeek
|
04-06-11 04:03
|
|
Yes I am talking about the edit links on the admin page (only link available is view).
I tried resin 4.0.16 with same results.
If I downgrade wordpress to 3.0.5 the edit links re-appear.
The fix suggested by mhixson worked. |
|
|
(0005167)
|
mhixson
|
04-06-11 13:45
|
|
Actually, I've since changed that line to:
if (count($args) == 0) $args["show_ui"] = true;
Without that, the Pages screen in the admin dashboard shows Posts instead of Pages. |
|
|
(0005193)
|
chiefgeek
|
04-13-11 07:00
|
|
This make the edit option re-appear for me. :)
If I enable the "All in one SEO plugin" I get "Invalid post_type" any time I try to view posts in the admin tool.
|
|