• Hi,

    I found a bug with configuration saving, I spend few hours to find it…

    in admin/partials/nginx-helper-general-options.php you test form submit button caption for concrete string (I wonder why)

    if ( isset( $all_inputs[‘smart_http_expire_save’] ) && ‘Save All Changes’ === $all_inputs[‘smart_http_expire_save’] ) {

    But I have your plugin localized and my button caption is totally different

    I fixed it with this:

    if ( isset( $all_inputs[‘smart_http_expire_save’] ) && __( ‘Save All Changes’, ‘nginx-helper’ ) === $all_inputs[‘smart_http_expire_save’] ) {

    Thank you

    Michal

  • The topic ‘Configuration update bug’ is closed to new replies.