Make WordPress Core

Ticket #41841: 41841.diff

File 41841.diff, 2.0 KB (added by Presskopp, 6 years ago)
  • wp-includes/class-wp-customize-nav-menus.php

     
    716716         * Return an array of all the available item types.
    717717         *
    718718         * @since 4.3.0
    719          * @since 4.7.0  Each array item now includes a `$type_label` in in addition to `$title`, `$type`, and `$object`.
     719         * @since 4.7.0  Each array item now includes a `$type_label` in addition to `$title`, `$type`, and `$object`.
    720720         *
    721721         * @return array The available menu item types.
    722722         */
     
    754754                 * Filters the available menu item types.
    755755                 *
    756756                 * @since 4.3.0
    757                  * @since 4.7.0  Each array item now includes a `$type_label` in in addition to `$title`, `$type`, and `$object`.
     757                 * @since 4.7.0  Each array item now includes a `$type_label` in addition to `$title`, `$type`, and `$object`.
    758758                 *
    759759                 * @param array $item_types Custom menu item types.
    760760                 */
  • wp-includes/theme.php

     
    31343134                }
    31353135                $wpdb->update(
    31363136                        $wpdb->posts,
    3137                         array( 'post_date' => $new_post_date ), // Note wp_delete_auto_drafts() only looks at this this date.
     3137                        array( 'post_date' => $new_post_date ), // Note wp_delete_auto_drafts() only looks at this date.
    31383138                        array( 'ID' => $post_id )
    31393139                );
    31403140                clean_post_cache( $post_id );
  • wp-signup.php

     
    247247         *
    248248         * @since 3.0.0
    249249         *
    250          * @param WP_Error $errors A WP_Error object containing containing 'user_name' or 'user_email' errors.
     250         * @param WP_Error $errors A WP_Error object containing 'user_name' or 'user_email' errors.
    251251         */
    252252        do_action( 'signup_extra_fields', $errors );
    253253}