Changeset 4133 for trunk/wp-includes/post.php
- Timestamp:
- 08/30/2006 04:40:17 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r4119 r4133 815 815 // 816 816 817 function add_ping($post_id, $uri) { // Add a UR Ito those already pung817 function add_ping($post_id, $uri) { // Add a URL to those already pung 818 818 global $wpdb; 819 819 $pung = $wpdb->get_var("SELECT pinged FROM $wpdb->posts WHERE ID = $post_id"); … … 845 845 } 846 846 847 function get_pung($post_id) { // Get UR Is already pung for a post847 function get_pung($post_id) { // Get URLs already pung for a post 848 848 global $wpdb; 849 849 $pung = $wpdb->get_var("SELECT pinged FROM $wpdb->posts WHERE ID = $post_id"); … … 854 854 } 855 855 856 function get_to_ping($post_id) { // Get any UR Is in the todo list856 function get_to_ping($post_id) { // Get any URLs in the todo list 857 857 global $wpdb; 858 858 $to_ping = $wpdb->get_var("SELECT to_ping FROM $wpdb->posts WHERE ID = $post_id"); … … 1110 1110 foreach ($posts as $id => $post) { 1111 1111 1112 // UR I=> page name1112 // URL => page name 1113 1113 $uri = get_page_uri($id); 1114 1114 $attachments = $wpdb->get_results("SELECT ID, post_name, post_parent FROM $wpdb->posts WHERE post_type = 'attachment' AND post_parent = '$id'");
Note: See TracChangeset
for help on using the changeset viewer.