Commit Graph

5797 Commits

Author SHA1 Message Date
Andrew Nacin 75a99f62cd Optimize wp_rand(), only check transient when needed. Fixes #12144.
git-svn-id: https://develop.svn.wordpress.org/trunk@13080 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:33:33 +00:00
Andrew Nacin e280df1945 Fix inline documentation for esc_js(). Intended for inline JS only, fixes #11690.
git-svn-id: https://develop.svn.wordpress.org/trunk@13076 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 02:54:54 +00:00
Andrew Nacin 09916f140e Use correct var name. Props firebird75. Whitespace cleanup in wp_unique_post_slug(). Fixes #12078.
git-svn-id: https://develop.svn.wordpress.org/trunk@13075 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 02:42:17 +00:00
Andrew Nacin e5056e0ac6 Fix notice in get_cat_name(). Return empty string if category does not exist, fixes #11737.
git-svn-id: https://develop.svn.wordpress.org/trunk@13074 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 02:35:41 +00:00
Dion Hulse bcf5ab6307 Strip out multiple slashes on non-post URL's. See #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13072 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 00:11:23 +00:00
Dion Hulse 3674f4a101 Do not poison query vars with /&foo=bar/ in requested URL. See #8949
git-svn-id: https://develop.svn.wordpress.org/trunk@13071 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 00:02:47 +00:00
Ryan Boren b909bb1cf0 Add can_compress_scripts to core site options. Add phpdoc for wp_load_core_site_options(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13069 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 20:23:06 +00:00
Ryan Boren 48d12af9f6 Fix notices
git-svn-id: https://develop.svn.wordpress.org/trunk@13068 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 20:14:17 +00:00
Ryan Boren e213402692 Preload commonly loaded site options when running multisite without a persistent cache. Introduce wp_cache_reset() and call it instead of wp_cache_init() when re-initing after the blog ID chanages to avoid throwing out the entire cache. Pass cached site options through the site option filter when fetching.
git-svn-id: https://develop.svn.wordpress.org/trunk@13066 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 17:06:43 +00:00
Peter Westwood 2b3837f55a Improve the implementation of the default constant defining functions for multisite. See #11881.
git-svn-id: https://develop.svn.wordpress.org/trunk@13065 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 08:22:34 +00:00
Peter Westwood ab3afcf343 Improve function naming for plugin file discovery functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@13064 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 07:59:11 +00:00
Peter Westwood 5e7b501b29 Improve the implementation of the default constant defining functions. See #11881.
git-svn-id: https://develop.svn.wordpress.org/trunk@13062 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 07:52:58 +00:00
Peter Westwood 582ed1fb9d Ensure we ignore the _SALT defines if they are set to the "default" unconfigured values or empty. See #12159.
git-svn-id: https://develop.svn.wordpress.org/trunk@13058 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 22:51:51 +00:00
Ryan Boren 65dae9a05f Don't query the timeout for core transients that do not have a timeout. Avoids useless queries on non-existent site options.
git-svn-id: https://develop.svn.wordpress.org/trunk@13056 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 19:43:22 +00:00
Ryan Boren 10221b01f2 Fix typos. Fix assignment. Remove passing of non-existent arg. Props ScottMac. fixes #12193
git-svn-id: https://develop.svn.wordpress.org/trunk@13054 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 16:58:32 +00:00
Ryan Boren b08985b209 Consult exclude_from_search when retrieving post_status = any. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13052 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 22:36:50 +00:00
Ryan Boren 9e4be29f4b Remove leading slash so that it doesn't get doubled when front is added. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13050 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 21:57:25 +00:00
Ryan Boren f932c77406 Retore p_status. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13049 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 20:37:18 +00:00
Ryan Boren 5c5ceba9bf Add an echo arg to some general template functions. Props ShaneF. fixes #11842
git-svn-id: https://develop.svn.wordpress.org/trunk@13048 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 18:37:14 +00:00
Ron Rennick ec5a6fcbb4 add option to validate on switch_to_blog, see #12023
git-svn-id: https://develop.svn.wordpress.org/trunk@13047 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 17:50:26 +00:00
Ryan Boren 6a0b0ddeb8 Add description field for post types. Props ptahdunbar. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13044 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 16:52:02 +00:00
Ryan Boren 8bc11462e3 First pass at custom background support. Needs UI love. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13041 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 20:37:12 +00:00
Ron Rennick bc3d44241d revert remove error_reporting from ms-files.php, remove _deprecated_file call from blogs.php, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@13040 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 18:22:21 +00:00
Ron Rennick ae2abd74d9 remove error_reporting from ms-files.php, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@13038 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 16:44:40 +00:00
Ryan Boren 153659240c posts_search filter. Props skeltoac. see #10667
git-svn-id: https://develop.svn.wordpress.org/trunk@13037 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 16:38:05 +00:00
Ryan Boren 6d37a4c8f1 Introduce DISALLOW_FILE_EDIT flag for enabling/disabling the theem and plugin editors. Props nacin. see #11306
git-svn-id: https://develop.svn.wordpress.org/trunk@13034 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 00:07:52 +00:00
Ryan Boren 712c98007d Look for single-.php templates. Add single- class to get_body_class(). Props ptahdunbar. see #12105
git-svn-id: https://develop.svn.wordpress.org/trunk@13032 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 22:05:05 +00:00
Ryan Boren 5a5a140226 Change comment_form() markup to match twentyten. Props beaulebens. see #10910
git-svn-id: https://develop.svn.wordpress.org/trunk@13030 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 20:54:29 +00:00
Ryan Boren cda50d2f2e Use comment_form instead of comments_form as the name of the hook. Props greenshady. see #10910
git-svn-id: https://develop.svn.wordpress.org/trunk@13028 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:27:02 +00:00
Ryan Boren 86d7ef0b69 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13025 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:02:23 +00:00
Ryan Boren 9a0bbee93c Rename get_post_link() to get_post_permalink() to avoid conflict with bbPress. Props scribu. fixes #12172
git-svn-id: https://develop.svn.wordpress.org/trunk@13023 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 16:23:32 +00:00
Ryan Boren 62e8bf4cea Use oEmbed for PollDaddy. Props Viper007Bond. fixes #12174
git-svn-id: https://develop.svn.wordpress.org/trunk@13021 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 16:15:13 +00:00
Ryan Boren 2c1ee29143 Slightly more informative error message for themes missing their parent theme. Need to offer to install the parent if it is in the themes directory.
git-svn-id: https://develop.svn.wordpress.org/trunk@13020 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 23:19:39 +00:00
Peter Westwood 9fbea38820 Switch to a constant for the fallback theme. See #9015.
git-svn-id: https://develop.svn.wordpress.org/trunk@13019 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 22:36:37 +00:00
Ryan Boren ee112fbd12 Make twentyten the fallback theme. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13018 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 22:27:51 +00:00
Peter Westwood 685bd009b5 Ensure we don't mangle the array of link categories when sanitising a link for editing. See #12168.
git-svn-id: https://develop.svn.wordpress.org/trunk@13017 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 21:59:24 +00:00
Peter Westwood 06d6e8e094 Ensure we don't mangle the array of post ancestors when sanitising a post for editing. Fixes #12168.
git-svn-id: https://develop.svn.wordpress.org/trunk@13016 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 21:49:00 +00:00
Peter Westwood 085e0c3487 Ensure we are PHP4 compat. Fixes #12167 props blepoxp.
git-svn-id: https://develop.svn.wordpress.org/trunk@13014 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 21:07:35 +00:00
Ryan Boren 268d39dce7 Fix warning when installing.
git-svn-id: https://develop.svn.wordpress.org/trunk@13013 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 16:51:35 +00:00
Ryan Boren dc46453810 jQuery 1.4.1. Props Simek. fixes #11900
git-svn-id: https://develop.svn.wordpress.org/trunk@13011 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 15:19:45 +00:00
Dion Hulse 5aacc9a839 $term is an array not object, Fixes Notice on duplicate term checking. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13010 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 06:51:05 +00:00
Dion Hulse d4dce39218 Add missing filter to sy:updateFrequency in RDF feed. Props ramiy. Fixes #12156
git-svn-id: https://develop.svn.wordpress.org/trunk@13002 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 03:43:52 +00:00
Ryan Boren a14ee51cad Use canonical status list. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12995 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 17:51:24 +00:00
Ryan Boren 68db07fb9b Add more visibility args to post status registration. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12994 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 17:46:00 +00:00
Ryan Boren 8be3a24819 Add a separate show_ui flag for post types. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12993 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 17:27:30 +00:00
Ryan Boren 0b7de0491f Register the auto-draft post status. see #11889
git-svn-id: https://develop.svn.wordpress.org/trunk@12992 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 17:09:34 +00:00
Peter Westwood 1cec5d58ef Add defaults for 'post_content' and 'post_title' in wp_insert_post(). See #11889.
git-svn-id: https://develop.svn.wordpress.org/trunk@12990 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 14:49:54 +00:00
Peter Westwood c45f4d2905 Ignore the continents-cities mo files when searching for the list of installed language packs. Fixes #12019
git-svn-id: https://develop.svn.wordpress.org/trunk@12988 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 11:42:20 +00:00
Mark Jaquith 2d54780d5e Create post_status=auto-draft when creating a new post item. status changes to draft on first auto-save. now we always have a real post ID to work with. see #11889. fixes #11145. fixes #11990
git-svn-id: https://develop.svn.wordpress.org/trunk@12987 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 10:07:57 +00:00
Dion Hulse 8b38dceeca Move admin CSS colour themes to the admin_init hook. Fixes #11625
git-svn-id: https://develop.svn.wordpress.org/trunk@12982 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 05:15:26 +00:00
Dion Hulse 76dda2b570 Redirect ?page_id=xx for the Posts page to the posts page. Fixes #11991
git-svn-id: https://develop.svn.wordpress.org/trunk@12980 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 03:50:55 +00:00
Dion Hulse b385071e76 Redirect home_url variants to home_url(). See #11991
git-svn-id: https://develop.svn.wordpress.org/trunk@12979 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 03:40:24 +00:00
Ryan Boren 65b3f1e5e3 Introduce get_home_url(), get_site_url(), and get_admin_url() for fetching urls by blog id. see #12119
git-svn-id: https://develop.svn.wordpress.org/trunk@12978 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 21:49:19 +00:00
Ron Rennick fdcbef3e84 restore shell wp-content/blogs.php & add deprecated warnings, props nacin, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@12977 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 21:40:22 +00:00
Ron Rennick 9db8d54976 Reduce DB queries by half during MU signup, props donncha, see #12140
git-svn-id: https://develop.svn.wordpress.org/trunk@12973 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 17:59:24 +00:00
Ryan Boren 90c662f378 Pass to post_type_link filter. Props prettyboymp. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12971 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 17:54:40 +00:00
Dion Hulse f9361ef7f5 Simplify https:// conversion in plugins_url()/content_url() functions
git-svn-id: https://develop.svn.wordpress.org/trunk@12964 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 12:45:21 +00:00
Dion Hulse 811cd495e6 Fix plugins_url() for MU-plugins when running on Windows. Fixes #12080
git-svn-id: https://develop.svn.wordpress.org/trunk@12963 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 12:39:04 +00:00
Mark Jaquith 5539653109 Use addslashes() instead of esc_sql() in add_magic_quotes() to avoid the pretense of DB association. props miqrogroove
git-svn-id: https://develop.svn.wordpress.org/trunk@12961 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 23:05:13 +00:00
Peter Westwood 94762869e2 Fix bug in _search_terms_tidy. Fixes #12060 for trunk props miqrogroove.
git-svn-id: https://develop.svn.wordpress.org/trunk@12958 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 21:54:24 +00:00
Peter Westwood ec9016aaca Revert [12460] for now while we consider a better fix. See #10041
git-svn-id: https://develop.svn.wordpress.org/trunk@12957 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 21:40:02 +00:00
Ryan Boren 7ea506e02a Integrate remove_tinymce_media_button() into wp_tiny_mce(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12954 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 20:00:18 +00:00
Ron Rennick d8e029950c close dir in recurse_dirsize(), props ddebernardy, fixes #11749
git-svn-id: https://develop.svn.wordpress.org/trunk@12953 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 19:56:36 +00:00
Ron Rennick b21acae7f0 add siteurl filter for ms upgrades, props nacin, fixes #12069
git-svn-id: https://develop.svn.wordpress.org/trunk@12952 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 19:26:38 +00:00
Ryan Boren 0399d5c023 ms-functions pruning and cleanup. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12948 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 18:57:32 +00:00
Ryan Boren 3bc5c8975b Sitewide plugins cleanup. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12947 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 18:50:36 +00:00
Ryan Boren 529156a002 Introduce get_available_languages(). Validate WPLANG. fixes #11774
git-svn-id: https://develop.svn.wordpress.org/trunk@12946 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 18:46:25 +00:00
Ryan Boren 0d85cbf999 Make calendar valid HTML 5. Props iammattthomas. fixes #11554
git-svn-id: https://develop.svn.wordpress.org/trunk@12943 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 16:06:58 +00:00
Mark Jaquith cb141f847f Use $required_php_version. Props nacin. fixes #11637
git-svn-id: https://develop.svn.wordpress.org/trunk@12939 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 21:38:09 +00:00
Ryan Boren d491a56710 Add taxonomies arg to register_post_type() for registering built-in taxonomies for the post type. Props technosailor. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12938 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 19:50:37 +00:00
Ryan Boren 5bc5965535 Allow registering a meta box callback for setting up meta boxes when creating the edit form for a custom post type. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12937 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 18:54:42 +00:00
Ron Rennick 012732f59d improvements to custom content dir support, props nacin, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@12936 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 18:19:56 +00:00
Ron Rennick 9cfbad8ba3 fix potential global terms inconsistency, props rboren, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12933 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 01:00:57 +00:00
Ryan Boren 119e88cdf8 phpdoc for global_terms(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12932 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 22:58:06 +00:00
Ryan Boren 2b1691cdf4 Cleanup network plugin loading. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12930 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 21:41:17 +00:00
Ryan Boren 12c49c44f4 Allow customizing capabilities for custom post types. Always check caps against those in the post type object instead of contructing them manually. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12927 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 17:37:03 +00:00
Ron Rennick 45c254ac94 pass #2 change uploaded media rewrite rule, props nacin, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@12926 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 16:32:19 +00:00
Mark Jaquith 845df4462a Initialize $post_type_query_vars to avoid is_array() warning. see #12923
git-svn-id: https://develop.svn.wordpress.org/trunk@12925 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 03:18:27 +00:00
Ryan Boren 46b701d830 Permalinks for custom post types. Props prettyboymp. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12923 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 23:12:26 +00:00
Ron Rennick f4775300f1 add WP_DEBUG define check in DB code, props dxjones, see #12041
git-svn-id: https://develop.svn.wordpress.org/trunk@12922 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 22:22:21 +00:00
Ron Rennick e1a54f07b8 reorganize code on ms startup. props nacin, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12921 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 20:26:08 +00:00
Ryan Boren edd0157375 Introduce get_the_date(). Props jeremyclarke. fixes #11264
git-svn-id: https://develop.svn.wordpress.org/trunk@12917 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 16:28:54 +00:00
Peter Westwood 3a5f8c0ead Support specific author templates by id or user_nicename. Fixes #12064 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12915 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 21:32:39 +00:00
Peter Westwood ac72e501ea Fix typo in phpdoc for sanitize_text_field. Fixes #12091 props joshtime.
git-svn-id: https://develop.svn.wordpress.org/trunk@12912 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 15:41:19 +00:00
Ryan Boren 1f8632249d Remove db error show/hide, suppress/unsuppress in ms bootstrap. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12901 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 19:16:07 +00:00
Ryan Boren 954968abef Integrate mu_locale() into get_locale(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12900 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 19:03:51 +00:00
Ryan Boren c180f69c52 Code style cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@12899 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 18:53:32 +00:00
Ryan Boren 858e02d0d4 Update phpdoc to note that the default for public is false. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12898 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 18:26:33 +00:00
Ryan Boren bdbf075914 ms-settings cleanup. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12896 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 16:26:46 +00:00
Ryan Boren 93fc30b2a0 Send user back to main custom header page after cropping and setting image. Add support for a custom image div callback for greather theme flexibility. Props dphiffer. see #11855
git-svn-id: https://develop.svn.wordpress.org/trunk@12890 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 19:00:16 +00:00
Ryan Boren 22e8867c67 User correct var. Props nacin. fixes #12066
git-svn-id: https://develop.svn.wordpress.org/trunk@12889 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 17:30:50 +00:00
Ryan Boren 88024e6674 Clean up cache re-init code in Multisite. Props nacin. fixes #12065
git-svn-id: https://develop.svn.wordpress.org/trunk@12888 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 17:28:44 +00:00
Ryan Boren 3dac74e345 Add ms-default-constants.php. Props nacin. see #11881
git-svn-id: https://develop.svn.wordpress.org/trunk@12886 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 17:16:58 +00:00
Ron Rennick 014f5da245 rearrage multisite initialization, remove deprecated $wpmuBaseTablePrefix, props nacin, see #11881
git-svn-id: https://develop.svn.wordpress.org/trunk@12885 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 16:09:52 +00:00
Ryan Boren 0d41ebae21 Add id arg to wp_dropdown_pages(). Props jeremyclarke. fixes #11433
git-svn-id: https://develop.svn.wordpress.org/trunk@12882 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 21:29:07 +00:00
Ryan Boren 61dcf802c7 Change back to an option so that it is always there and regenerate it after cleaning the cache instead of waiting for the next page load. Don't clean taxonomy wide caches when just updating object counts to avoid cleaning when updating a post.
git-svn-id: https://develop.svn.wordpress.org/trunk@12881 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 19:42:23 +00:00
Ron Rennick 4bcd7b3afd Improvements to queries in populate_network(), also gettext, props nacin, see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@12880 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 19:13:00 +00:00
Ryan Boren 78f16856c6 Integrate wordpressmu_authenticate_siteadmin() into wp_authenticate_username_password(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12879 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 18:11:17 +00:00
Ryan Boren fd48be5b71 Avoid call to setup_postdata(). Use get_queried_object_id(). Props filosofo. fixes #11439
git-svn-id: https://develop.svn.wordpress.org/trunk@12877 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 17:45:49 +00:00
Ryan Boren 9d44dc664c Respect maximum embed height. Props Viper007Bond. fixes #11980
git-svn-id: https://develop.svn.wordpress.org/trunk@12875 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:38:48 +00:00