Make WordPress Core


Ignore:
Timestamp:
08/30/2006 04:40:17 PM (19 years ago)
Author:
ryan
Message:

s/URI/URL/. Props Nazgul. fixes #2666

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r4119 r4133  
    815815//
    816816
    817 function add_ping($post_id, $uri) { // Add a URI to those already pung
     817function add_ping($post_id, $uri) { // Add a URL to those already pung
    818818    global $wpdb;
    819819    $pung = $wpdb->get_var("SELECT pinged FROM $wpdb->posts WHERE ID = $post_id");
     
    845845}
    846846
    847 function get_pung($post_id) { // Get URIs already pung for a post
     847function get_pung($post_id) { // Get URLs already pung for a post
    848848    global $wpdb;
    849849    $pung = $wpdb->get_var("SELECT pinged FROM $wpdb->posts WHERE ID = $post_id");
     
    854854}
    855855
    856 function get_to_ping($post_id) { // Get any URIs in the todo list
     856function get_to_ping($post_id) { // Get any URLs in the todo list
    857857    global $wpdb;
    858858    $to_ping = $wpdb->get_var("SELECT to_ping FROM $wpdb->posts WHERE ID = $post_id");
     
    11101110        foreach ($posts as $id => $post) {
    11111111
    1112             // URI => page name
     1112            // URL => page name
    11131113            $uri = get_page_uri($id);
    11141114            $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.