• Resolved Alkorr

    (@alkorr)


    Hi, I just updated an old WP website to WP 5.1 but apparently it didn’t updated all the files from the older version. I made changes years ago regarding the CSS styles on the Dashboard (by modifyimg load-styles.php, and maybe some others, I don’t remember…) and after I updated to WP 5.1, the old styles are still there. I guess not all the old files are replaced by new ones even with a huge update like 5.1, so how can I know which files I should extract from 5.1 to add manually to my wp-admin folder? Is there a way to update my whole Worpress site without losing my configuration and existing plugins? Thanks a lot for your help! ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Download wordpress and unzip locally.

    Connect via FTP to your site.

    On the server, delete the directories wp-admin and wp-includes, then upload all files and directories in the wordpress directory that was created when you unzipped the download.

    Thread Starter Alkorr

    (@alkorr)

    Hi Steven, thank you, I can do that indeed! But before, I just checked the files on the server, and all the files from the directories wp-admin and wp-includes are from the 5.1 version (2019). I just unzipped the 5.1 files and they show the same date as the ones on the server. So I could delete them and manually replace them with the ones I just unzipped but I’m afraid the old files I modified are not in the wp-admin or wp-includes directories :\

    Any idea?

    Thread Starter Alkorr

    (@alkorr)

    All right, I just checked the functions.php and I added add_action(‘admin_head’, ‘custom_colors’); to modify the Dashboard CSS… Sorry for the bother, and thank you for your help, without you I would have kept updating the files without thinking out of something else! ??

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    That’s why one should NEVER modify core files!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP 5.1 doesn’t override older version files’ is closed to new replies.