Changeset 53719 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 07/19/2022 02:00:35 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r53715 r53719 1147 1147 function get_trackback_url() { 1148 1148 if ( get_option( 'permalink_structure' ) ) { 1149 $t b_url = trailingslashit( get_permalink() ) . user_trailingslashit( 'trackback', 'single_trackback' );1149 $trackback_url = trailingslashit( get_permalink() ) . user_trailingslashit( 'trackback', 'single_trackback' ); 1150 1150 } else { 1151 $t b_url = get_option( 'siteurl' ) . '/wp-trackback.php?p=' . get_the_ID();1151 $trackback_url = get_option( 'siteurl' ) . '/wp-trackback.php?p=' . get_the_ID(); 1152 1152 } 1153 1153 … … 1157 1157 * @since 2.2.0 1158 1158 * 1159 * @param string $t b_url The trackback URL.1160 */ 1161 return apply_filters( 'trackback_url', $t b_url );1159 * @param string $trackback_url The trackback URL. 1160 */ 1161 return apply_filters( 'trackback_url', $trackback_url ); 1162 1162 } 1163 1163
Note: See TracChangeset
for help on using the changeset viewer.