Add documentation for parseData() and ajaxDel() in wp-lists.js.
Fixes #35360. Built from https://develop.svn.wordpress.org/trunk@36229 git-svn-id: http://core.svn.wordpress.org/trunk@36196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7733ed2ddc
commit
b464b01c7e
|
@ -22,6 +22,13 @@ wpList = {
|
|||
return s.nonce || url._ajax_nonce || $('#' + s.element + ' input[name="_ajax_nonce"]').val() || url._wpnonce || $('#' + s.element + ' input[name="_wpnonce"]').val() || 0;
|
||||
},
|
||||
|
||||
/**
|
||||
* Extract list item data from a DOM element.
|
||||
*
|
||||
* @param {HTMLElement} e The DOM element.
|
||||
* @param {string} t
|
||||
* @return {array}
|
||||
*/
|
||||
parseData: function(e,t) {
|
||||
var d = [], wpListsData;
|
||||
|
||||
|
@ -145,6 +152,13 @@ wpList = {
|
|||
return false;
|
||||
},
|
||||
|
||||
/**
|
||||
* Delete an item in the list via AJAX.
|
||||
*
|
||||
* @param {HTMLElement} e A DOM element containing item data.
|
||||
* @param {Object} s
|
||||
* @return {boolean}
|
||||
*/
|
||||
ajaxDel: function( e, s ) {
|
||||
e = $(e);
|
||||
s = s || {};
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-alpha-36228';
|
||||
$wp_version = '4.5-alpha-36229';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue