Ticket #29808: 29808.13.diff
File 29808.13.diff, 668 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/link-template.php
2314 2314 'next_text' => __( 'Next' ), 2315 2315 'screen_reader_text' => __( 'Posts navigation' ), 2316 2316 ) ); 2317 // Make sure we get plain links, so we can work with it. 2318 $args['type'] = 'plain'; 2317 2318 // Make sure we get a string back. Plain is the next best thing. 2319 if ( isset( $args['type'] ) && 'array' == $args['type'] ) { 2320 $args['type'] = 'plain'; 2321 } 2319 2322 2320 2323 // Set up paginated links. 2321 2324 $links = paginate_links( $args );