Commit Graph

4573 Commits

Author SHA1 Message Date
ryan
f2665b2cb2 Add js_escape and attribute_escape filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-22 05:26:43 +00:00
markjaquith
dc17d069c0 Categories with zero posts and posts with no comments no longer link to those empty views in the admin. fixes #3493
git-svn-id: http://svn.automattic.com/wordpress/trunk@4659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 23:40:16 +00:00
markjaquith
8a678f3841 i18n fixes, logic cleanup, wording clarifications, and more from nbachiyski. fixes #3474
git-svn-id: http://svn.automattic.com/wordpress/trunk@4658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 23:06:18 +00:00
markjaquith
bdd210972c Whitespace cleanup for [4656]
git-svn-id: http://svn.automattic.com/wordpress/trunk@4657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:45:58 +00:00
markjaquith
5a76c03203 new function for escaping within attributes: attribute_escape()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:10:04 +00:00
markjaquith
deb53f7027 No need to backslash escape single quotes and line breaks when using js_escape()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 06:04:39 +00:00
markjaquith
d99f7eaf96 Reverse backport (?) from 2.0.x of KSES filters
git-svn-id: http://svn.automattic.com/wordpress/trunk@4654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 04:44:34 +00:00
ryan
db313621d6 Login form fixes from Viper007Bond. fixes #3484
git-svn-id: http://svn.automattic.com/wordpress/trunk@4652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-20 00:30:07 +00:00
ryan
32cc2c3ef0 Enable RTE for new users. fixes #3485
git-svn-id: http://svn.automattic.com/wordpress/trunk@4651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-19 23:19:12 +00:00
ryan
e57369e689 Include admin-functions in xmlrpc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-18 20:11:19 +00:00
markjaquith
e01d9334f6 Edit Comments paging fix from nbachiyski. fixes #3481
git-svn-id: http://svn.automattic.com/wordpress/trunk@4649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-18 00:13:16 +00:00
markjaquith
71a2674bde Use $wpdb->prefix when defining table names
git-svn-id: http://svn.automattic.com/wordpress/trunk@4648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-15 23:14:42 +00:00
ryan
bcc76b1f65 i18n fixes from nbachiyski. fixes #3470
git-svn-id: http://svn.automattic.com/wordpress/trunk@4646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-13 19:36:10 +00:00
ryan
13c428a9ab Don't force kses filtering of imports. fixes #3290
git-svn-id: http://svn.automattic.com/wordpress/trunk@4645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-13 19:21:09 +00:00
ryan
6c31c17921 Avoid infinite loop when getting attachment link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-12 22:50:54 +00:00
ryan
4ea0406712 Move wp_generate_attachment_metadata() and friends to admin-functions.php and include admin-functions from xmlrpc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-12 08:36:16 +00:00
ryan
da1c8e1df5 Select http when linking. Props markjaquith. fixes #3462
git-svn-id: http://svn.automattic.com/wordpress/trunk@4642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-12 07:48:04 +00:00
markjaquith
448c02eed3 wp_delete_category() tweaks and code consolidation. fixes #3463
git-svn-id: http://svn.automattic.com/wordpress/trunk@4639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-10 20:53:05 +00:00
markjaquith
5ce03d44bb cat_id_filter from Donncha. fixes #3458
git-svn-id: http://svn.automattic.com/wordpress/trunk@4638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-10 20:27:20 +00:00
markjaquith
d0e0ceb748 Move wp_check_for_changed_slugs() to post.php so it can be called in non-admin contexts. fixes #3461
git-svn-id: http://svn.automattic.com/wordpress/trunk@4637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-10 17:17:39 +00:00
markjaquith
19801dc2f8 Revert overzealous i18n from [4545]. Props nbachiyski. fixes #3438
git-svn-id: http://svn.automattic.com/wordpress/trunk@4636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-10 00:23:10 +00:00
markjaquith
4d8c0908f6 Add commentrss2_item action hook. Props seek3r and Viper007Bond. fixes #3456
git-svn-id: http://svn.automattic.com/wordpress/trunk@4635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-10 00:12:58 +00:00
markjaquith
49565cf608 Init strings before concatenation. Props devil1591. fixes #3457
git-svn-id: http://svn.automattic.com/wordpress/trunk@4634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-09 06:35:22 +00:00
ryan
7b5a39561d Fix path to cropper. fixes #3455
git-svn-id: http://svn.automattic.com/wordpress/trunk@4633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-08 23:01:08 +00:00
ryan
203f6c5ab4 Some caching cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-08 07:35:45 +00:00
ryan
b81bf35aad did_action()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-08 03:45:34 +00:00
ryan
245fa326d7 Include cropper and scriptaculous since lots of themes are using them.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-08 00:10:58 +00:00
ryan
3b09e48f19 Create attachment metadata for xmlrpc uploads. Props mdawaffe. fixes #3452
git-svn-id: http://svn.automattic.com/wordpress/trunk@4628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 22:42:22 +00:00
ryan
60fdec501d Check link_count not category_count when doing link hierarchy. Props mdawaffe. fixes #3453
git-svn-id: http://svn.automattic.com/wordpress/trunk@4627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 22:38:27 +00:00
markjaquith
0aa19529f9 Bunch of whitespace and coding standardization.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 03:57:23 +00:00
markjaquith
010379dd52 get_page() logic re-ordering and inline comments
git-svn-id: http://svn.automattic.com/wordpress/trunk@4625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 03:10:47 +00:00
ryan
1b9c2ead05 Fix up get_page cache handling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 01:06:28 +00:00
ryan
12ecc1f539 Reparent edit comments tab. Props mdawaffe. fixes #3448
git-svn-id: http://svn.automattic.com/wordpress/trunk@4623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 00:40:31 +00:00
markjaquith
fec072e555 Disable RTE when editing comments. Props mdawaffe. fixes #3449
git-svn-id: http://svn.automattic.com/wordpress/trunk@4622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 00:38:54 +00:00
ryan
021e19efe3 Don't dbxize wrappers. Props andy. fixes #2987
git-svn-id: http://svn.automattic.com/wordpress/trunk@4621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 00:08:18 +00:00
markjaquith
842741c81d Add überpowerful "query" filter, for SQL queries. fixes #2721
git-svn-id: http://svn.automattic.com/wordpress/trunk@4619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 00:02:03 +00:00
ryan
4d72cff3fe Ignore nopaging for feeds.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-06 23:14:37 +00:00
ryan
2793b9dafe Don't double escape JS. Props mdawaffe. fixes #3447
git-svn-id: http://svn.automattic.com/wordpress/trunk@4617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-06 23:11:31 +00:00
markjaquith
faa08c32f1 Mass Edit Mode JS fixes for #3399
git-svn-id: http://svn.automattic.com/wordpress/trunk@4616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-06 11:26:27 +00:00
markjaquith
d2e1e17bc7 comment => c fix, props to Pål Grønås Drange on wp-testers for catching it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-06 10:52:09 +00:00
ryan
1c1b7a2df6 Autosave fix up for duplicate drafts from andy. fixes #3379
git-svn-id: http://svn.automattic.com/wordpress/trunk@4614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-06 05:33:52 +00:00
ryan
a5b18aa47d Typo fix. fixes #3224
git-svn-id: http://svn.automattic.com/wordpress/trunk@4613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 22:41:49 +00:00
ryan
995d839bfb Attachment data abstraction from mdawaffe. fixes #3440
git-svn-id: http://svn.automattic.com/wordpress/trunk@4612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 22:37:19 +00:00
ryan
8689df80a5 upload-js gettext fixes from mdawaffe. fixes #3224
git-svn-id: http://svn.automattic.com/wordpress/trunk@4611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 22:27:02 +00:00
markjaquith
b6092da12a Fix Template Name and Description metadata regex typo. Props devil1591. fixes #3437
git-svn-id: http://svn.automattic.com/wordpress/trunk@4610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 12:29:08 +00:00
markjaquith
13d055385d CSS regression fix from Viper007Bond. fixes #3436
git-svn-id: http://svn.automattic.com/wordpress/trunk@4609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 11:46:24 +00:00
ryan
b9ccbfe603 Some string changes. Props MichaelH. fixes #2724
git-svn-id: http://svn.automattic.com/wordpress/trunk@4608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 07:15:12 +00:00
ryan
2435e0c1a6 Fix input label. Props JeremyVisser. fixes #3432
git-svn-id: http://svn.automattic.com/wordpress/trunk@4607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 06:52:55 +00:00
ryan
175dd7bca7 Use get_the_category() within wp_get_post_categories() so that the cache is used. Props markjaquith. fixes #3430
git-svn-id: http://svn.automattic.com/wordpress/trunk@4606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 06:45:48 +00:00
ryan
7d4c7408f5 upload-js gettext. Props nbachiyski. fixes #3224
git-svn-id: http://svn.automattic.com/wordpress/trunk@4605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-05 02:29:45 +00:00