[wp-trac] [WordPress Trac] #44314: `user_confirmed_action_email_content` filter run on two different strings

WordPress Trac noreply at wordpress.org
Mon Mar 1 03:21:31 UTC 2021


#44314: `user_confirmed_action_email_content` filter run on two different strings
-------------------------------------------------+-------------------------
 Reporter:  desrosj                              |       Owner:  garrett-
                                                 |  eclipse
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.8
Component:  Privacy                              |     Version:  4.9.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note early                                     |
-------------------------------------------------+-------------------------

Comment (by peterwilsoncc):

 Thanks so much for your help with this @coffee2code!

 [attachment:"44314.9.diff"] has a very minor change: it internationalizes
 the word 'or' in the deprecation alternatives

 {{{#!php
 <?php
 sprintf(
         /* translators: 1 & 2: Deprecation replacement options */
         __( '%1$s or %2$s' ),
         'user_request_confirmed_email_content',
         'user_erasure_fulfillment_email_content'
 )
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44314#comment:61>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list