Skip to content

Commit 2ac0721

Browse files
committed
Add support for importing snippet scope
1 parent 00b01a3 commit 2ac0721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/snippet-ops.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ function import_snippets( $file, $multisite = null ) {
375375
$dom->load( $file );
376376

377377
$snippets_xml = $dom->getElementsByTagName( 'snippet' );
378-
$fields = array( 'name', 'description', 'code', 'tags' );
378+
$fields = array( 'name', 'description', 'code', 'tags', 'scope' );
379379
$count = 0;
380380

381381
/* Loop through all snippets */

0 commit comments

Comments
 (0)