Changeset 61683
- Timestamp:
- 02/18/2026 11:21:46 PM (8 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r61594 r61683 24 24 protected $comment_pending_count = array(); 25 25 26 /** 27 * Whether the list table is for detached media. 28 * 29 * @since 3.1.0 30 * @var bool 31 */ 26 32 private $detached; 27 33 34 /** 35 * Whether the list table is for trash. 36 * 37 * @since 3.1.0 38 * @var bool 39 */ 28 40 private $is_trash; 29 41 … … 54 66 55 67 /** 68 * Checks if the current user has permissions to upload files. 69 * 70 * @since 3.1.0 71 * 56 72 * @return bool Whether the user can upload files. 57 73 */ … … 61 77 62 78 /** 79 * Prepares the list of items for displaying. 80 * 81 * @since 3.1.0 82 * 63 83 * @global string $mode List table view mode. 64 84 * @global WP_Query $wp_query WordPress Query object. 65 * @global array $post_mime_types 66 * @global array $avail_post_mime_types 85 * @global array $post_mime_types An array of post mime types. 86 * @global array $avail_post_mime_types An array of available post mime types. 67 87 */ 68 88 public function prepare_items() { … … 118 138 119 139 /** 120 * @global array $post_mime_types 121 * @global array $avail_post_mime_types 140 * Gets an array of links for the available views on this table. 141 * 142 * @since 3.1.0 143 * 144 * @global array $post_mime_types An array of post mime types. 145 * @global array $avail_post_mime_types An array of available post mime types. 122 146 * @return array<string, string> An array of links for the available views. 123 147 */ … … 199 223 200 224 /** 201 * @param string $which 225 * Displays extra controls between bulk actions and pagination. 226 * 227 * @since 3.1.0 228 * 229 * @param string $which The location of the extra table nav: 'top' or 'bottom'. 202 230 */ 203 231 protected function extra_tablenav( $which ) { … … 254 282 255 283 /** 284 * Displays a message when no media items are found. 285 * 286 * @since 3.1.0 256 287 */ 257 288 public function no_items() { … … 763 794 764 795 /** 765 * @param WP_Post $post 766 * @param string $att_title 796 * Gets the row actions for a media item. 797 * 798 * @since 3.1.0 799 * 800 * @param WP_Post $post The current WP_Post object. 801 * @param string $att_title The attachment title. 767 802 * @return array<string, string> An array of row actions. 768 803 */
Note: See TracChangeset
for help on using the changeset viewer.