Make WordPress Core


Ignore:
Timestamp:
05/04/2013 12:54:00 PM (11 years ago)
Author:
ocean90
Message:

Revisions: Mark deprecated arguments in wp_list_post_revisions().

  • Second argument is now a string, which controls the revision type
  • Back compat for $argstype?
  • Remove lines for the old form-table format, since it's now just a list

props a.hoereth. fixes #24213.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/meta-boxes.php

    r23352 r24175  
    603603 * @param object $post
    604604 */
    605 function post_revisions_meta_box($post) {
    606     wp_list_post_revisions();
     605function post_revisions_meta_box( $post ) {
     606    wp_list_post_revisions( $post );
    607607}
    608608
Note: See TracChangeset for help on using the changeset viewer.