### Eclipse Workspace Patch 1.0
#P wordpress-trunk bare
|
|
|
|
| 3505 | 3505 | if ( $page > 1 ) |
| 3506 | 3506 | $more = 1; |
| 3507 | 3507 | $multipage = 1; |
| 3508 | | $content = str_replace("\n<!--nextpage-->\n", '<!--nextpage-->', $content); |
| 3509 | | $content = str_replace("\n<!--nextpage-->", '<!--nextpage-->', $content); |
| 3510 | | $content = str_replace("<!--nextpage-->\n", '<!--nextpage-->', $content); |
| | 3508 | $content = str_replace(array("\n<!--nextpage-->", "<!--nextpage-->\n"), '<!--nextpage-->', $content); |
| 3511 | 3509 | $pages = explode('<!--nextpage-->', $content); |
| 3512 | 3510 | $numpages = count($pages); |
| 3513 | 3511 | } else { |