[wp-trac] [WordPress Trac] #21870: @ error control operator hides fatal error on mysql_fetch_object

WordPress Trac noreply at wordpress.org
Tue Jan 13 02:03:47 UTC 2015


#21870: @ error control operator hides fatal error on mysql_fetch_object
---------------------------+------------------
 Reporter:  ericlewis      |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  4.2
Component:  Database       |     Version:  1.5
 Severity:  normal         |  Resolution:
 Keywords:  needs-refresh  |     Focuses:
---------------------------+------------------

Comment (by ericlewis):

 While we're at it, we should consider removing all 14 `@mysql_*`
 invocations.

 [https://core.trac.wordpress.org/browser/tags/4.0/src/wp-includes/wp-
 db.php#L983 1], [https://core.trac.wordpress.org/browser/tags/4.0/src/wp-
 includes/wp-db.php#L985 2],
 [https://core.trac.wordpress.org/browser/tags/4.0/src/wp-includes/wp-
 db.php#L1381 3], [https://core.trac.wordpress.org/browser/tags/4.0/src/wp-
 includes/wp-db.php#L1411 4],
 [https://core.trac.wordpress.org/browser/tags/4.0/src/wp-includes/wp-
 db.php#L1465 5], [https://core.trac.wordpress.org/browser/tags/4.0/src/wp-
 includes/wp-db.php#L1469 6],
 [https://core.trac.wordpress.org/browser/tags/4.0/src/wp-includes/wp-
 db.php#L1617 7], [https://core.trac.wordpress.org/browser/tags/4.0/src/wp-
 includes/wp-db.php#L1622 8],
 [https://core.trac.wordpress.org/browser/tags/4.0/src/wp-includes/wp-
 db.php#L1653 9], [https://core.trac.wordpress.org/browser/tags/4.0/src/wp-
 includes/wp-db.php#L1655 10],
 [https://core.trac.wordpress.org/browser/tags/4.0/src/wp-includes/wp-
 db.php#L2001 11], [https://core.trac.wordpress.org/browser/tags/4.0/src
 /wp-includes/wp-db.php#L2002 12],
 [https://core.trac.wordpress.org/browser/tags/4.0/src/wp-includes/wp-
 db.php#L2005 13], [https://core.trac.wordpress.org/browser/tags/4.0/src
 /wp-includes/wp-db.php#L2006 14].

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21870#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list