Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57272


Ignore:
Timestamp:
12/05/2022 02:22:19 PM (19 months ago)
Author:
johnbillion
Comment:

Thanks for the report @brahimwpk . What's the actual bug you're seeing please?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57272

    • Property Keywords reporter-feedback added
  • Ticket #57272 – Description

    initial v1  
    55wp-includes/class-wp-query.php in this bloc
    66
     7
     8{{{#!php
     9<?php
    710if ( $q['m'] ) {
    811    if(strlen( $q['m'] ) == 6){
     12}}}
    913
    1014i changed the where statement :
    1115
     16{{{#!php
     17<?php
    1218$where .= " AND {$wpdb->posts}.post_date <= '$end_date' AND {$wpdb->posts}.post_date >= '$start_date' ";
     19
     20}}}
    1321
    1422to :
    1523
     24{{{#!php
     25<?php
    1626$where .= " AND {$wpdb->posts}.post_date <= '$end_date 23:59:59' AND {$wpdb->posts}.post_date >= '$start_date' ";
     27}}}