Changeset 44291 for trunk/src/wp-admin/includes/misc.php
- Timestamp:
- 12/18/2018 04:13:59 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43920
- Property svn:mergeinfo changed
-
trunk/src/wp-admin/includes/misc.php
r44275 r44291 1613 1613 * 1614 1614 * @since 4.9.6 1615 * 1616 * @param WP_Post $post The currently edited post. 1615 * @since 5.0.0 The $post parameter is now optional. 1616 * 1617 * @param WP_Post|null $post The currently edited post. Default null. 1617 1618 */ 1618 public static function notice( $post ) { 1619 public static function notice( $post = null ) { 1620 $post = get_post( $post ); 1621 1619 1622 if ( ! ( $post instanceof WP_Post ) ) { 1620 1623 return;
Note: See TracChangeset
for help on using the changeset viewer.