Changeset 632

Show
Ignore:
Timestamp:
12/19/03 00:41:33 (5 years ago)
Author:
mikelittle
Message:

Upgrade of option values for link images after directory move

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/upgrade-072-to-080.php

    r614 r632  
    235235?> 
    236236<p>Comment spammers should now watch out for you.</p> 
    237 <p>See, that didn&#8217;t hurt a bit (again). Now on to the <a href="upgrade-072-to-080.php?step=3">final step</a>.</p> 
     237<p>See, that didn&#8217;t hurt a bit (again). Now on to the <a href="upgrade-072-to-080.php?step=3">next step</a>.</p> 
    238238  <?php 
    239239    break; 
     
    242242 
    243243<h1>Step 3</h1> 
    244 <p>This is the final step, and the most exciting. We&#8217;re going to make it so each post can now have multiple categories. Hold on tight.</p> 
     244<p>This is a most exciting step. We&#8217;re going to make it so each post can now have multiple categories. Hold on tight.</p> 
    245245<?php 
    246246// Create post2cat table 
     
    281281?> 
    282282 All done!</p> 
     283 <p>You are ready to rock &#8217;n roll. <a href="upgrade-072-to-080.php?step=4">Next step</a>.</p> 
     284<?php 
     285    break; 
     286    case 4: 
     287?> 
     288 
     289<h1>Step 4</h1> 
     290<p>This is the final step. We&#8217;re going to update the paths for the default links images that have moved.</p> 
     291<p>If you do not still have the default settings it will <strong>not</strong> make any changes.</p> 
     292<?php 
     293$wpdb->query("UPDATE $tableoptions SET option_value = REPLACE(option_value, 'wp-links/links-images/', 'wp-images/links/') 
     294                                                      WHERE option_name LIKE 'links_rating_image%' 
     295                                                      AND option_value LIKE 'wp-links/links-images/%'"); 
     296?> 
     297<p>All done!</p> 
    283298 <p>You are ready to rock &#8217;n roll. <a href="../wp-login.php">Go crazy</a>.</p> 
    284299<?php