mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
Docs: Remove an empty line between @param and @return tags, per the documentation standards.
See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48102 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -658,7 +658,6 @@ class WP_Media_List_Table extends WP_List_Table {
|
||||
/**
|
||||
* @param WP_Post $post
|
||||
* @param string $att_title
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
private function _get_row_actions( $post, $att_title ) {
|
||||
|
||||
@@ -148,7 +148,6 @@ class WP_Site_Health {
|
||||
* @since 5.4.0
|
||||
*
|
||||
* @param $callback
|
||||
*
|
||||
* @return mixed|void
|
||||
*/
|
||||
private function perform_test( $callback ) {
|
||||
@@ -790,7 +789,6 @@ class WP_Site_Health {
|
||||
* @param string $function Optional. The function name to test. Default null.
|
||||
* @param string $constant Optional. The constant name to test for. Default null.
|
||||
* @param string $class Optional. The class name to test for. Default null.
|
||||
*
|
||||
* @return bool Whether or not the extension and function are available.
|
||||
*/
|
||||
private function test_php_extension_availability( $extension = null, $function = null, $constant = null, $class = null ) {
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
* @param string $comment_author Author of the comment.
|
||||
* @param string $comment_date Date of the comment.
|
||||
* @param string $timezone Timezone. Accepts 'blog' or 'gmt'. Default 'blog'.
|
||||
*
|
||||
* @return mixed Comment post ID on success.
|
||||
*/
|
||||
function comment_exists( $comment_author, $comment_date, $timezone = 'blog' ) {
|
||||
|
||||
@@ -1976,7 +1976,6 @@ function get_filesystem_method( $args = array(), $context = '', $allow_relaxed_f
|
||||
* @param array $extra_fields Optional. Extra `POST` fields to be checked for inclusion in
|
||||
* the post. Default null.
|
||||
* @param bool $allow_relaxed_file_ownership Optional. Whether to allow Group/World writable. Default false.
|
||||
*
|
||||
* @return bool|array True if no filesystem credentials are required, false if they are required but have not been
|
||||
* provided, array of credentials if they are required and have been provided.
|
||||
*/
|
||||
|
||||
@@ -1401,7 +1401,6 @@ All at ###SITENAME###
|
||||
*
|
||||
* @param string $title Page title.
|
||||
* @param WP_Post $page Page data object.
|
||||
*
|
||||
* @return string Page title.
|
||||
*/
|
||||
function _wp_privacy_settings_filter_draft_page_titles( $title, $page ) {
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
* @param WP_Post|int $post The post object or post ID.
|
||||
* @param int $compare_from The revision ID to compare from.
|
||||
* @param int $compare_to The revision ID to come to.
|
||||
*
|
||||
* @return array|bool Associative array of a post's revisioned fields and their diffs.
|
||||
* Or, false on failure.
|
||||
*/
|
||||
@@ -161,7 +160,6 @@ function wp_get_revision_ui_diff( $post, $compare_from, $compare_to ) {
|
||||
* @param WP_Post|int $post The post object or post ID.
|
||||
* @param int $selected_revision_id The selected revision ID.
|
||||
* @param int $from Optional. The revision ID to compare from.
|
||||
*
|
||||
* @return array An associative array of revision data and related settings.
|
||||
*/
|
||||
function wp_prepare_revisions_for_js( $post, $selected_revision_id, $from = null ) {
|
||||
|
||||
Reference in New Issue
Block a user