Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • … I found this Plugin which fixed the problem on my blog:

    <?php
    /*
    Plugin Name: 123 No Group By ID
    Plugin URI:
    Description: Changes the GROUP BY id in GROUP BY post_date (Problem from MySQL 5.0.51).
    Author: Ingo Henze
    Version: 0.10
    Author URI: https://putzlowitsch.de/
    */ 
    
        // GROUP BY auswerten
        function plw123ngb_posts_groupby( $groupby ) {
            if( preg_match( "/(|[ ,.])id(|[ ,])/i", $groupby ) )
                $groupby = 'post_date';
            return $groupby;
        }
    
        add_filter( 'posts_groupby', 'plw123ngb_posts_groupby' );
    
    ?>

    This is what happens to me today ! I did the last post on the 2nd, January, and today the order was reverse. There were no changes in the Theme or code for ages ? I′m using WordPress 2.0

Viewing 2 replies - 1 through 2 (of 2 total)