Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate Code In Cloud Version of Snippet #2

Open
Mij-Strebor opened this issue Nov 6, 2023 · 0 comments
Open

Duplicate Code In Cloud Version of Snippet #2

Mij-Strebor opened this issue Nov 6, 2023 · 0 comments

Comments

@Mij-Strebor
Copy link

When I view a snippet in the cloud, the code is duplicated:

<?php 
// PHP and WordPress, nothing else!
<?php 
add_filter( 'code_snippets/list_table/default_orderby', function () {
	return 'name';
} );// PHP and WordPress, nothing else!
add_filter( 'code_snippets/list_table/default_orderby', function () {
	return 'name';
} );

If I delete the second instance, it just comes right back and is there when I edit again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant