Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix/remove jquery#656

Open
DavidCramer wants to merge 22 commits intodevelop from
fix/remove-jquery
Open

Fix/remove jquery #656
DavidCramer wants to merge 22 commits intodevelop from
fix/remove-jquery

Conversation

@DavidCramer
Copy link
Contributor

@DavidCramer DavidCramer commented Jan 11, 2022

No description provided.

Copy link
Contributor

@pereirinha pereirinha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DavidCramer

I left you a few questions in this PR.


$out[] = '</div>';
if ( ! function_exists( 'use_block_editor_for_post' ) || ! use_block_editor_for_post( $post ) ) {
wp_enqueue_script( 'term-ordering', $this->media->plugin->dir_url . '/js/classic-editor.js', array(), $this->media->plugin->version, true );
Copy link
Contributor

@pereirinha pereirinha Jan 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DavidCramer
Since we are changing the script variable name inside, from TermsOrder to something more abstract like ClassicEditor, perhaps we can find a more abstract slug?

DavidCramer reacted with thumbs up emoji
Copy link
Contributor Author

@DavidCramer DavidCramer Jan 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pereirinha - Good idea.

/* global wpAjax */

const TermsOrder = {
const ClassicEditor = {
Copy link
Contributor

@pereirinha pereirinha Jan 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DavidCramer

There are still many references to jQuery in this script.
Can't we remove them?

Copy link
Contributor Author

@DavidCramer DavidCramer Jan 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pereirinha Oops, I messed some 🤦 - forgot about the jQuery over the $

@DavidCramer DavidCramer marked this pull request as draft January 28, 2022 09:23
@DavidCramer DavidCramer marked this pull request as ready for review January 30, 2022 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@pereirinha pereirinha Awaiting requested review from pereirinha

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /