~vcs-imports/wordpress/trunk

Viewing all changes in revision 41538.

  • Committer: whyisjake
  • Date: 2020-06-04 15:00:09 UTC
  • Revision ID: svn-v4:1a063a9b-81f0-0310-95a4-ce76da25c4cd:trunk:47683
Media: Add an action for `wp_media_attach_action`.

This action fires when media is attached/detached from a post.

Fixes: #49614.
Props: jonoaldersonwp, antpb, rebasaurus, donmhico. 


Built from https://develop.svn.wordpress.org/trunk@47909

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: