Changeset 26358 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 11/24/2013 04:25:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r26121 r26358 1006 1006 * 1007 1007 * @param int $comment_id Comment ID 1008 * @param string $ comment_type Optional. The comment type either 'comment' (default), 'trackback', or 'pingback'1008 * @param string $deprecated Not used 1009 1009 * @return bool False if user email does not exist. True on completion. 1010 1010 */ 1011 function wp_notify_postauthor( $comment_id, $comment_type = '' ) { 1011 function wp_notify_postauthor( $comment_id, $deprecated = null ) { 1012 if ( null !== $deprecated ) { 1013 _deprecated_argument( __FUNCTION__, '3.8' ); 1014 } 1015 1012 1016 $comment = get_comment( $comment_id ); 1013 1017 if ( empty( $comment ) ) … … 1039 1043 $blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES); 1040 1044 1041 if ( empty( $comment_type ) ) $comment_type = 'comment';1045 $comment_type = $comment->comment_type ? $comment->comment_type : 'comment'; 1042 1046 1043 1047 switch ( $comment_type ) {
Note: See TracChangeset
for help on using the changeset viewer.