Skip to content

Commit

Permalink
refactor: id attribute prefix to faustwp
Browse files Browse the repository at this point in the history
  • Loading branch information
apmatthews committed Oct 15, 2021
1 parent 2ee5486 commit 3f860a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Handles WPGraphQL plugin installation at Settings → Headless.
*/
faustwp.installWPGraphQL = (() => {
const $button = document.getElementById('wpe-headless-button-install-graphql');
const $button = document.getElementById('faustwp-button-install-graphql');
const $spinner = document.querySelector('.get-started .spinner');
const $status = document.querySelector('.get-started .error-message');

Expand Down
2 changes: 1 addition & 1 deletion plugins/wpe-headless/includes/settings/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ svg.wpengine {
width: 0.5em;
}

.sidebar .box.get-started #wpe-headless-button-install-graphql {
.sidebar .box.get-started #faustwp-button-install-graphql {
float: left;
margin-bottom: 5px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<?php if ( function_exists( 'graphql' ) ) : ?>
<button class="button-primary" disabled><?php esc_html_e( '☑️ WPGraphQL is active', 'faustwp' ); ?></button>
<?php else : ?>
<button class="button-primary" id="wpe-headless-button-install-graphql" aria-label="<?php esc_html_e( 'Install and Activate the WPGraphQL plugin', 'faustwp' ); ?>"><?php esc_html_e( 'Install and Activate', 'faustwp' ); ?></button>
<button class="button-primary" id="faustwp-button-install-graphql" aria-label="<?php esc_html_e( 'Install and Activate the WPGraphQL plugin', 'faustwp' ); ?>"><?php esc_html_e( 'Install and Activate', 'faustwp' ); ?></button>
<span class="spinner"></span>
<p class="error-message"></p>
<?php endif; ?>
Expand Down

0 comments on commit 3f860a0

Please sign in to comment.