Commit Graph

12347 Commits

Author SHA1 Message Date
nacin
8c8bf5039f Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:15:00 +00:00
wpmuguru
64f48fd0bc add NONCE_SALT to secret_salt_warning(), see #11764
git-svn-id: http://svn.automattic.com/wordpress/trunk@13768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 20:48:59 +00:00
markjaquith
35e6b0a158 Update search engines blocked text so that we do not imply that the blog is actually private.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 14:40:50 +00:00
dd32
58392ee495 Add min-height and a black border to the Background Image preview. Min-height to allow for no image present, black border to show preview area when no image or colour is available. See #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 09:37:36 +00:00
dd32
0c47af2d38 Show Background preview and options when no Image is uploaded. Display "Updated" div upon updates. Fix Colour Picker not loading after uploading a background image. See #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 09:33:29 +00:00
dd32
0b4c703fd8 Add instant background-color feedback to Custom Backgrounds. Add input validation to user-entered colour data. See #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 09:10:37 +00:00
dd32
96db88e1b8 Highlight correct submenu for Theme Installs. Fix PHP Notice for unset object properties (requires among others may not be set).
git-svn-id: http://svn.automattic.com/wordpress/trunk@13763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 08:03:52 +00:00
nacin
8b7d7afa72 Clear cache of current theme name, if the theme name no longer exists. Fixes failures when an an active theme is renamed in its stylesheet. fixes #12428
git-svn-id: http://svn.automattic.com/wordpress/trunk@13762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 03:09:02 +00:00
nacin
8704bbf226 Restore accidental removal of get_usernumposts(). This function is now deprecated in favor of count_user_posts() for naming consistency. fixes #12642 props Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 01:11:21 +00:00
wpmuguru
96d21ae1f3 force users to re-login after installing network, see #12142
git-svn-id: http://svn.automattic.com/wordpress/trunk@13760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 23:35:04 +00:00
nacin
3a599d714e Correct a copy-paste error in wp_manage_posts_columns().
git-svn-id: http://svn.automattic.com/wordpress/trunk@13759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 22:34:58 +00:00
westi
b4b9f6075d Make use of apply_filters_ref_array() when running the query. Fixes #9886 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 21:55:25 +00:00
nacin
1e019112b8 Add delimiter to tag listing on twentyten/single.php. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 21:45:08 +00:00
westi
5bce147d90 Introduce apply_filters_ref_array(). See #9886 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 21:24:07 +00:00
nacin
cc03c9c11b s/blog/site/. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 20:50:00 +00:00
nacin
3bdcf36888 Account for old type=link (now taxonomy=link_category) in wp_dropdown_categories(). Don't use the deprecated argument in options-writing. Sprinkle in some deprecated warnings. fixes #12630
git-svn-id: http://svn.automattic.com/wordpress/trunk@13754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 20:17:15 +00:00
nacin
30c1e595ad Check in the script version bump for [13752]
git-svn-id: http://svn.automattic.com/wordpress/trunk@13753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 19:25:55 +00:00
nacin
840951fe06 Remove top margin from custom background's page header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 19:17:12 +00:00
nacin
5097dba597 Use h3 (not h2) to break up sections on custom header/bg screens. Move div.updated message to right after the h2, as JS will move it there anyway.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 19:06:57 +00:00
nacin
94d540f05d Change "Blog" to "Site" in the Settings panels.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 17:46:25 +00:00
nacin
65e9cd7eb1 Add deprecated notices for Options > Misc settings registrations. see #12437
git-svn-id: http://svn.automattic.com/wordpress/trunk@13749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 17:32:27 +00:00
nacin
0ac55fc053 Coding standards: When vertically aligning for readability, use spaces (not tabs). see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 17:07:05 +00:00
dd32
973c124105 Clean up OPML link export script.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 08:39:01 +00:00
dd32
2ae741bb79 Remove reminents of 'misc' from whitelist options too. See [13745] See #12437
git-svn-id: http://svn.automattic.com/wordpress/trunk@13746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 07:58:53 +00:00
dd32
5a5064ae61 Remove Options -> Misc entirely as core as there are no longer options left there. Plugin registered options will be redirected to the General settings page. Fixes #12437
git-svn-id: http://svn.automattic.com/wordpress/trunk@13745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 07:50:43 +00:00
dd32
d51a95d091 Remove the now defunct link update checker from core. Fixes #12437
git-svn-id: http://svn.automattic.com/wordpress/trunk@13744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 07:17:55 +00:00
nacin
65423c7d16 Fix notice for when no menus are located. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 21:34:24 +00:00
nacin
cea2e6eaa3 Remove JS nav-menu functions that we no longer use. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 20:44:59 +00:00
markjaquith
5c4b8b1d7b nav_menu taxonomy should be _builtin. props sillybean. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 20:03:02 +00:00
markjaquith
8d1fb6e0eb Bump nav-menu JS version
git-svn-id: http://svn.automattic.com/wordpress/trunk@13740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 20:01:31 +00:00
markjaquith
6786e3ddb3 Nav Menus: blur/Focus behavior for Create Menu and Add Custom Links. Route "return" presses in each of those areas to proper button press. Better create/save logic on the PHP side.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 19:57:08 +00:00
westi
c1654c4751 Fix notice in wp_nav_menu when the menu doesn't exist.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 19:33:20 +00:00
ryan
6fe61df60f Introduce WP_DEFAULT_THEME
git-svn-id: http://svn.automattic.com/wordpress/trunk@13737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 17:42:49 +00:00
ryan
968c73da1e Use WP_FALLBACK_THEME when creating default stylesheet and template options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 17:39:38 +00:00
ryan
5c9eae1330 WP importer fixes. Props briancolinger. fixes #12619
git-svn-id: http://svn.automattic.com/wordpress/trunk@13735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:56:10 +00:00
ryan
5397627717 LJ importer tweaks. Props briancolinger. fixes #12620
git-svn-id: http://svn.automattic.com/wordpress/trunk@13734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:52:44 +00:00
ryan
e25a65b36a Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:27:25 +00:00
markjaquith
d5296edfad Separate update/create menu logic so new menus have name created properly. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:19:58 +00:00
ryan
f7f9b2ba71 Fix menu item type labels. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:18:41 +00:00
markjaquith
7cf7df44d1 No need for three separate JS files if they are only ever enqueued together. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:13:16 +00:00
dd32
af6960601f post_type edit_cap and edit_type_cap awareness for wp-admin/includes/post.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@13729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 12:35:48 +00:00
dd32
77b25075d7 Add missing child themes codex link. Props jorbin. Fixes #12621
git-svn-id: http://svn.automattic.com/wordpress/trunk@13728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 10:19:26 +00:00
markjaquith
94bcf51d32 Unlimited number of pages and custom links for nav-menu. Todo: AJAX-based autocomplete, so this scales better. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 06:33:53 +00:00
markjaquith
411734437a Remove half-baked transient caching of nav-menu source results from [13704]. Todo: reimplement with proper cache invalidation. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 06:10:47 +00:00
markjaquith
58d47426cc More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 04:39:50 +00:00
iammattthomas
fb2328191e Fix missing domain translation, see #9015. Props momo360modena.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 23:11:30 +00:00
markjaquith
7f826c2420 "setup" is not a verb. http://notaverb.com/setup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 22:56:38 +00:00
ryan
60f8f5a6aa Menu item -> append should be a key/name, not a label. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 22:01:49 +00:00
nacin
04ee3c93cb Fix branching, and correct deprecated version numbers. see #11730
git-svn-id: http://svn.automattic.com/wordpress/trunk@13721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 20:59:26 +00:00
iammattthomas
a70633cedc Coding standards cleanup in twentyten, see #9015. Props sivel
git-svn-id: http://svn.automattic.com/wordpress/trunk@13720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 20:17:22 +00:00