WordPress.org

Make WordPress Core

Changes between Initial Version and Version 5 of Ticket #23163


Ignore:
Timestamp:
02/09/13 22:15:49 (2 years ago)
Author:
DrewAPicture
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23163

    • Property Keywords has-patch added
    • Property Cc siobhan@… ipstenu@… added
  • Ticket #23163 – Description

    initial v5  
    77 
    88Any Network Admin screen is fair game but by no means do we intend to change strings just for the sake of change. It was the consensus of the team to focus on this effort earlier in the release cycle than usual so that translators will have plenty of time to work on new strings and provide feedback. 
     9 
     10Following some [https://twitter.com/DrewAPicture/status/295248525699190785 feedback] from @nacin, @markjaquith, and @aaroncampbell, it was decided the best format for concatenating help tabs strings should follow this format going forward: 
     11 
     12{{{ 
     13$example_string = '<p>' . __( 'This is some help text' ) . '</p>'; 
     14$example_string .= '<p>' . __( 'This is some more help text' ) . '</p>'; 
     15  
     16get_current_screen()->add_help_tab( array( 
     17'id'    => 'example', 
     18'title' => __( 'Example' ), 
     19'content'       => $example_string 
     20) ); 
     21}}}