Make WordPress Core


Ignore:
Timestamp:
11/30/2014 11:27:19 AM (7 years ago)
Author:
DrewAPicture
Message:

Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-admin/includes/*.

Also adds a few inline @see cross-references as they apply.

Affects DocBlocks for the following hooks:

  • views_{$this->screen->id}
  • bulk_actions-{$this->screen->id}
  • manage_{$this->screen->id}_sortable_columns
  • theme_action_links_$stylesheet
  • after_theme_row_$stylesheet
  • install_plugins_table_api_args_$tab
  • $prefix . plugin_action_links
  • after_plugin_row_$plugin_file
  • manage_taxonomies_for_{$post_type}_columns
  • manage_{$post_type}_posts_columns
  • manage_{$post->post_type}_posts_custom_column
  • {$taxonomy}_row_actions
  • manage_{$this->screen->taxonomy}_custom_column
  • install_themes_table_api_args_' . $tab
  • auto_update_ . $type
  • {$action}_prefilter
  • admin_head_{$content_func}
  • nav_menu_items_{$post_type_name}
  • activate_ . $plugin
  • deactivate_ . $plugin
  • edit_{$post_type}_per_page
  • postbox_classes_{$page}_{$id}
  • _wp_post_revision_field_$field
  • manage_{$screen->id}_columns
  • in_plugin_update_message-{$file}
  • in_theme_update_message-{$theme_key}

See #30552.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/media.php

    r30600 r30648  
    495495     * (pre-3.5.0) media upload popup.
    496496     *
    497      * The dynamic portion of the hook, $content_func, refers to the form
     497     * The dynamic portion of the hook, `$content_func`, refers to the form
    498498     * callback for the media upload type. Possible values include
    499499     * 'media_upload_type_form', 'media_upload_type_url_form', and
     
    596596     * Filter the upload iframe source URL for a specific media type.
    597597     *
    598      * The dynamic portion of the hook name, $type, refers to the type
     598     * The dynamic portion of the hook name, `$type`, refers to the type
    599599     * of media uploaded.
    600600     *
     
    764764             * Filter the URL sent to the editor for a specific media type.
    765765             *
    766              * The dynamic portion of the hook name, $type, refers to the type
     766             * The dynamic portion of the hook name, `$type`, refers to the type
    767767             * of media being sent.
    768768             *
Note: See TracChangeset for help on using the changeset viewer.