Ensure $post_id is documented as optional where applicable.

See #28388.


git-svn-id: https://develop.svn.wordpress.org/trunk@28654 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture)
2014-06-03 04:43:47 +00:00
parent 9bb9177199
commit d068c888f3
6 changed files with 33 additions and 32 deletions
+2 -2
View File
@@ -2195,10 +2195,10 @@ function do_trackbacks($post_id) {
*
* @since 1.2.0
*
* @param int $post_id Post ID. Not actually used.
* @param int $post_id Post ID.
* @return int Same as Post ID from parameter
*/
function generic_ping($post_id = 0) {
function generic_ping( $post_id = 0 ) {
$services = get_option('ping_sites');
$services = explode("\n", $services);