WordPress.org

Make WordPress Core

Ticket #13439: insert_id.diff

File insert_id.diff, 483 bytes (added by scribu, 10 years ago)
  • wp-includes/wp-db.php

     
    108108        var $rows_affected = 0;
    109109
    110110        /**
     111         * The ID generated for an AUTO_INCREMENT column by the previous query (usually INSERT).
     112         *
     113         * @since 0.71
     114         * @access public
     115         * @var int
     116         */
     117        var $insert_id = 0;
     118
     119        /**
    111120         * Saved result of the last query made
    112121         *
    113122         * @since 1.2.0