Changeset 52978 for trunk/src/wp-includes/class-wp-xmlrpc-server.php
- Timestamp:
- 03/22/2022 04:23:32 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r52575 r52978 6895 6895 } else { 6896 6896 // TODO: Attempt to extract a post ID from the given URL. 6897 return $this->pingback_error( 33, __( 'The specified target URL cannot be used as a target. It either does n’t exist, or it is not a pingback-enabled resource.' ) );6897 return $this->pingback_error( 33, __( 'The specified target URL cannot be used as a target. It either does not exist, or it is not a pingback-enabled resource.' ) ); 6898 6898 } 6899 6899 $post_ID = (int) $post_ID; … … 6902 6902 6903 6903 if ( ! $post ) { // Post not found. 6904 return $this->pingback_error( 33, __( 'The specified target URL cannot be used as a target. It either does n’t exist, or it is not a pingback-enabled resource.' ) );6904 return $this->pingback_error( 33, __( 'The specified target URL cannot be used as a target. It either does not exist, or it is not a pingback-enabled resource.' ) ); 6905 6905 } 6906 6906 … … 6911 6911 // Check if pings are on. 6912 6912 if ( ! pings_open( $post ) ) { 6913 return $this->pingback_error( 33, __( 'The specified target URL cannot be used as a target. It either does n’t exist, or it is not a pingback-enabled resource.' ) );6913 return $this->pingback_error( 33, __( 'The specified target URL cannot be used as a target. It either does not exist, or it is not a pingback-enabled resource.' ) ); 6914 6914 } 6915 6915 … … 7076 7076 if ( ! $post_ID ) { 7077 7077 // We aren't sure that the resource is available and/or pingback enabled. 7078 return $this->pingback_error( 33, __( 'The specified target URL cannot be used as a target. It either does n’t exist, or it is not a pingback-enabled resource.' ) );7078 return $this->pingback_error( 33, __( 'The specified target URL cannot be used as a target. It either does not exist, or it is not a pingback-enabled resource.' ) ); 7079 7079 } 7080 7080
Note: See TracChangeset
for help on using the changeset viewer.