Changeset 41581 for trunk/src/wp-admin/includes/meta-boxes.php
- Timestamp:
- 09/23/2017 05:06:40 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r41563 r41581 245 245 * 246 246 * @since 2.7.0 247 */ 248 do_action( 'post_submitbox_start' ); 247 * @since 4.9.0 Added the `$post` parameter. 248 * 249 * @param WP_Post|null $post WP_Post object for the current post on Edit Post screen, 250 * null on Edit Link screen. 251 */ 252 do_action( 'post_submitbox_start', $post ); 249 253 ?> 250 254 <div id="delete-action"> … … 327 331 * 328 332 * @since 3.5.0 333 * @since 4.9.0 Added the `$post` parameter. 334 * 335 * @param WP_Post $post WP_Post object for the current attachment. 329 336 */ 330 do_action( 'attachment_submitbox_misc_actions' );337 do_action( 'attachment_submitbox_misc_actions', $post ); 331 338 ?> 332 339 </div><!-- #misc-publishing-actions --> … … 915 922 <?php 916 923 /** This action is documented in wp-admin/includes/meta-boxes.php */ 917 do_action( 'post_submitbox_start' );924 do_action( 'post_submitbox_start', null ); 918 925 ?> 919 926 <div id="delete-action">
Note: See TracChangeset
for help on using the changeset viewer.