Skip to content

Duplicate Code In Cloud Version of Snippet #2

@Mij-Strebor

Description

@Mij-Strebor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions