WordPress.org

Making WordPress.org

Ticket #3293: #3293.patch

File #3293.patch, 1.0 KB (added by jankimoradiya, 3 weeks ago)

Here, I have added in string of wporg_support_add_moderation_notice function.

  • wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php

    From 624c0f7008c21092cb3dcc2cbcd8d6c5acea6109 Mon Sep 17 00:00:00 2001
    From: Nitish Kaila <nitish.multidots@gmail.com>
    Date: Sat, 25 Nov 2017 18:28:08 +0530
    Subject: [PATCH] __ added in fumction.php
    
    ---
     .../public_html/wp-content/themes/pub/wporg-support/functions.php     | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
    index cbe4daf8..debf77b5 100644
    function wporg_support_add_moderation_notice() { 
    442442 
    443443        if ( $notices ) { 
    444444                printf( 
    445                         '<div class="bbp-template-notice %s"><p>%s</p></div>', 
    446                         esc_attr( $notice_class ), 
     445            __( '<div class="bbp-template-notice %s"><p>%s</p></div>', 
     446                        esc_attr( $notice_class ) ), 
    447447                        implode( '</p><p>', $notices ) 
    448448                ); 
    449449        }