Make WordPress Core

Timestamp:
10/21/2016 05:59:34 AM (8 years ago)
Author:
pento
Message:

Pings: Allow ping functions to accept WP_Post objects as well as post IDs.

This removes the use of several global $wpdb instances, as well as bringing the ping functions into line with other post-related functions, which will accept a post ID or WP_Post object.

Props dshanke.
Fixes #38202.

File:
1 added

Note: See TracChangeset for help on using the changeset viewer.