Inline documentation cleanup for 4.0 audit.
* Alignment for the 'term_search_min_chars' hook docs, added in [28892] * Globals added for `wp_ajax_parse_embed()`, added [28580] See #28885. git-svn-id: https://develop.svn.wordpress.org/trunk@29151 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
49fdc296ba
commit
08fd193850
|
@ -130,9 +130,9 @@ function wp_ajax_ajax_tag_search() {
|
|||
*
|
||||
* @since 4.0.0
|
||||
*
|
||||
* @param int $characters The minimum number of characters required. Default 2.
|
||||
* @param object $tax The taxonomy object.
|
||||
* @param string $s The search term.
|
||||
* @param int $characters The minimum number of characters required. Default 2.
|
||||
* @param object $tax The taxonomy object.
|
||||
* @param string $s The search term.
|
||||
*/
|
||||
$term_search_min_chars = (int) apply_filters( 'term_search_min_chars', 2, $tax, $s );
|
||||
|
||||
|
@ -2608,6 +2608,9 @@ function wp_ajax_query_themes() {
|
|||
* Apply [embed] handlers to a string.
|
||||
*
|
||||
* @since 4.0.0
|
||||
*
|
||||
* @global WP_Post $post Global $post.
|
||||
* @global WP_Embed $wp_embed Embed API instance.
|
||||
*/
|
||||
function wp_ajax_parse_embed() {
|
||||
global $post, $wp_embed;
|
||||
|
|
Loading…
Reference in New Issue