Make WordPress Core

Changeset 24884 for trunk


Ignore:
Timestamp:
07/29/2013 07:40:13 PM (13 years ago)
Author:
nacin
Message:

Rename post_lock_text hook to post_locked_dialog, and lock_taken_over_dialog to post_lock_lost_dialog. fixes #24830 for trunk.

File:
1 edited

Legend:

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

    r24883 r24884  
    12631263                <div class="post-locked-avatar"><?php echo get_avatar( $user->ID, 64 ); ?></div>
    12641264                <p class="currently-editing wp-tab-first" tabindex="0"><?php echo esc_html( sprintf( __( 'This content is currently locked. If you take over, %s will be blocked from continuing to edit.' ), $user->display_name ) ); ?></p>
    1265                 <?php do_action( 'post_lock_text', $post ); ?>
     1265                <?php do_action( 'post_locked_dialog', $post ); ?>
    12661266                <p>
    12671267                <a class="button" href="<?php echo esc_url( $sendback ); ?>"><?php echo $sendback_text; ?></a>
     
    12911291                        <span class="locked-saved hidden"><?php _e('Your latest changes were saved as a revision.'); ?></span>
    12921292                        </p>
    1293                         <?php do_action( 'lock_taken_over_dialog', $post ); ?>
     1293                        <?php do_action( 'post_lock_lost_dialog', $post ); ?>
    12941294                        <p><a class="button button-primary wp-tab-last" href="<?php echo esc_url( $sendback ); ?>"><?php echo $sendback_text; ?></a></p>
    12951295                </div>
Note: See TracChangeset for help on using the changeset viewer.