- Timestamp:
- 09/06/2026 06:38:39 PM (14 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/abilities-api/class-wp-ability.php
r63391 r63509 370 370 * default, then the built-in default applies. 371 371 */ 372 $args['meta']['show_in_rest'] = $args['meta']['show_in_rest'] ??$args['meta']['public'] ?? self::DEFAULT_SHOW_IN_REST;373 $args['meta']['public'] = $args['meta']['public'] ??self::DEFAULT_PUBLIC;372 $args['meta']['show_in_rest'] ??= $args['meta']['public'] ?? self::DEFAULT_SHOW_IN_REST; 373 $args['meta']['public'] ??= self::DEFAULT_PUBLIC; 374 374 375 375 return $args;
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)