WordPress.org

Plugin Directory

Changeset 407856


Ignore:
Timestamp:
07/10/11 13:20:36 (7 years ago)
Author:
ciobi
Message:

rm headers error

Location:
admin-customization
Files:
2 edited

Legend:

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

    r407665 r407856  
    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">' . __( '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>"; 
    5353 
    5454        $this->verify_file_existence( $this->options->favicon, true );   
     
    9393            return; 
    9494             
    95         $this->admin_msg( __( 'General settings saved.', $this->textdomain ) ); 
     95        $this->admin_msg( __( 'General settings saved. Please <a href="' . admin_url('options-general.php?page=admin-customization') . '">refresh</a> to see the changes.', $this->textdomain ) ); 
    9696        $this->options->general_settings = (array) @$_POST['general']; 
    9797 
    9898        // Refresh page 
    99         header( 'Location: ' . admin_url('options-general.php?page=admin-customization') ); 
     99        // header( 'Location: ' . admin_url('options-general.php?page=admin-customization') ); 
    100100    } 
    101101 
     
    178178            return; 
    179179         
    180         $this->admin_msg( __( 'Style preferences changes saved.', $this->textdomain ) ); 
     180        $this->admin_msg( __( 'Style preferences changes saved. Please <a href="' . admin_url('options-general.php?page=admin-customization') . '">refresh</a> to see the changes.', $this->textdomain ) ); 
    181181 
    182182        foreach ( array( 'favicon', 'login_logo', 'admin_logo', 'style_settings' ) as $key ) { 
     
    192192 
    193193        // Refresh page 
    194         header( 'Location: ' . admin_url('options-general.php?page=admin-customization') ); 
     194        // header( 'Location: ' . admin_url('options-general.php?page=admin-customization') ); 
    195195    } 
    196196 
  • admin-customization/trunk/admin/admin.php

    r407665 r407856  
    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">' . __( '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>"; 
    5353 
    5454        $this->verify_file_existence( $this->options->favicon, true );   
     
    9393            return; 
    9494             
    95         $this->admin_msg( __( 'General settings saved.', $this->textdomain ) ); 
     95        $this->admin_msg( __( 'General settings saved. Please <a href="' . admin_url('options-general.php?page=admin-customization') . '">refresh</a> to see the changes.', $this->textdomain ) ); 
    9696        $this->options->general_settings = (array) @$_POST['general']; 
    9797 
    9898        // Refresh page 
    99         header( 'Location: ' . admin_url('options-general.php?page=admin-customization') ); 
     99        // header( 'Location: ' . admin_url('options-general.php?page=admin-customization') ); 
    100100    } 
    101101 
     
    178178            return; 
    179179         
    180         $this->admin_msg( __( 'Style preferences changes saved.', $this->textdomain ) ); 
     180        $this->admin_msg( __( 'Style preferences changes saved. Please <a href="' . admin_url('options-general.php?page=admin-customization') . '">refresh</a> to see the changes.', $this->textdomain ) ); 
    181181 
    182182        foreach ( array( 'favicon', 'login_logo', 'admin_logo', 'style_settings' ) as $key ) { 
     
    192192 
    193193        // Refresh page 
    194         header( 'Location: ' . admin_url('options-general.php?page=admin-customization') ); 
     194        // header( 'Location: ' . admin_url('options-general.php?page=admin-customization') ); 
    195195    } 
    196196 
Note: See TracChangeset for help on using the changeset viewer.