WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#25374 closed enhancement (fixed)

Hook Docs: wp-admin/includes/ajax-actions.php

Reported by: DrewAPicture Owned by: DrewAPicture
Milestone: 3.7 Priority: normal
Severity: normal Version:
Component: Inline Docs Keywords: has-patch commit
Focuses: Cc:

Description

The attached patch documents the following hooks:

Filters:

  • heartbeat_nopriv_received
  • heartbeat_nopriv_send
  • autocomplete_users_for_site_admins (duplicate)
  • wp_edit_nav_menu_walker
  • nav_menu_meta_box_object
  • wp_check_post_lock_window
  • ajax_query_attachments_args
  • attachment_fields_to_save (duplicate)
  • media_send_to_editor (duplicate)
  • $type_send_to_editor_url (duplicate)
  • heartbeat_received
  • heartbeat_send

Actions:

  • heartbeat_nopriv_tick
  • load-widgets.php
  • widgets.php
  • sidebar_admin_setup
  • heartbeat_tick

Attachments (2)

25374.diff (6.2 KB) - added by DrewAPicture 8 years ago.
25374.2.diff (6.2 KB) - added by DrewAPicture 8 years ago.
@since for widgets.php action, various tweaks

Download all attachments as: .zip

Change History (6)

@DrewAPicture
8 years ago

@DrewAPicture
8 years ago

@since for widgets.php action, various tweaks

#1 @kpdesign
8 years ago

  • Keywords commit added

Reviewed both patches. All filter docblocks correct per the documentation standard. Ready to go in.

#2 @DrewAPicture
8 years ago

  • Owner set to DrewAPicture
  • Resolution set to fixed
  • Status changed from new to closed

In 25558:

Inline documentation for hooks in wp-admin/includes/ajax-actions.php.

Fixes #25374.

#3 @DrewAPicture
8 years ago

In 26981:

Hook docs spacing and standards fixes for wp-admin/includes/ajax-actions.php.

See #25374.

#4 @DrewAPicture
8 years ago

In 27823:

The sidebar_admin_setup hook should only be documented once in wp-admin/widgets.php. All others are duplicates.

See #25374, #25501, #27531.

Note: See TracTickets for help on using tickets.