Changeset 35848 for trunk/src/wp-includes/deprecated.php
- Timestamp:
- 12/10/2015 03:05:34 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r35624 r35848 3636 3636 return force_ssl_admin( $force ); 3637 3637 } 3638 3639 /** 3640 * Retrieve path of comment popup template in current or parent template. 3641 * 3642 * @since 1.5.0 3643 * @deprecated 4.5.0 3644 * 3645 * @return string Full path to comments popup template file. 3646 */ 3647 function get_comments_popup_template() { 3648 _deprecated_function( __FUNCTION__, '4.5' ); 3649 3650 return ''; 3651 } 3652 3653 /** 3654 * Whether the current URL is within the comments popup window. 3655 * 3656 * @since 1.5.0 3657 * @deprecated 4.5.0 3658 * 3659 * @return bool 3660 */ 3661 function is_comments_popup() { 3662 _deprecated_function( __FUNCTION__, '4.5' ); 3663 3664 return false; 3665 } 3666 3667 /** 3668 * Display the JS popup script to show a comment. 3669 * 3670 * @since 0.71 3671 * @deprecated 4.5.0 3672 */ 3673 function comments_popup_script() { 3674 _deprecated_function( __FUNCTION__, '4.5' ); 3675 } 3676 3677 /** 3678 * Adds element attributes to open links in new windows. 3679 * 3680 * @since 0.71 3681 * @deprecated 4.5.0 3682 * 3683 * @param string $text Content to replace links to open in a new window. 3684 * @return string Content that has filtered links. 3685 */ 3686 function popuplinks( $text ) { 3687 _deprecated_function( __FUNCTION__, '4.5' ); 3688 $text = preg_replace('/<a (.+?)>/i', "<a $1 target='_blank' rel='external'>", $text); 3689 return $text; 3690 }
Note: See TracChangeset
for help on using the changeset viewer.