From f2d4a6aa364bf162230f7910154948fff08816ec Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 18 Jan 2014 17:05:38 +0000 Subject: [PATCH] Hook docs spacing and standards fixes for wp-admin/includes/ajax-actions.php. See #25374. git-svn-id: https://develop.svn.wordpress.org/trunk@26981 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/ajax-actions.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/includes/ajax-actions.php b/src/wp-admin/includes/ajax-actions.php index 06e47b1139..99fc973828 100644 --- a/src/wp-admin/includes/ajax-actions.php +++ b/src/wp-admin/includes/ajax-actions.php @@ -1230,7 +1230,8 @@ function wp_ajax_menu_get_metabox() { * * @since 3.0.0 * - * @param object $menus_meta_box_object A nav menu meta box object, such as Page, Post, Category, Tag, etc. + * @param object $menus_meta_box_object A nav menu meta box object, such as Page, + * Post, Category, Tag, etc. */ $item = apply_filters( 'nav_menu_meta_box_object', $menus_meta_box_object ); ob_start(); @@ -1830,7 +1831,8 @@ function wp_ajax_wp_remove_post_lock() { * * @since 3.3.0 * - * @param int $interval The interval in seconds the post lock duration should last, plus 5 seconds. Default 150. + * @param int $interval The interval in seconds the post lock duration + * should last, plus 5 seconds. Default 150. */ $new_lock = ( time() - apply_filters( 'wp_check_post_lock_window', 150 ) + 5 ) . ':' . $active_lock[1]; update_post_meta( $post_id, '_edit_lock', $new_lock, implode( ':', $active_lock ) ); @@ -1904,11 +1906,14 @@ function wp_ajax_query_attachments() { $query['post_status'] .= ',private'; /** - * Filter the arguments passed to WP_Query during an AJAX call for querying attachments. + * Filter the arguments passed to WP_Query during an AJAX + * call for querying attachments. * * @since 3.7.0 * - * @param array $query An array of query variables. @see WP_Query::parse_query() + * @see WP_Query::parse_query() + * + * @param array $query An array of query variables. */ $query = apply_filters( 'ajax_query_attachments_args', $query ); $query = new WP_Query( $query );