Make WordPress Core

Ticket #48626: 48626.patch

File 48626.patch, 1.0 KB (added by manikmist09, 4 years ago)
  • wp-content/themes/twentytwenty/inc/template-tags.php

    From 48e72107bf5a9d720fd9e9cc0844cd7aae34b9a2 Mon Sep 17 00:00:00 2001
    From: MD Sultan Nasir Uddin <manikdrmc@gmail.com>
    Date: Thu, 14 Nov 2019 14:18:34 +0600
    Subject: [PATCH] remove unused function param
    
    ---
     wp-content/themes/twentytwenty/inc/template-tags.php | 3 +--
     1 file changed, 1 insertion(+), 2 deletions(-)
    
    diff --git a/wp-content/themes/twentytwenty/inc/template-tags.php b/wp-content/themes/twentytwenty/inc/template-tags.php
    index d220875..e304169 100644
    a b function twentytwenty_the_post_meta( $post_id = null, $location = 'single-top' ) 
    187187 *
    188188 * @param string $link    Anchor tag for the edit link.
    189189 * @param int    $post_id Post ID.
    190  * @param string $text    Anchor text.
    191190 */
    192 function twentytwenty_edit_post_link( $link, $post_id, $text ) {
     191function twentytwenty_edit_post_link( $link, $post_id ) {
    193192        if ( is_admin() ) {
    194193                return $link;
    195194        }