Changeset 707
- Timestamp:
- 01/03/04 20:35:02 (5 years ago)
- Files:
-
- trunk/wp-admin/install.php (modified) (1 diff)
- trunk/wp-admin/upgrade-functions.php (modified) (1 diff)
- trunk/wp-comments-post.php (modified) (1 diff)
- trunk/wp-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/install.php
r679 r707 389 389 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(17,'smilies_directory', 3, 'http://example.com/wp-images/smilies', 'the directory where your smilies are (no trailing slash)', 8, 40)", 390 390 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(18,'require_name_email', 2, '0', 'set this to true to require e-mail and name, or false to allow comments without e-mail/name', 8, 20)", 391 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(19,'comment_allowed_tags', 3, '<b><i><strong><em><code><blockquote><p><br><strike><a>', 'here is a list of the tags that are allowed in the comments. You can add tags to the list, just add them in the string, add only the opening tag: for example, only \'<a>\' instead of \'<a href=\"\"></a>\'', 8, 40)",392 391 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(20,'comments_notify', 2, '1', 'set this to true to let every author be notified about comments on their posts', 8, 20)", 393 392 //rss/rdf feeds trunk/wp-admin/upgrade-functions.php
r700 r707 160 160 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES (17,'smilies_directory', 3, 'http://example.com/wp-images/smilies', 'the directory where your smilies are (no trailing slash)', 8, 40)", 161 161 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES (18,'require_name_email', 2, '0', 'set this to true to require e-mail and name, or false to allow comments without e-mail/name', 8, 20)", 162 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES (19,'comment_allowed_tags', 3, '<b><i><strong><em><code><blockquote><p><br><strike><a>', 'here is a list of the tags that are allowed in the comments. You can add tags to the list, just add them in the string, add only the opening tag: for example, only \'<a>\' instead of \'<a href=\"\"></a>\'', 8, 40)",163 162 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES (20,'comments_notify', 2, '1', 'set this to true to let every author be notified about comments on their posts', 8, 20)", 164 163 //rss/rdf feeds trunk/wp-comments-post.php
r601 r707 50 50 $now = current_time('mysql'); 51 51 52 $comment = strip_tags($comment, $comment_allowed_tags);53 52 $comment = balanceTags($comment, 1); 54 53 $comment = convert_chars($comment); trunk/wp-settings.php
r692 r707 81 81 $use_pingback = get_settings('use_pingback'); 82 82 $require_name_email = get_settings('require_name_email'); 83 $comment_allowed_tags = get_settings('comment_allowed_tags');84 83 $comments_notify = get_settings('comments_notify'); 85 84 $use_smilies = get_settings('use_smilies');
