Commit Graph

12932 Commits

Author SHA1 Message Date
ryan
79ccf9e0c7 Don't consult global current_user object for usermeta values. Use get_userdata().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 20:55:39 +00:00
nacin
7ef5f08d00 Update object term cache for custom post types. props scribu, fixes #12989.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 20:43:59 +00:00
ryan
6252553037 Always replace dashes with underscores for keys in get_user_option().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 20:19:47 +00:00
ryan
e1fe1b138e Pass unserializeds value to meta actions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 19:26:40 +00:00
ryan
e378ebfb7f When storing and retrieving meta data to user object, replace dashes with underscores to get a valid php var name.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 19:19:21 +00:00
ryan
de71b22e0e Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@14306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 19:16:21 +00:00
ryan
4939a7610a clean_user_cache() instead of direct cache delete.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 18:32:01 +00:00
ryan
8420f41a24 Fix initial hidden meta boxes for nav menus. see #13134
git-svn-id: http://svn.automattic.com/wordpress/trunk@14304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 18:27:46 +00:00
ryan
5f501c920c Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@14303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 18:24:45 +00:00
ryan
ec46abfe29 Reset the global current_user object when the current user is changed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 18:24:18 +00:00
ryan
62a5269eed Partially fix default hidden meta boxes for nav menus. see #13134
git-svn-id: http://svn.automattic.com/wordpress/trunk@14301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 17:47:11 +00:00
iammattthomas
01b2401d91 In twenty ten, removing some unnecessary styles for images
git-svn-id: http://svn.automattic.com/wordpress/trunk@14300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 17:32:56 +00:00
ryan
acd118c1be Don't call get_plugins() in menu.php. It is too slow to call on every admin page load. fixes #13117
git-svn-id: http://svn.automattic.com/wordpress/trunk@14299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 16:38:12 +00:00
donncha
7629767c24 Display the original username on the signup form on error, fixes #13124
git-svn-id: http://svn.automattic.com/wordpress/trunk@14298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 16:05:33 +00:00
ryan
ce7b2b4f58 Set nopaging for the wp_get_nav_menu_items() get_posts() call to avoid pointless found rows queries. see #13134
git-svn-id: http://svn.automattic.com/wordpress/trunk@14297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 14:58:22 +00:00
potbot
8dbbe467dc POT, generated from r14295
git-svn-id: http://svn.automattic.com/wordpress/trunk@14296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 08:21:39 +00:00
nacin
d1a37c1f31 When posts/terms are deleted/trashed, update associated menu items. Deleted post = deleted menu item, trashed post = menu item becomes a draft. props filosofo, see #13174
git-svn-id: http://svn.automattic.com/wordpress/trunk@14295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:33:56 +00:00
nacin
7846ae85f6 Fix typo in CSS. see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:28:34 +00:00
nacin
7bb32597b7 Fix the ajax loading/processing spinner for nav menu meta boxes. see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:10:54 +00:00
nacin
7677e2e874 Remove unnecessary single tab and second border in the custom links nav menu widget.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 06:11:44 +00:00
nacin
8b8250b8bb Show 'no items' message in post/tax meta boxes for nav menu admin instead of empty tabs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 06:01:44 +00:00
nacin
4cd8df217b Don't show plugin editor when there are no plugins. props solarissmoke, fixes #13117.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 05:34:24 +00:00
nacin
caa6f219dd In Twenty Ten, i18n for prev/next post link arrows. props yoavf, fixes #13123.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 05:27:53 +00:00
nacin
91e39b0336 Small fixes to the initial nav menu message. props koopersmith, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 05:12:12 +00:00
nacin
cd9ab80421 Nav menu UI updates. props koopersmith, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 03:43:39 +00:00
nacin
8787503192 Nav menu UI updates. props koopersmith, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 03:43:11 +00:00
nacin
90ea03383f Fix handling of nav menu search, also menu naming conflicts. props filosofo, fixes #13138
git-svn-id: http://svn.automattic.com/wordpress/trunk@14285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 20:44:08 +00:00
potbot
e94bc6979e POT, generated from r14283
git-svn-id: http://svn.automattic.com/wordpress/trunk@14284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 20:21:06 +00:00
nacin
8c9f71bb57 More nav menu fixes. props filosofo. see #13148. fixes #13155, fixes #13157, fixes #13138, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 18:30:32 +00:00
iammattthomas
f0b91458e4 In Twenty Ten, fix the ordering of items in the title tag.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 17:17:42 +00:00
iammattthomas
6dfe0a43ac In Twenty Ten, remove the pipe separator from the title when there is no blog description. Props noel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 17:11:18 +00:00
nacin
36876023a4 Keep 'remember me' checked when user/pass is incorrect. props xibe, fixes #13165.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 17:01:55 +00:00
nacin
33916fd71d RTL for nav-menu.php. first pass. props RanYanivHartstein, see #13166
git-svn-id: http://svn.automattic.com/wordpress/trunk@14279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 14:22:41 +00:00
nacin
e34d128fad Remove space between screen meta and screen icon on nav menu admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 13:37:15 +00:00
nacin
bebdadc1b0 Restore radios for MS site flags, as the schema supports other values. see #12832
git-svn-id: http://svn.automattic.com/wordpress/trunk@14277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 08:15:45 +00:00
westi
033aac697c Introduce a template file for the Front Page of a site. Has priority over every other template which applies and falls back to the standard template flow for the page / list of posts.
Fixes #6801

git-svn-id: http://svn.automattic.com/wordpress/trunk@14276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 07:48:09 +00:00
nacin
0fd5fee450 Better DNS error message in network.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 07:40:49 +00:00
westi
90873d5063 Revert [14268] - It is much better to use JavaScript for this kind of enhancement. Output buffering is too fragile. See #12564.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 07:17:20 +00:00
nacin
10a2e47890 Don't serve dynamic robots.txt when WP is not installed at the root of a domain. props solarissmoke, fixes #13115
git-svn-id: http://svn.automattic.com/wordpress/trunk@14273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 06:37:15 +00:00
iammattthomas
6636a27c38 In Twenty Ten, fix aligned image styles
git-svn-id: http://svn.automattic.com/wordpress/trunk@14272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 05:20:48 +00:00
nacin
540dcf5108 Give menu items a default 'draft' state when added to the menu. props filosofo, fixes #13149
git-svn-id: http://svn.automattic.com/wordpress/trunk@14271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 05:02:09 +00:00
nacin
560400fb26 Give menu items a default 'draft' state when added to the menu. props filosofo, fixes #13149
git-svn-id: http://svn.automattic.com/wordpress/trunk@14270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 04:56:50 +00:00
iammattthomas
b42b1502e9 In Twenty Ten, remove margins from normal inline images, set vertical alignment of inline images, and apply bottom margin to alignnone class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 04:46:10 +00:00
nacin
b8b6090959 Add full HTML filter to comment_form(), along with an echo arg. props joostdevalk, fixes #12564.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 04:28:51 +00:00
nacin
b8b7d95dd0 Some menus meta box cleanups. props filosofo, see #13143.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 04:09:00 +00:00
nacin
4374cee7cd Show correct nav menu title on first pageload after change. props filosofo, fixes #13142.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 02:24:39 +00:00
nacin
0e152503cb Poka yoke for username sanitization during install. see #13159.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 02:20:32 +00:00
nacin
3a11c693b7 Show the sanitized username on install.php completion page. Also add some help text. see #13159.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 02:17:19 +00:00
nacin
f01d1883e4 Verify nav menu items. props filosofo, fixes #13154.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 02:04:30 +00:00
nacin
1143a84f7f Don't translate internal post stati. props nbachiyski, fixes #13024.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 22:36:46 +00:00