Make WordPress Core

Ticket #51825: 51825.patch

File 51825.patch, 1.0 KB (added by princeahmed, 5 years ago)

Created Patch

  • src/wp-includes/category-template.php

    From 36dbb17d18c0474255f95a1c0a7d3af107460e29 Mon Sep 17 00:00:00 2001
    From: Prince Ahmed <hitprince99@gmail.com>
    Date: Thu, 19 Nov 2020 21:30:39 +0600
    Subject: [PATCH] Fix spelling error typo
    
    ---
     src/wp-includes/category-template.php | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/wp-includes/category-template.php b/src/wp-includes/category-template.php
    index 85922eb42f..40cae18f7f 100644
    a b function get_the_category_list( $separator = '', $parents = '', $post_id = false 
    248248 * @since 1.2.0
    249249 * @since 2.7.0 The `$post` parameter was added.
    250250 *
    251  * @param int|string|array $category Category ID, name or slug, or array of said.
     251 * @param int|string|array $category Category ID, name or slug, or array of IDs.
    252252 * @param int|object       $post     Optional. Post to check instead of the current post.
    253253 * @return bool True if the current post is in any of the given categories.
    254254 */