Make WordPress Core

Opened 4 months ago

Last modified 7 days ago

#64606 assigned enhancement

Add get and post/pages abilities

Reported by: jorgefilipecosta's profile jorgefilipecosta Owned by: jorgefilipecosta's profile jorgefilipecosta
Milestone: 7.1 Priority: normal
Severity: normal Version:
Component: Abilities API Keywords: has-patch has-unit-tests
Focuses: Cc:

Description

This tracks the addition of get abilities for post types via the Abilities API, enabling AI agents to retrieve posts and pages through core/post-type/{slug}/get. It should introduce a show_in_abilities option on register_post_type() to control which post types expose abilities, enabled by default for post and page initially (then we can expand to menus, media etc)-
It should support single-post retrieval by ID and multi-post querying with filters for status, author, search, taxonomy, meta, date, comment status, ping status, advanced taxonomies, date or meta queries.

Change History (9)

#1 @jorgefilipecosta
4 months ago

  • Type changed from defect (bug) to enhancement

#2 @gziolo
3 months ago

  • Milestone changed from Awaiting Review to Future Release

#3 @JeffPaul
3 months ago

  • Keywords abilities added

This ticket was mentioned in PR #11488 on WordPress/wordpress-develop by @ishikaatxecurify.


2 months ago
#4

  • Keywords has-patch has-unit-tests added

Added get abilities for post types via the Abilities API, enabling AI agents to retrieve posts and pages through core/post-type/{slug}/get.

Trac ticket: https://core.trac.wordpress.org/ticket/64606

## Use of AI Tools

#5 @desrosj
7 weeks ago

  • Component changed from AI to Abilities API

Moving tickets related to the Abilities API to a new sub-component.

#6 @audrasjb
3 weeks ago

Removing trunk version as this is not going to be shipped with WP 7.0 but in the next releases.

#7 @desrosj
3 weeks ago

  • Keywords abilities removed

Removing abilities and abilities-api custom keywords. This is now indicated by the Abilities API component.

#8 @desrosj
3 weeks ago

  • Keywords changed from has-patch, has-unit-tests to has-patch has-unit-tests
  • Version trunk deleted

Since this is an enhancement, there's no first version of WordPress this can be reproduced in. Removing trunk version.

#9 @gziolo
7 days ago

  • Milestone changed from Future Release to 7.1
  • Owner set to jorgefilipecosta
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.