WordPress.org

Make WordPress Core

Ticket #16746: 16746.patch

File 16746.patch, 512 bytes (added by hakre, 4 years ago)

Fix

  • wp-includes/query.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress
     
    35023502        if ( is_single() || is_page() || is_feed() ) 
    35033503                $more = 1; 
    35043504        $content = $post->post_content; 
    3505         if ( strpos( $content, '<!--nextpage-->' ) ) { 
     3505        if ( false !== strpos( $content, '<!--nextpage-->' ) ) { 
    35063506                if ( $page > 1 ) 
    35073507                        $more = 1; 
    35083508                $multipage = 1;