Commit Graph

5737 Commits

Author SHA1 Message Date
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