• The button “Toggle Visibility” in Link Manager (version 1.2.2) doesn’t work. It doesn’t toggle anything. I have to edit visibility link per link, that’s anoying!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Anonymous

    Hi,
    I had the same problem with WordPress CVS and maybe found a solution. Please beware, though, I’m a WordPress beginner.
    Open wp-admin/link-manager.php and find the following (line 43 in my file):
    $wpvarstoreset = array(‘action’,’cat_id’, ‘linkurl’, ‘name’, ‘image’,
    ‘description’, ‘visible’, ‘target’, ‘category’, ‘link_id’,
    ‘submit’, ‘order_by’, ‘links_show_cat_id’, ‘rating’, ‘rel’,
    ‘notes’, ‘linkcheck[]’);
    The last entry, ‘linkcheck[]’, should be ‘linkcheck’. Try if removing the brackets helps you also.
    Technical reason (as I see it):
    In the html form we have the entry: name=”linkcheck[]”. The brackets mean it is an array variable, but the name of the variable that gets POSTed is ‘linkcheck’. With the brackets the assignment would be:
    $linkcheck = $_POST[“linkcheck[]”]
    instead of the correct
    $linkcheck = $_POST[“linkcheck”]
    Sanne

    Thread Starter Anonymous

    YEAH!
    Thanks! Thanks! Thanks a lot and thanks forever ad infinitum! Now it works! ??

    Perfect. I had the same problem until I read this thread. In my file, the line is 55 -just in case someone can’t find it. Thanks!

    It really helps if you post a bug report about this kind of thing.
    I’ve posted one now, so it should get fixed soon.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Link Manager -> Toggle Visibility’ is closed to new replies.