Changeset 58783 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php
- Timestamp:
- 07/23/2024 07:49:54 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php
r56415 r58783 511 511 if ( rest_is_field_included( 'title.rendered', $fields ) ) { 512 512 add_filter( 'protected_title_format', array( $this, 'protected_title_format' ) ); 513 add_filter( 'private_title_format', array( $this, 'protected_title_format' ) ); 513 514 514 515 /** This filter is documented in wp-includes/post-template.php */ … … 518 519 519 520 remove_filter( 'protected_title_format', array( $this, 'protected_title_format' ) ); 521 remove_filter( 'private_title_format', array( $this, 'protected_title_format' ) ); 520 522 } 521 523
Note: See TracChangeset
for help on using the changeset viewer.