- Timestamp:
- 07/27/2017 12:40:27 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php
r39436 r41162 19 19 * 20 20 * @since 4.7.0 21 * @access protected22 21 * 23 22 * @return string One of 'post', 'comment', 'term', 'user', or anything … … 30 29 * 31 30 * @since 4.7.0 32 * @access protected33 31 * 34 32 * @return string The REST field type, such as post type name, taxonomy name, 'comment', or `user`. … … 40 38 * 41 39 * @since 4.7.0 42 * @access public43 40 * 44 41 * @see register_rest_field() … … 56 53 * 57 54 * @since 4.7.0 58 * @access public59 55 * 60 56 * @param int $object_id Object ID to fetch meta for. … … 97 93 * 98 94 * @since 4.7.0 99 * @access protected100 95 * 101 96 * @param mixed $value Meta value to prepare. … … 116 111 * 117 112 * @since 4.7.0 118 * @access public119 113 * 120 114 * @param array $meta Array of meta parsed from the request. … … 168 162 * 169 163 * @since 4.7.0 170 * @access protected171 164 * 172 165 * @param int $object_id Object ID the field belongs to. … … 203 196 * 204 197 * @since 4.7.0 205 * @access protected206 198 * 207 199 * @param int $object_id Object ID to update. … … 275 267 * 276 268 * @since 4.7.0 277 * @access protected278 269 * 279 270 * @param int $object_id Object ID to update. … … 321 312 * 322 313 * @since 4.7.0 323 * @access protected324 314 * 325 315 * @return array Registered fields. … … 380 370 * 381 371 * @since 4.7.0 382 * @access protected383 372 * 384 373 * @return array Field schema data. … … 412 401 * 413 402 * @since 4.7.0 414 * @access public415 403 * 416 404 * @param mixed $value Meta value from the database. … … 454 442 * 455 443 * @since 4.7.0 456 * @access public457 444 * 458 445 * @param mixed $value The meta value submitted in the request.
Note: See TracChangeset
for help on using the changeset viewer.