[wp-trac] [WordPress Trac] #47095: wpdb documentation last_query is a string

WordPress Trac noreply at wordpress.org
Thu May 2 08:16:28 UTC 2019


#47095: wpdb documentation last_query is a string
-------------------------+-----------------------------
 Reporter:  nextendweb   |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Database     |    Version:  5.1.1
 Severity:  normal       |   Keywords:
  Focuses:  docs         |
-------------------------+-----------------------------
 In the file wp-includes/wp-db.php the $last_query property described as
 array in PHPDoc while it is a string.

 Original:
 {{{#!php
 <?php
         /**
          * Last query made
          *
          * @since 0.71
          * @var array
          */
         var $last_query;
 }}}

 Updated:
 {{{#!php
 <?php
         /**
          * Last query made
          *
          * @since 0.71
          * @var string
          */
         var $last_query;
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47095>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list