• Developers often care too much about speed, rather than caring about general applicability. Given the slow internet connections a single extra write to the MySql database is not going to cause a major performance penalty.
    In this plugin the options can be set by the admin and a change introduced him/her will cause a refresh write of the options into the database.

    But what happens if a user property changes? Nothing. In this plugin in the options the function __() is used frequently. But nowadays with multiple-language WordPress sites, in which the language is switched dynamically, options must take this into account that __() might have to use a different locale because the user wants so, not because the admin wants so.

    I just bought the multilanguage WPML plugin and it did not work with Post Author because the same locale is in the database forever.
    By forcing the refreshing and changing
    if( !get_option('Post_Author_Options')) {
    into
    if( !get_option('Post_Author_Options') || true ) {
    it worked perfectly on changing of language. I suggest to the plugin developer (and to many other plugin developers) to put the locale in the database as well. And if it has changed options must be refreshed.

    A minor issue is that the avatar shows up at the wrong position.

  • The topic ‘[Plugin: Post Author] Options should be refreshed if user properties change’ is closed to new replies.