WordPress.org

Plugin Directory

Changeset 457249


Ignore:
Timestamp:
10/29/11 23:14:25 (6 years ago)
Author:
ciobi
Message:

rtxt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin-customization/tags/2.0.1/admin/admin.php

    r457241 r457249  
    5050        screen_icon(); 
    5151        echo "<h2>" . $this->args['page_title'] . "</h2>\n"; 
    52         /* echo '<p class="note">' . __( 'Note: If you don\\'t see any changes immediately after you saved, just <a href="' . admin_url('options-general.php?page=admin-customization') . '">refresh</a> or visit a different admin page.', $this->textdomain ) . "<p>"; */ 
     52        echo '<p class="note">' . sprintf( __( 'Note: If you don\'t see any changes immediately after you saved, just <a href="%1$s">refresh</a> or visit a different admin page.', $this->textdomain ), admin_url('options-general.php?page=admin-customization') ) . "<p>";  
    5353 
    5454        $this->verify_file_existence( $this->options->favicon, true );   
     
    9292        if ( !isset( $_POST['general_preferences_button'] ) ) 
    9393            return; 
    94              
    95         $this->admin_msg( __( 'General settings saved.', $this->textdomain ) ); 
     94 
     95        $this->admin_msg( sprintf( __( 'General settings saved. Please <a href="%1$s">refresh</a> to see the changes.', $this->textdomain ), admin_url('options-general.php?page=admin-customization') ) );  
     96        // $this->admin_msg( __( 'General settings saved.', $this->textdomain ) ); 
    9697        $this->options->general_settings = (array) @$_POST['general']; 
    9798 
     
    178179            return; 
    179180         
    180         $this->admin_msg( __( 'Style preferences changes saved.', $this->textdomain ) ); 
     181        // $this->admin_msg( __( 'Style preferences changes saved.', $this->textdomain ) ); 
     182        $this->admin_msg( sprintf( __( 'Style preferences changes saved. Please <a href="%1$s">refresh</a> to see the changes.', $this->textdomain ), admin_url('options-general.php?page=admin-customization') ) ); 
    181183 
    182184        foreach ( array( 'favicon', 'login_logo', 'admin_logo', 'style_settings' ) as $key ) { 
     
    192194 
    193195        // Refresh page 
    194         header( 'Location: ' . admin_url('options-general.php?page=admin-customization') ); 
     196        // header( 'Location: ' . admin_url('options-general.php?page=admin-customization') ); 
    195197    } 
    196198 
Note: See TracChangeset for help on using the changeset viewer.