Changeset 7006 for trunk/src/includes/admin/classes/class-bbp-admin.php
- Timestamp:
- 11/24/2019 01:38:37 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/classes/class-bbp-admin.php
r6937 r7006 236 236 $bbp_dashicon = '<span class="bbpress-logo-icon"></span>'; 237 237 $message = $bbp_dashicon . sprintf( 238 esc_html__( 'bbPress requires a manual database upgrade. % s or %s.', 'bbpress' ),238 esc_html__( 'bbPress requires a manual database upgrade. %1$s or %1$s.', 'bbpress' ), 239 239 $upgrade_link, 240 240 $dismiss_link … … 325 325 // Messages as objects 326 326 } elseif ( is_wp_error( $message ) ) { 327 $errors 327 $errors = $message->get_error_messages(); 328 328 329 329 switch ( count( $errors ) ) { … … 914 914 if ( ! empty( $topics ) ) { 915 915 foreach ( (array) $topics as $post ) { 916 printf( esc_html__( '% s - %s', 'bbpress' ), bbp_get_topic_id( $post->ID ), bbp_get_topic_title( $post->ID ) . "\n" );916 printf( esc_html__( '%1$s - %2$s', 'bbpress' ), bbp_get_topic_id( $post->ID ), bbp_get_topic_title( $post->ID ) . "\n" ); 917 917 } 918 918 } … … 951 951 if ( ! empty( $users_query->results ) ) { 952 952 foreach ( (array) $users_query->results as $user ) { 953 printf( esc_html__( '% s - %s', 'bbpress' ), bbp_get_user_id( $user->ID ), bbp_get_user_nicename( $user->ID, array( 'force' => $user->user_nicename ) ) . "\n" );953 printf( esc_html__( '%1$s - %2$s', 'bbpress' ), bbp_get_user_id( $user->ID ), bbp_get_user_nicename( $user->ID, array( 'force' => $user->user_nicename ) ) . "\n" ); 954 954 } 955 955 } … … 1336 1336 <!-- 1337 1337 function nextpage() { 1338 location.href = 'update-core.php?page=bbpress-update&action=bbpress-update&n=<?php echo ( $n + 5 ) ?>';1338 location.href = 'update-core.php?page=bbpress-update&action=bbpress-update&n=<?php echo ( $n + 5 ); ?>'; 1339 1339 } 1340 1340 setTimeout( 'nextpage()', 250 );
Note: See TracChangeset
for help on using the changeset viewer.