Docs: Various docblock corrections.
See #54729 Built from https://develop.svn.wordpress.org/trunk@53300 git-svn-id: http://core.svn.wordpress.org/trunk@52889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6aa053dc01
commit
0d46464f83
|
@ -54,7 +54,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
*
|
*
|
||||||
* @global wpdb $wpdb WordPress database abstraction object.
|
* @global wpdb $wpdb WordPress database abstraction object.
|
||||||
*
|
*
|
||||||
* @return string|false Value of the `doing_cron` transient, 0|false otherwise.
|
* @return string|int|false Value of the `doing_cron` transient, 0|false otherwise.
|
||||||
*/
|
*/
|
||||||
function _get_cron_lock() {
|
function _get_cron_lock() {
|
||||||
global $wpdb;
|
global $wpdb;
|
||||||
|
|
|
@ -1315,7 +1315,7 @@ function _wp_render_title_tag() {
|
||||||
* Default '»'.
|
* Default '»'.
|
||||||
* @param bool $display Optional. Whether to display or retrieve title. Default true.
|
* @param bool $display Optional. Whether to display or retrieve title. Default true.
|
||||||
* @param string $seplocation Optional. Location of the separator ('left' or 'right').
|
* @param string $seplocation Optional. Location of the separator ('left' or 'right').
|
||||||
* @return string|void String when `$display` is true, nothing otherwise.
|
* @return string|void String when `$display` is false, nothing otherwise.
|
||||||
*/
|
*/
|
||||||
function wp_title( $sep = '»', $display = true, $seplocation = '' ) {
|
function wp_title( $sep = '»', $display = true, $seplocation = '' ) {
|
||||||
global $wp_locale;
|
global $wp_locale;
|
||||||
|
@ -1636,7 +1636,7 @@ function single_term_title( $prefix = '', $display = true ) {
|
||||||
*
|
*
|
||||||
* @param string $prefix Optional. What to display before the title.
|
* @param string $prefix Optional. What to display before the title.
|
||||||
* @param bool $display Optional. Whether to display or retrieve title. Default true.
|
* @param bool $display Optional. Whether to display or retrieve title. Default true.
|
||||||
* @return string|void Title when retrieving.
|
* @return string|false|void False if there's no valid title for the month. Title when retrieving.
|
||||||
*/
|
*/
|
||||||
function single_month_title( $prefix = '', $display = true ) {
|
function single_month_title( $prefix = '', $display = true ) {
|
||||||
global $wp_locale;
|
global $wp_locale;
|
||||||
|
|
|
@ -3368,7 +3368,7 @@ function wp_delete_post( $postid = 0, $force_delete = false ) {
|
||||||
*
|
*
|
||||||
* @since 4.4.0
|
* @since 4.4.0
|
||||||
*
|
*
|
||||||
* @param bool|null $delete Whether to go forward with deletion.
|
* @param WP_Post|false|null $delete Whether to go forward with deletion. @TODO description
|
||||||
* @param WP_Post $post Post object.
|
* @param WP_Post $post Post object.
|
||||||
* @param bool $force_delete Whether to bypass the Trash.
|
* @param bool $force_delete Whether to bypass the Trash.
|
||||||
*/
|
*/
|
||||||
|
@ -6344,7 +6344,7 @@ function wp_delete_attachment( $post_id, $force_delete = false ) {
|
||||||
*
|
*
|
||||||
* @since 5.5.0
|
* @since 5.5.0
|
||||||
*
|
*
|
||||||
* @param bool|null $delete Whether to go forward with deletion.
|
* @param WP_Post|false|null $delete Whether to go forward with deletion. @TODO description
|
||||||
* @param WP_Post $post Post object.
|
* @param WP_Post $post Post object.
|
||||||
* @param bool $force_delete Whether to bypass the Trash.
|
* @param bool $force_delete Whether to bypass the Trash.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -447,7 +447,7 @@ function wp_restore_post_revision( $revision_id, $fields = null ) {
|
||||||
* @since 2.6.0
|
* @since 2.6.0
|
||||||
*
|
*
|
||||||
* @param int|WP_Post $revision_id Revision ID or revision object.
|
* @param int|WP_Post $revision_id Revision ID or revision object.
|
||||||
* @return array|false|WP_Post|WP_Error|null Null or WP_Error if error, deleted post if success.
|
* @return WP_Post|false|null Null or false if error, deleted post object if success.
|
||||||
*/
|
*/
|
||||||
function wp_delete_post_revision( $revision_id ) {
|
function wp_delete_post_revision( $revision_id ) {
|
||||||
$revision = wp_get_post_revision( $revision_id );
|
$revision = wp_get_post_revision( $revision_id );
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.0-beta3-53299';
|
$wp_version = '6.0-beta3-53300';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue