mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 14:47:02 +00:00
Docs: Fix a few more typos in DocBlocks.
Follow-up to [39493], [41726], [55823], [55824], [55827]. See #57840. git-svn-id: https://develop.svn.wordpress.org/trunk@55843 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -435,7 +435,7 @@
|
||||
*
|
||||
* @return {boolean|void} Executes a post request that refreshes the page
|
||||
* when the action is performed.
|
||||
* Returns false if a invalid action is given,
|
||||
* Returns false if an invalid action is given,
|
||||
* or when the action cannot be performed.
|
||||
*/
|
||||
action : function(postid, nonce, action) {
|
||||
|
||||
@@ -391,8 +391,9 @@ window.wp = window.wp || {};
|
||||
/**
|
||||
* Add an item to the collection.
|
||||
*
|
||||
* @param {string|wp.customize.Class} item - The item instance to add, or the ID for the instance to add. When an ID string is supplied, then itemObject must be provided.
|
||||
* @param {wp.customize.Class} [itemObject] - The item instance when the first argument is a ID string.
|
||||
* @param {string|wp.customize.Class} item - The item instance to add, or the ID for the instance to add.
|
||||
* When an ID string is supplied, then itemObject must be provided.
|
||||
* @param {wp.customize.Class} [itemObject] - The item instance when the first argument is an ID string.
|
||||
* @return {wp.customize.Class} The new item's instance, or an existing instance if already added.
|
||||
*/
|
||||
add: function( item, itemObject ) {
|
||||
|
||||
Reference in New Issue
Block a user