Changeset 955
- Timestamp:
- 02/29/2004 08:43:36 AM (21 years ago)
- Location:
- trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r870 r955 90 90 <div id="quicktags"> 91 91 <?php 92 if ( $use_quicktags) {92 if ( get_settings('use_quicktags') ) { 93 93 echo '<a href="http://wordpress.org/docs/reference/post/#quicktags" title="Help with quicktags">Quicktags</a>: '; 94 94 include('quicktags.php'); … … 106 106 107 107 <?php 108 if ( $use_quicktags) {108 if ( get_settings('use_quicktags') ) { 109 109 ?> 110 110 <script type="text/javascript" language="JavaScript"> -
trunk/wp-admin/edit-form-comment.php
r872 r955 44 44 <div id="quicktags"> 45 45 <?php 46 if ( $use_quicktags) {46 if (get_settings('use_quicktags')) { 47 47 echo '<a href="http://wordpress.org/docs/reference/post/#quicktags" title="Help with quicktags">Quicktags</a>: '; 48 48 include('quicktags.php'); … … 60 60 61 61 <?php 62 if ( $use_quicktags) {62 if (get_settings('use_quicktags')) { 63 63 ?> 64 64 <script type="text/javascript" language="JavaScript"> -
trunk/wp-admin/edit-form.php
r869 r955 76 76 <div id="quicktags"> 77 77 <?php 78 if ( $use_quicktags&& 'bookmarklet' != $mode) {78 if (get_settings('use_quicktags') && 'bookmarklet' != $mode) { 79 79 echo '<a href="http://wordpress.org/docs/reference/post/#quicktags" title="Help with quicktags">Quicktags</a>: '; 80 80 include('quicktags.php'); … … 92 92 93 93 <?php 94 if ( $use_quicktags) {94 if (get_settings('use_quicktags')) { 95 95 ?> 96 96 <script type="text/javascript" language="JavaScript"> -
trunk/wp-admin/upgrade-functions.php
r954 r955 708 708 709 709 $wpdb->query("DELETE FROM $tableoptiongroups WHERE group_id = 6"); 710 $wpdb->query("DELETE FROM $tableoptiongroups WHERE group_id = 7"); 710 711 711 712 // Add blog_charset option -
trunk/wp-admin/users.php
r945 r955 71 71 $user_lastname = addslashes(stripslashes($user_lastname)); 72 72 $now = gmdate('Y-m-d H:i:s'); 73 $new_users_can_blog = get_settings('new_users_can_blog'); 73 74 74 75 $result = $wpdb->query("INSERT INTO $tableusers -
trunk/wp-includes/functions-formatting.php
r928 r955 295 295 } 296 296 297 function convert_bbcode($content) { 298 global $wp_bbcode, $use_bbcode; 299 if ($use_bbcode) { 300 $content = preg_replace($wp_bbcode["in"], $wp_bbcode["out"], $content); 301 } 302 $content = convert_bbcode_email($content); 297 function convert_bbcode($content) { // depreciated 303 298 return $content; 304 299 } … … 319 314 } 320 315 321 function convert_gmcode($content) { 322 global $wp_gmcode, $use_gmcode; 323 if ($use_gmcode) { 324 $content = preg_replace($wp_gmcode["in"], $wp_gmcode["out"], $content); 325 } 316 function convert_gmcode($content) { // depreciated 326 317 return $content; 327 318 } -
trunk/wp-includes/template-functions-general.php
r945 r955 23 23 24 24 function get_bloginfo($show='') { 25 global $blogname, $ blogdescription, $admin_email;25 global $blogname, $admin_email; 26 26 27 27 $do_perma = 0; … … 40 40 break; 41 41 case 'description': 42 $output = $blogdescription;42 $output = get_settings('blogdescription'); 43 43 break; 44 44 case 'rdf_url': -
trunk/wp-login.php
r945 r955 282 282 <p> 283 283 <a href="<?php echo get_settings('siteurl'); ?>" title="Are you lost?">Back to blog?</a><br /> 284 <?php if ( $users_can_register) { ?>284 <?php if (get_settings('users_can_register')) { ?> 285 285 <a href="<?php echo get_settings('siteurl'); ?>/wp-register.php" title="Register to be an author">Register?</a><br /> 286 286 <?php } ?> -
trunk/wp-register.php
r945 r955 35 35 } 36 36 37 if (! $users_can_register) {37 if (!get_settings('users_can_register')) { 38 38 $action = 'disabled'; 39 39 } … … 89 89 $user_nickname = addslashes($user_nickname); 90 90 $now = gmdate('Y-m-d H:i:s'); 91 $new_users_can_blog = get_settings('new_users_can_blog'); 91 92 92 93 $result = $wpdb->query("INSERT INTO $tableusers -
trunk/wp-settings.php
r946 r955 51 51 if (!strstr($_SERVER['REQUEST_URI'], 'install.php') && !strstr($_SERVER['REQUEST_URI'], 'wp-admin/import')) { 52 52 $blogname = get_settings('blogname'); 53 $blogdescription = get_settings('blogdescription');54 53 $admin_email = get_settings('admin_email'); 55 $new_users_can_blog = get_settings('new_users_can_blog');56 $users_can_register = get_settings('users_can_register');57 54 $blog_charset = get_settings('blog_charset'); 58 55 $start_of_week = get_settings('start_of_week'); 59 $use_bbcode = get_settings('use_bbcode');60 $use_gmcode = get_settings('use_gmcode');61 $use_quicktags = get_settings('use_quicktags');62 56 $use_htmltrans = get_settings('use_htmltrans'); 63 57 $use_balanceTags = get_settings('use_balanceTags');
Note: See TracChangeset
for help on using the changeset viewer.