Plugin Directory

Changeset 1123801


Ignore:
Timestamp:
03/30/2015 06:02:49 PM (11 years ago)
Author:
mardojai
Message:

Error fix

Location:
simple-alert-boxes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • simple-alert-boxes/tags/1.1/plugin.php

    r1123786 r1123801  
    4040    return '<div class="alert ' . $atts['type'] . '"><p>' . $atts['text'] . '' . $content . '</p></div>';
    4141}
    42 function my_admin_notice() {
    43     ?>
    44     <div class="updated">
    45         <h2><strong>Simple Alert Boxes Updated!</strong></h2>
    46         <p><strong></strong><?php _e( 'Welcome to de New version!', 'my-text-domain' ); ?></p>
    47     </div>
    48     <?php
    49 }
    50 add_action( 'admin_notices', 'my_admin_notice' );
    5142?>
  • simple-alert-boxes/trunk/plugin.php

    r1123786 r1123801  
    4040    return '<div class="alert ' . $atts['type'] . '"><p>' . $atts['text'] . '' . $content . '</p></div>';
    4141}
    42 function my_admin_notice() {
    43     ?>
    44     <div class="updated">
    45         <h2><strong>Simple Alert Boxes Updated!</strong></h2>
    46         <p><strong></strong><?php _e( 'Welcome to de New version!', 'my-text-domain' ); ?></p>
    47     </div>
    48     <?php
    49 }
    50 add_action( 'admin_notices', 'my_admin_notice' );
    5142?>
Note: See TracChangeset for help on using the changeset viewer.