WordPress.org

Ready to get started?Download WordPress

Forums

Upgrading wordpress default themes (6 posts)

  1. paul.cass82
    Member
    Posted 1 year ago #

    I am currently using Twenty Ten and Twenty Twelve as parents for my custom child themes that I create for my clients. Recently I have upgraded these default themes as follows:

    Twenty Ten (1.4 to 1.5)
    Twenty Twelve (1.0 to 1.1)

    I am aware that the changes in these updates will apply to my child themes too but what about the files I have copied from the parent and edited (i.e. header.php, footer.php, etc). I found the links below which show the changes that have been made between versions:

    Changes from twentyten/1.4 at r22960 to twentyten/1.5 at r22960

    Changes from twentytwelve/1.0 at r22958 to twentytwelve/1.1 at r22958

    Should I manually make all these changes to the files I have COPIED from the parent theme to ALL of my client websites? I am worried something might break if I don't.

    Thanks.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    what about the files I have copied from the parent and edited

    These child files will not be touched by the parent theme updates.

    Should I manually make all these changes to the files I have COPIED

    Why? Is there a problem on any of the sites?

  3. paul.cass82
    Member
    Posted 1 year ago #

    Hi esmi - There isn't a problem yet (that I know of) I just figured that if WordPress decided a change needed to be made to their default theme that maybe it was something I needed to do for my client websites too. For example what if a function was added/edited/deleted in functions.php and was then called/not called in my child theme surely this may break things? Hope this makes sense. Thanks

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    Most of these are fixing minor bugs and other niggles in the themes - like the removal of a rel attribute on a link. Very general rule of thumb: nothing in a .x update should break backwards compatibility in child themes (in theory).

  5. paul.cass82
    Member
    Posted 1 year ago #

    Ahh right so in general if it's not broken just leave it. I have a default basic child theme I always start off with when creating a client website so I will probably just keep that up to date. Thanks for the info.

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    so in general if it's not broken just leave it.

    Yep. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic