@@ -1483,10 +1483,10 @@ function register_post_status( $post_status, $args = array() ) {
14831483 *
14841484 * @since 3.0.0
14851485 *
1486- * @global stdClass[] $wp_post_statuses List of post statuses.
1487- *
14881486 * @see register_post_status()
14891487 *
1488+ * @global stdClass[] $wp_post_statuses List of post statuses.
1489+ *
14901490 * @param string $post_status The name of a registered post status.
14911491 * @return stdClass|null A post status object.
14921492 */
@@ -1505,10 +1505,10 @@ function get_post_status_object( $post_status ) {
15051505 *
15061506 * @since 3.0.0
15071507 *
1508- * @global stdClass[] $wp_post_statuses List of post statuses.
1509- *
15101508 * @see register_post_status()
15111509 *
1510+ * @global stdClass[] $wp_post_statuses List of post statuses.
1511+ *
15121512 * @param array|string $args Optional. Array or string of post status arguments to compare against
15131513 * properties of the global `$wp_post_statuses objects`. Default empty array.
15141514 * @param string $output Optional. The type of output to return, either 'names' or 'objects'. Default 'names'.
@@ -1587,10 +1587,10 @@ function get_post_type( $post = null ) {
15871587 * @since 3.0.0
15881588 * @since 4.6.0 Object returned is now an instance of `WP_Post_Type`.
15891589 *
1590- * @global array $wp_post_types List of post types.
1591- *
15921590 * @see register_post_type()
15931591 *
1592+ * @global array $wp_post_types List of post types.
1593+ *
15941594 * @param string $post_type The name of a registered post type.
15951595 * @return WP_Post_Type|null WP_Post_Type object if it exists, null otherwise.
15961596 */
@@ -1609,10 +1609,10 @@ function get_post_type_object( $post_type ) {
16091609 *
16101610 * @since 2.9.0
16111611 *
1612- * @global array $wp_post_types List of post types.
1613- *
16141612 * @see register_post_type() for accepted arguments.
16151613 *
1614+ * @global array $wp_post_types List of post types.
1615+ *
16161616 * @param array|string $args Optional. An array of key => value arguments to match against
16171617 * the post type objects. Default empty array.
16181618 * @param string $output Optional. The type of output to return. Either 'names'
0 commit comments