Making WordPress.org

Changeset 12673


Ignore:
Timestamp:
06/21/2023 12:05:43 PM (2 years ago)
Author:
spiraltee
Message:

Translate: Update gp-translation-helpers plugin from remote repo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers/js/editor.js

    r12672 r12673  
    3131            fetchOpenAIReviewResponse( rowId, tr, false );
    3232        } else {
    33             tr.find( '.details-chatgpt, .openai-review' ).hide();
     33            if ( ! $gp_comment_feedback_settings.openai_key ) {
     34                tr.find( '.details-chatgpt' ).hide();
     35            }
     36            tr.find( '.openai-review' ).hide();
    3437        }
    3538    } );
Note: See TracChangeset for help on using the changeset viewer.