WordPress.org

Forums

Format for mods? (5 posts)

  1. Davepar
    Member
    Posted 10 years ago #

    I'm working on a small mod for WordPress. Is there a preferred format for WP mods?

  2. skippy
    Member
    Posted 10 years ago #

  3. Davepar
    Member
    Posted 10 years ago #

    Thanks, but I'm actually making a mod, not a plugin. I'm adding a sort value to the "Manage, Categories" admin panel. Thus, I need to list the code I've changed in the standard WP distribution. I'll just use some kind of diff format.

  4. skippy
    Member
    Posted 10 years ago #

    A unified diff would be fine for those who know how to use them. Otherwise, you could distribute a fully modified edit.php (or whatever file it is that you modify).

    Mods of this sort are generally discouraged, though, as they complicate upgrades. If at all possible, try to make this a plugin. If a plugin is simply out of the question, try to figure out why and suggest a way to make WordPress support plugins of this sort. =)

  5. Davepar
    Member
    Posted 10 years ago #

    I totally agree that mods can be a mess. I think I might have figured out a way to make this a plug-in. I'll give that a try.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.