Merged in feature/81-dev-dev01 (pull request #5)
auto-patch 81-dev-dev01-2023-12-05T22_45_26 * auto-patch 81-dev-dev01-2023-12-05T22_45_26
This commit is contained in:
@@ -87,13 +87,22 @@ echo esc_html( $title );
|
||||
?>
|
||||
</h1>
|
||||
|
||||
<a href="link-add.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'link' ); ?></a>
|
||||
<a href="link-add.php" class="page-title-action"><?php echo esc_html__( 'Add New Link' ); ?></a>
|
||||
|
||||
<hr class="wp-header-end">
|
||||
|
||||
<?php if ( isset( $_GET['added'] ) ) : ?>
|
||||
<div id="message" class="updated notice is-dismissible"><p><?php _e( 'Link added.' ); ?></p></div>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
if ( isset( $_GET['added'] ) ) {
|
||||
wp_admin_notice(
|
||||
__( 'Link added.' ),
|
||||
array(
|
||||
'id' => 'message',
|
||||
'additional_classes' => array( 'updated' ),
|
||||
'dismissible' => true,
|
||||
)
|
||||
);
|
||||
}
|
||||
?>
|
||||
|
||||
<form name="<?php echo esc_attr( $form_name ); ?>" id="<?php echo esc_attr( $form_name ); ?>" method="post" action="link.php">
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user