Changeset 46760
- Timestamp:
- 11/22/2019 06:26:41 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r46759 r46760 1479 1479 * @since 5.0.0 1480 1480 * 1481 * @return bool True if Accepts or Content-Type headers contain application/json, false otherwise. 1481 * @return bool True if `Accepts` or `Content-Type` headers contain `application/json`. 1482 * False otherwise. 1482 1483 */ 1483 1484 function wp_is_json_request() { … … 1528 1529 * @since 5.2.0 1529 1530 * 1530 * @return bool True if `Accepts` or `Content-Type` headers contain XML, false otherwise. 1531 * @return bool True if `Accepts` or `Content-Type` headers contain `text/xml` 1532 * or one of the related MIME types. False otherwise. 1531 1533 */ 1532 1534 function wp_is_xml_request() {
Note: See TracChangeset
for help on using the changeset viewer.