Changes between Initial Version and Version 1 of Ticket #19803
- Timestamp:
- 01/11/12 08:01:40 (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19803 – Description
initial v1 1 1 get_previous_posts_link (located in wp-includes/link-template.php ) has a regular expression at line 1569 2 3 {{{ 2 4 preg_replace( '/&([^#])(?![a-z]{1,8};)/', '&$1', $label ) 5 }}} 3 6 4 7 This replaces ''⇐'' into ''⇐'', hence ''⇐'' is not allowed as a linktext. (html entites with capital letter(s) disallowed) … … 6 9 7 10 get_next_posts_link (also located in wp-includes/link-template.php ) has a regular expression at line 1498 11 12 {{{ 8 13 preg_replace('/&([^#])(?![a-z]{1,8};)/i', '&$1', $label) 14 }}} 9 15 10 16 This does not replace ''⇐'' 11 17 12 18 I propose to use 19 20 {{{ 13 21 preg_replace('/&([^#])(?![a-z]{1,8};)/i', '&$1', $label) 22 }}} 23 14 24 both get_next_posts_link and get_previous_posts_link
