Name conflict - get_settings() (2 posts)

  1. shooflydesign
    Posted 9 years ago #

    I'm migrating a website to WordPress on Hostbaby, the musician-specific web hosting arm of CDBaby. They provide a codebase of stuff that helps make a musician's website a little better.

    Problem is, in this codebase (which is not available for my editing), they have a function called get_settings() that conflicts with the one in WordPress.

    I think it would be nice, for this situation and maybe others like it, if the WordPress function could be named something that indicates its specificity, like wp_get_settings or whatever.

    Does that sound reasonable?

    I'm a recent arrival to the WordPress universe. I'm quite impressed with what's possible with it thus far!

    - Joe

  2. MichaelH
    Posted 9 years ago #

    Seems get_settings is referred to in approximately 60 different WordPress scripts. Not sure the developers would want to change that but you could submit a Ticket at http://trac.wordpress.org ;)

    See: Submitting_Bugs

    Welcome to the WordPress Support Forums!

    Please help keep the Forums successful by reading:
    Using the Support Forums

    Also, remember the WordPress Codex and the FAQ pages.

    And, thank you, for letting us know if this information proves useful (or not)!

Topic Closed

This topic has been closed to new replies.

About this Topic