Return to Snippet

Revision: 55156
at January 29, 2012 12:51 by jcottrell


Initial Code
(function($){
    $('#authors').children('li').each(function(i,el) {
        var nm = $(this).children('strong').text();
        $(this).children('input').first().val(nm);
    });
}(jQuery));

Initial URL

                                

Initial Description
Go through all the authors of a wordpress import and make them the same as the previous authors (Wordpress 3.3).

Initial Title
Wordpress 3 make new users exactly the same as old

Initial Tags
wordpress, jquery

Initial Language
JavaScript