Changeset 2699 for trunk/wp-admin/update-links.php
- Timestamp:
- 07/05/2005 08:47:22 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/update-links.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/update-links.php
r2495 r2699 37 37 38 38 foreach ($returns as $return) : 39 $time = addslashes( substr($return, 0, 19) );40 $uri = addslashes( preg_replace('/(.*?) | (.*?)/', '$2', $return) );39 $time = $wpdb->escape( substr($return, 0, 19) ); 40 $uri = $wpdb->escape( preg_replace('/(.*?) | (.*?)/', '$2', $return) ); 41 41 $wpdb->query("UPDATE $wpdb->links SET link_updated = '$time' WHERE link_url = '$uri'"); 42 42 endforeach;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)