This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2015-05-01 21:20:47 +02:00

1 line
421 B
JavaScript

jQuery(document).ready(function(a){"use strict";a("#export-button").click(function(){a.post(ajaxurl,{action:"wpseo_export",_wpnonce:wpseo_export_nonce,include_taxonomy:a("#include_taxonomy_meta").is(":checked")},function(b){b=JSON.parse(b);var c="error";"success"===b.status&&(c="updated"),a("#wpseo-title").append('<div class="'+c+' settings-error"><p><strong>'+b.msg+"</strong></p></div>")}),event.preventDefault()})});