- Timestamp:
- 07/27/2017 12:40:27 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-response.php
r37674 r41162 21 21 * 22 22 * @since 4.4.0 23 * @access protected24 23 * @var array 25 24 */ … … 30 29 * 31 30 * @since 4.4.0 32 * @access protected33 31 * @var string 34 32 */ … … 39 37 * 40 38 * @since 4.4.0 41 * @access protected42 39 * @var null|array 43 40 */ … … 50 47 * 51 48 * @since 4.4.0 52 * @access public53 49 * 54 50 * @link https://tools.ietf.org/html/rfc5988 … … 80 76 * 81 77 * @since 4.4.0 82 * @access public83 78 * 84 79 * @param string $rel Link relation. Either an IANA registered type, or an absolute URL. … … 111 106 * 112 107 * @since 4.4.0 113 * @access public114 108 * 115 109 * @param array $links Map of link relation to list of links. … … 132 126 * 133 127 * @since 4.4.0 134 * @access public135 128 * 136 129 * @return array List of links. … … 146 139 * 147 140 * @since 4.4.0 148 * @access public149 141 * 150 142 * @link https://tools.ietf.org/html/rfc5988 … … 172 164 * 173 165 * @since 4.4.0 174 * @access public175 166 * 176 167 * @return string The matched route. … … 184 175 * 185 176 * @since 4.4.0 186 * @access public187 177 * 188 178 * @param string $route Route name. … … 196 186 * 197 187 * @since 4.4.0 198 * @access public199 188 * 200 189 * @return null|array The handler that was used to create the response. … … 208 197 * 209 198 * @since 4.4.0 210 * @access public211 199 * 212 200 * @param array $handler The matched handler. … … 220 208 * 221 209 * @since 4.4.0 222 * @access public223 210 * 224 211 * @return bool Whether the response is an error. … … 232 219 * 233 220 * @since 4.4.0 234 * @access public235 221 * 236 222 * @return WP_Error|null WP_Error or null on not an errored response. … … 262 248 * 263 249 * @since 4.5.0 264 * @access public265 250 * 266 251 * @return array Compact URIs.
Note: See TracChangeset
for help on using the changeset viewer.