• Resolved Workshopshed

    (@workshopshed)


    The links options have disappeared from the admin menus and trying to visit the page directly /wp-admin/link-manager.php

    Reports the error:

    You do not have sufficient permissions to access this page.

    My user has the adminstrator role and could access links before upgrading from the to 3.5-RC1 (night of 21st Nov)

    Looking in the DB there is an option prefixwp_user_roles with a big long list of capabilities including “manage_links”.

    My user also has usermeta data

    prefixwp_capabilities a:1:{s:13:”administrator”;s:1:”1″;}
    prefiwp_user_level 10

    All the other menus seem to be there.

    Points to note: my database prefix has been configured, my admin user has been renamed.

    I downloaded the “Capability Manager Enhanced” plugin to have a look at my roles. The administrator role has all the boxes ticked.

    I also tried creating a new admin user with a different name but the problem occurs for that user too

Viewing 15 replies - 1 through 15 (of 20 total)
  • esmi

    (@esmi)

    No problems with Links and RC1 here. Are you using Twenty Twelve with no active plugins?

    Thread Starter Workshopshed

    (@workshopshed)

    I wasn’t but I am now.
    Problem persists.

    esmi

    (@esmi)

    Try re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress 3.5 RC1. Make sure that you delete the old copies of files & folder before uploading the new ones.

    Clayton James

    (@claytonjames)

    I’ve just managed to duplicate the symptom. I (automatically) upgraded from a test install of 3.4.2 to 3.5 RC1 using the WordPress Beta Tester plugin, and duplicated @workshopshed’s symptoms exactly.

    esmi

    (@esmi)

    I simply can’t replicate the problem. However, I did notice that my RC1 update today (using the WordPress Beta Tester plugin) took forever to download (I had to increase the max_execution_time in the server’s php.ini file to get it to download successfully). That’s why I’m wondering if the downloads are being corrupted or cut short and whether a manual re-upload might help.

    Thread Starter Workshopshed

    (@workshopshed)

    Apparently it’s been intentionally removed.

    https://www.ads-software.com/support/topic/link-manager-in-35?replies=11
    https://core.trac.www.ads-software.com/ticket/21307

    There is a check in capabilities.php for ” get_option( ‘link_manager_enabled’ ) ” which is supposed to be correctly set for people who use links.

    I’ve installed the plugin which turns the functionality back on.

    https://www.ads-software.com/extend/plugins/link-manager/

    and it’s now working again.

    esmi

    (@esmi)

    Uh? It’s still there for me! Both on the menu and via /wp-admin/link-manager.php!

    Thread Starter Workshopshed

    (@workshopshed)

    You probably have the “link_manager_enabled” option set for your admin user, it’s possible that it did not get set on my system for some strange reason.

    Moderator Dominik Schilling

    (@ocean90)

    WordPress Core Developer

    Hide the link manager from the UI on upgrade, if the site has no links. New DB option, link_manager_enabled.

    https://core.trac.www.ads-software.com/changeset/21501

    Clayton James

    (@claytonjames)


    “In WordPress 3.5, the Link Manager (which some use to build blogrolls) will be disabled by default. If you have links when you update, it’ll still be there.”

    The “blogroll” on my test site contained the 7 active default links, and the upgrade still turned it off. Is that going to be expected behavior?

    With all the time I spend burying my amateur nose in everything WordPress, I don’t know how I missed this.

    mysite.com/wp-admin/options.php > link_manager_enabled = a big fat “0”

    I changed it back to “1”, and it returned to it’s previous state.

    Maybe at some point posts and pages can be pulled out of core so users can selectively activate those features with a plugin as well.

    Thread Starter Workshopshed

    (@workshopshed)

    Looking at that code example from Dominic I suspect the issue is because I was upgrading via the beta version hence the upgrade skips checking our links because the version is too high.

    Clayton James

    (@claytonjames)

    I duplicated the issue while upgrading directly from the stable version of 3.4.2 to 3.5 RC1.

    esmi

    (@esmi)

    Flagging this up for core dev attention.

    Moderator Sergey Biryukov

    (@sergeybiryukov)

    WordPress Dev

    “In WordPress 3.5, the Link Manager (which some use to build blogrolls) will be disabled by default. If you have links when you update, it’ll still be there.”

    The “blogroll” on my test site contained the 7 active default links, and the upgrade still turned it off. Is that going to be expected behavior?

    Yes. As mentioned in the Trac ticket linked above, default links are removed if those are the only ones you have.

    esmi

    (@esmi)

    My install only has the default links, yet I retained an active Link Manager

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Links’ is closed to new replies.