Suggestion about pagination.php in core

0

I just had a slight mind numbing issue where the pagingation had <br />'s between each page. Obviously there are no break tags in the core file so I finally realized that because there's a carriage return in the code after each page link, it will insert a <br /> ONLY if you happen to use something like Exec-PHP in Wordpress (the plugin that let's use execute code in a WP post).

I know it's kind of a rare thing but I simply removed the carriage return before the <?php tag to remedy it. I think it'd be useful to integrate that into the next build since it's such an easy fix and wouldn't break anything else. I believe the carriage return is in there only for aesthetic reasons in keeping the code clean right?

Finally, I'd like to see a couple of parameters added for pagination. A delimiter string like ' | ' and an 'end_label' for something that says, "Last " or something. So a pagination could look like this:

Go to page: 1 | 2 | 3 | 4 | Last page - 7

asked Jan 4 '10 at 3:37

lychyi

1

add comment
enter at least 15 characters