Commit Graph

7003 Commits

Author SHA1 Message Date
Ryan Boren
cc3f89ad7c Consult the cached user object in get_usermeta to avoid queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@7741 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 19:00:07 +00:00
Ryan Boren
64393648c9 Don't run url_to_postid on admin pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@7740 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 18:22:33 +00:00
Ryan Boren
f15d3fc773 Don't query post cats if no post. see #2621
git-svn-id: https://develop.svn.wordpress.org/trunk@7739 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 18:12:04 +00:00
Ryan Boren
84a2c7f980 Only use the args defined in defaults to compute the cache key in get_terms. Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@7738 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 17:42:13 +00:00
Ryan Boren
7f228f1cd6 wp_category_checklist() and wp_link_category_checklist() to replace the nested cats code. see #2621
git-svn-id: https://develop.svn.wordpress.org/trunk@7737 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 17:41:10 +00:00
Ryan Boren
844fb9d2a4 If widget ID not found, scan the entire registered widgets array looking for legacy IDs. Props Denis-de-Bernardy. fixes #6605 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7736 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 02:19:45 +00:00
Ryan Boren
726f7f5e56 Checking for 0 and 1 instead of != spam is faster.
git-svn-id: https://develop.svn.wordpress.org/trunk@7732 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 22:33:35 +00:00
Ryan Boren
cf3bbc413a Typo fix. see #6578
git-svn-id: https://develop.svn.wordpress.org/trunk@7730 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 22:00:39 +00:00
Ryan Boren
1a62535f32 We don't need get_categories() to do a hierarchical sort anymore. The walker takes care of it.
git-svn-id: https://develop.svn.wordpress.org/trunk@7729 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 21:21:13 +00:00
Ryan Boren
f0c73873c4 don't cache during title extraction. Props mdawaffe. fixes #6694 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7728 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:42:47 +00:00
Ryan Boren
714c276a62 Tweak unused widgets interface. Make widget titles less repetitive. fixes #6349 #5823 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7726 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:36:59 +00:00
Ryan Boren
3199d65079 Make link widget IDs unique. Props docwhat. fixes #4287 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7724 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:32:13 +00:00
Ryan Boren
228eab4870 Verify widget option sanity. Props Viper007Bond. fixes #6578 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7721 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:14:07 +00:00
Ryan Boren
2d413e83cd Revert [7689], gonna try another approach. see #6677
git-svn-id: https://develop.svn.wordpress.org/trunk@7720 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 19:32:38 +00:00
Ryan Boren
4906d696de Key meta box array by id. Props Denis-de-Bernardy. fixes #6192 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7719 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 19:20:15 +00:00
Ryan Boren
47ace19b61 Protect the <pre> and <script> tags when switching editors. Props azaozz. fixes #6610 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7716 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 19:11:21 +00:00
Ryan Boren
c3348047a8 Cache comment count and use count API in menu.php
git-svn-id: https://develop.svn.wordpress.org/trunk@7714 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 23:45:39 +00:00
Ryan Boren
b5a1a0e113 array_shift() error fixes from DD32. fixes #6499 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7713 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 23:09:51 +00:00
Ryan Boren
54c4cd2e76 Bump script loader ver. see #6753
git-svn-id: https://develop.svn.wordpress.org/trunk@7710 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 22:58:15 +00:00
Ryan Boren
4dce6df7a7 Preserve author during autosave. fixes #6753 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7708 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 22:56:37 +00:00
Ryan Boren
02b7abe6fa Legacy uploader fix from tellyworth. fixes #6629 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7707 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 22:03:44 +00:00
Ryan Boren
bd68e1b1e9 Make profile fields wider. Props tellyworth. fixes #6581 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7705 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 22:01:32 +00:00
Ryan Boren
c3502e11bf image_make_intermediate_size filter from tellyworth. fixes #6580 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7703 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 21:59:23 +00:00
Ryan Boren
357304b1ce Default cap arg should be an empty array. Props tellyworth. fixes #5520
git-svn-id: https://develop.svn.wordpress.org/trunk@7701 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 21:56:03 +00:00
Mark Jaquith
d9efa4fa8f Allow shortcodes to run before or after wpautop()/texturize() formatting. Default to before for WP 2.5 compat. Props AaronCampbell
git-svn-id: https://develop.svn.wordpress.org/trunk@7699 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 21:07:04 +00:00
Ryan Boren
1ed52ed5d7 Custom header and color picker fixes from mdawaffe. fixes #6577 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7698 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 20:58:03 +00:00
Ryan Boren
de590e4055 Fix usermeta escaping. fixes #6750
git-svn-id: https://develop.svn.wordpress.org/trunk@7696 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 18:23:48 +00:00
Ryan Boren
860c60d05b Add post ancestors to the cache for the post object. see #6702 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7694 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 17:23:17 +00:00
Ryan Boren
cbcc62a5b2 Strip slashes before preparing link for insert. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7693 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 05:55:27 +00:00
Ryan Boren
73cdb808d1 Relocate wp_authenticate action to fix back compat and make it more useful. fixes #6675 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7692 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 04:49:19 +00:00
Ryan Boren
cd0641c856 Strip slashes before preparing comment insert to avoid double-slashing. Props filosofo. fixes #6738
git-svn-id: https://develop.svn.wordpress.org/trunk@7690 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 18:05:08 +00:00
Ryan Boren
97cfa272b0 Demand load the category list. Props mdawaffe. see #6677
git-svn-id: https://develop.svn.wordpress.org/trunk@7689 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 18:00:52 +00:00
Ryan Boren
c3dda2241e Add or remove class=aligncenter when aligning images in TinyMCE. Props azaozz. fixes #6645 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7687 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 16:03:24 +00:00
Ryan Boren
b3dbfd3b48 Fix menu_order ordering. Props torfason. fixes #6731 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7685 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 01:39:33 +00:00
Ryan Boren
a58816e2ab Workaround response truncation by reducing size of response after uploading with flash uploader. Props tellyworth. fixes #6713
git-svn-id: https://develop.svn.wordpress.org/trunk@7682 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 23:09:14 +00:00
Ryan Boren
307c2ac093 tiny_mce_gzip.php no longer needed
git-svn-id: https://develop.svn.wordpress.org/trunk@7681 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 22:30:16 +00:00
Ryan Boren
98b3f7d11f TinyMCE 3.0.7 from azaozz. fixes #6726 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7679 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 22:19:04 +00:00
Ryan Boren
2dc11fe349 Fix IE6 overlap and remove unnecessary markup. Props tellyworth. fixes #6661 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7677 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 20:48:11 +00:00
Ryan Boren
e41144b4d4 Suppress exif_read_data() errors. Props tellyworth. fixes #6571 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7673 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 20:19:15 +00:00
Ryan Boren
55a14f52a9 Pass size to image_send_to_editor filter. fies #6691 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7671 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:47:07 +00:00
Ryan Boren
14b93694f0 More efficient category and list JS from mdawaffe. fixes #6677 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7669 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 19:31:20 +00:00
Ryan Boren
06fc36b142 Fix category exclusion when getting adjacent posts. Props filosofo. fixes #6551 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7667 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:56:58 +00:00
Ryan Boren
1795ef877c Handle pathinfo structures when determining if verbose page rules should be used. Props dlo. fixes #6650 #6570 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7665 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:18:53 +00:00
Ryan Boren
134476c652 Move define of AUTOSAVE_INTERVAL to wp-settings so that it is available earlier. Props simonwheatley. fixes #6668 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7664 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:07:34 +00:00
Ryan Boren
2e2afe0707 CSS typo fixes from spirit55555. fixes #6653 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7662 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:05:24 +00:00
Ryan Boren
142146177c Check create_users cap instead of edit_users wgen adding/inserting users. Props imwebgefunden. fixes #6662 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7660 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:57:29 +00:00
Ryan Boren
9be8f95463 Typo fixes. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7658 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:49:17 +00:00
Ryan Boren
91aa0954a4 Add missing comma. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7657 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:45:12 +00:00
Ryan Boren
5af761df74 Use input instead of button to work around IE6 bug. Props tellyworth. fixes #6660 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7655 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:38:25 +00:00
Ryan Boren
e203f8dad1 Validation fixes for uploader. Props sambauers. fixes #6659 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7654 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:33:37 +00:00