Commit Graph

13399 Commits

Author SHA1 Message Date
nacin
f15cdc78cf Menu tweaks. Save menu locations when saving the menu. Also, centralize theme support checks and add them to menu.php. Improve some branching. Remove some old JS vars, add a missing semicolon, etc. props koopersmith. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 09:23:56 +00:00
westi
78ba3b94b1 Check to see we have posts before calling the_post().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 08:40:02 +00:00
westi
437a09348b Check to see we have posts before calling the_post(). Fixes #13510 props dd32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 08:33:51 +00:00
westi
86bc8063c6 Style the error messages in the installer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 08:18:48 +00:00
nacin
427a63a92a s/onclick/onClick/. props Gazzer from wp-testers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 05:15:55 +00:00
nacin
35a9bc1670 Properly format menu item title attributes and descriptions. props ryan, fixes #12864.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 22:56:51 +00:00
nacin
6da2d3102d Show warning in network.php if using a custom wp-content directory. fixes #11742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 22:19:09 +00:00
nacin
231be64801 Proper checks for current-menu-item. props duck_, fixes #13409.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 22:01:08 +00:00
iammattthomas
8b523fad45 In twenty ten, make the dropdown menu's shadow fit to the width of the dropdown. Props wds-chris and ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 22:01:03 +00:00
westi
75897a5ee3 roll on tomorrow
git-svn-id: http://svn.automattic.com/wordpress/trunk@14822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 21:05:36 +00:00
westi
574defbee1 Make the signup type in the message for super admins translatable. Fixes #13506.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 21:05:04 +00:00
ryan
26494e05c8 Minify. see #11232
git-svn-id: http://svn.automattic.com/wordpress/trunk@14820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 16:00:55 +00:00
dd32
6f9650046a Provide some Before/After strings for Bulk Upgrades, Add a spinner whilst a upgrade is in process, Remove scrollbars on update iframe. Props ocean90. See #11232
git-svn-id: http://svn.automattic.com/wordpress/trunk@14819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 12:29:00 +00:00
dd32
9991d1d735 Increase height of Theme install thickbox to remove useless scrollbars. Props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@14818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 12:04:24 +00:00
dd32
8199a1be9b Reset position after shaking the login screen, Fixes IE6 hiding the Remember Me & Login buttons. Props ocean90. Fixes #13495
git-svn-id: http://svn.automattic.com/wordpress/trunk@14817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 11:06:44 +00:00
dd32
0821c7163b Better display handling of error messages during swfupload uploading. Fixes #12225
git-svn-id: http://svn.automattic.com/wordpress/trunk@14816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 10:59:52 +00:00
westi
0c850182dc Ensure that QuickPress media uploads get attached to the auto-draft we create for new posts correctly. Fixes #10917 props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 07:58:06 +00:00
dd32
378f68a0a0 Introduce a 'post_updated' action, Fires when a post is updated, Post ID, Current and Previous post objects are passed. Updatewp_check_for_changed_slugs() to use new hook. See #12473
git-svn-id: http://svn.automattic.com/wordpress/trunk@14814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 07:49:21 +00:00
westi
24354ccdb4 Don't output empty html wrappers if no page numbers. Fixes #13497 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 07:43:07 +00:00
dd32
70d0491c1c Fix potential notice in Upgrade process when failing part-way through. See #13171
git-svn-id: http://svn.automattic.com/wordpress/trunk@14812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 05:59:17 +00:00
dd32
989a52d7ff Ensure that the entire folder structure exists within the $needed_folders array before attempting to create folders. Fixes cases where the Zip file does not contain a node for a folder which contains subfolders without files in the same level. Fixes #13171
git-svn-id: http://svn.automattic.com/wordpress/trunk@14811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 05:56:31 +00:00
dd32
394fa6d6b2 Ensure slashing of paths returned by WP_Filesystem_Base::find_folder() is consistent with the slashing of paths; Affects Windows machines using the Direct transport.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 05:54:32 +00:00
dd32
be365e349f Correct the no-shake iphone check. See #13495
git-svn-id: http://svn.automattic.com/wordpress/trunk@14809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 00:26:13 +00:00
ryan
74bccde257 Use subquery when finding detached objects. Props filosofo. fixes #13496
git-svn-id: http://svn.automattic.com/wordpress/trunk@14808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 23:05:35 +00:00
ryan
048fc90080 Add cat2tag converter to importer install list. see #13465
git-svn-id: http://svn.automattic.com/wordpress/trunk@14807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 22:54:52 +00:00
westi
9016d1ff10 Shake not your iphone for an incorrect password. Fixes #13495
git-svn-id: http://svn.automattic.com/wordpress/trunk@14806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 21:31:14 +00:00
westi
c4e2c65edb bump bump bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@14805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 21:11:03 +00:00
ryan
db35b95450 Use filters instead of action in wp_login_form(). see #11172
git-svn-id: http://svn.automattic.com/wordpress/trunk@14804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 13:52:25 +00:00
ryan
2a99808ad2 Email messages should be plain text. Props arena. see #13488
git-svn-id: http://svn.automattic.com/wordpress/trunk@14803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 13:48:38 +00:00
westi
6fa00b3946 Allow users to cancel email address changes. Fixes #13457 props mtdewvirus.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 07:53:59 +00:00
nacin
ab0a18d048 Add post_updated_messages filter. Include explicit indexes in the arrays to make it easier for plugin authors to follow. fixes #13444.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 05:40:29 +00:00
dd32
f8111531f4 Correct the ZipArchive opening test logic. See #13491
git-svn-id: http://svn.automattic.com/wordpress/trunk@14800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-22 05:09:08 +00:00
nacin
c84bc2e846 Pixel sanity check. props filosofo, fixes #13470.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 23:35:37 +00:00
nacin
9f255f3a1e One more RTL tweak. props duck_, fixes #13441.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 23:34:10 +00:00
nacin
628d7b8286 Most Recent tab for nav menu meta boxes for post types. props filosofo, see #13217.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 23:32:45 +00:00
nacin
0eacbe94f6 Script loader bump, and revert new orange that snuck in. see #13441.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 23:32:02 +00:00
nacin
46841fdd0a Various CSS fixes for nav menus and RTL. props duck_, fixes #13441.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 23:23:39 +00:00
nacin
db3fe9ac9f Less clunky export UI. see #10317
git-svn-id: http://svn.automattic.com/wordpress/trunk@14794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 21:39:35 +00:00
ryan
3841acea6c Don't look for a fallback menu when a specific location is requested. Props tinkerpriest. see #13378
git-svn-id: http://svn.automattic.com/wordpress/trunk@14793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 20:28:11 +00:00
potbot
79e1854996 POT, generated from r14791
git-svn-id: http://svn.automattic.com/wordpress/trunk@14792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 20:22:02 +00:00
nacin
7b43d20151 Better escaping in 2010 attachment.php. fixes #13198, see [14789].
git-svn-id: http://svn.automattic.com/wordpress/trunk@14791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 19:32:01 +00:00
ryan
9ed4d4011b No need to double escape. Props s zeo. see #13198
git-svn-id: http://svn.automattic.com/wordpress/trunk@14790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 19:26:25 +00:00
nacin
a3dfa293d0 Exclusion instead of inclusion for post types for lost attachment scan. Exclude attachments and any !public types, and don't consider attachments on unregistered post types to be lost. fixes #10911.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 19:23:52 +00:00
nacin
8d4a9a7568 Notice sanity check. fixes #13484, props etiger13.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 19:02:36 +00:00
ryan
d83dcfc920 Fix typo. Props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 19:01:37 +00:00
nacin
a35791a4ae In Twenty Ten, final pass on inline docs et al. props jorbin, zeo. fixes #12695.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 18:56:27 +00:00
ryan
5659224918 Update phpdoc for wp_insert_term(). Props prettyboymp. fixes #12482
git-svn-id: http://svn.automattic.com/wordpress/trunk@14785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 18:19:56 +00:00
ryan
a05a51829a If slug and name match an existing term in the same taxonomy at the same hieararchy level return error. fixes #13481
git-svn-id: http://svn.automattic.com/wordpress/trunk@14784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 18:03:53 +00:00
ryan
7d01ad3a49 Check for siblings only if term already exists in the same taxonomy. see #13119
git-svn-id: http://svn.automattic.com/wordpress/trunk@14783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 16:03:35 +00:00
nacin
f9783ba838 Some sanity checks -- make sure we have a valid post author user object before checking if the current user is the author.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 15:15:32 +00:00