WordPress.org

Make WordPress Core

Ticket #16745: 16745.patch

File 16745.patch, 603 bytes (added by hakre, 4 years ago)

One off

  • wp-includes/query.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress-trunk bare
     
    35053505                if ( $page > 1 ) 
    35063506                        $more = 1; 
    35073507                $multipage = 1; 
    3508                 $content = str_replace("\n<!--nextpage-->\n", '<!--nextpage-->', $content); 
    35093508                $content = str_replace("\n<!--nextpage-->", '<!--nextpage-->', $content); 
    35103509                $content = str_replace("<!--nextpage-->\n", '<!--nextpage-->', $content); 
    35113510                $pages = explode('<!--nextpage-->', $content);