Changeset 12398
- Timestamp:
- 02/16/2023 07:26:34 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
r12336 r12398 330 330 */ 331 331 function excerpt_length( $excerpt ) { 332 /* 333 * Don't run this filter during rest-api requests. 334 * This shouldn't normally be needed, but this avoids accidental shortening of the API fields. 335 */ 336 if ( defined( 'REST_REQUEST' ) && REST_REQUEST ) { 337 return $excerpt; 338 } 339 332 340 if ( is_home() || is_archive() ) { 333 341 /*
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)