Commit Graph

11864 Commits

Author SHA1 Message Date
Andrew Nacin b154b4d604 Ensure post titles are consistently sanitized and filtered when displaying them in Bulk Edit, fixes #11307.
git-svn-id: https://develop.svn.wordpress.org/trunk@13079 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:17:57 +00:00
Andrew Nacin d53857acc8 Escape thousandsSeparator and decimalPoint JS variables, see #12005
git-svn-id: https://develop.svn.wordpress.org/trunk@13078 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:12:51 +00:00
Dion Hulse b1535c3d7e Introduce Custom Taxonomies Translation strings, Correctly identifies the taxonomy in the Strings of the edit pages. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13077 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:08:16 +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
Ron Rennick 78ee7b26e5 add activate_wp_head hook to wp-activate.php, fixes #12166
git-svn-id: https://develop.svn.wordpress.org/trunk@13073 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 00:33:47 +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
Ron Rennick 8abaa3bad4 add WP_FALLBACK_THEME to allowed_themes in populate_network, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13070 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 22:45:35 +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
Ron Rennick 113a86ebbd add siteurl site option for MU upgrade, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13067 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 17:37: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 55190d6ac6 Improve the implementation of the default constant defining functions. See #11881.
git-svn-id: https://develop.svn.wordpress.org/trunk@13063 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 07:56:28 +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
Matt Thomas b8a4cb7144 Make the RSS widget title match other widgets in twentyten
git-svn-id: https://develop.svn.wordpress.org/trunk@13061 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 06:11:46 +00:00
Matt Thomas 2348a07acd Fix typo in twentyten
git-svn-id: https://develop.svn.wordpress.org/trunk@13060 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 06:03:20 +00:00
Matt Thomas 085bcc1624 Close profile link tag in twentyten
git-svn-id: https://develop.svn.wordpress.org/trunk@13059 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 04:48:24 +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
Ron Rennick 930b21a770 fix dashboard right now category links, fixes #12205
git-svn-id: https://develop.svn.wordpress.org/trunk@13057 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 20:10:15 +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 d440214a7b Export post <-> term relationships for all taxonomies. fixes #12180
git-svn-id: https://develop.svn.wordpress.org/trunk@13055 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 19:17:00 +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 d204fd6215 Test explicitly for false from insert()/update(). Fixes early return that preventing link categories from being saved. fixes #12196
git-svn-id: https://develop.svn.wordpress.org/trunk@13053 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 16:17:12 +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 2f7ef8196b Pass the default post to default_content, default_title, and default_excerpt filters. Allows filtering by post_type and other attributes. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13051 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 22:20:36 +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 1e2b47d4f6 Use show_ui instead of _show. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13046 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 17:43:29 +00:00
Ryan Boren 6a5c43f5fc Fix screen layout options for custom post types. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13045 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 17:41:07 +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 d22d07e1f2 Use switch_themes instead of edit_themes so that non super admins on multisite installs can customize headers and backgrounds. Add CYA cap checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@13043 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 16:49:16 +00:00
Dion Hulse 718fa1b6e8 Fix off-by-one substr() error. Props blepoxp. See #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13042 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 10:59:45 +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 62690f100c prevent editing site domain/path on multisite main site, see #12177
git-svn-id: https://develop.svn.wordpress.org/trunk@13039 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 18:03:46 +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
Ron Rennick 9d74c95ed8 do not add /index.php permalink base in multisite, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13036 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 16:10:43 +00:00
Dion Hulse e5b17da3fb Rename new taxonomy page hooks to prevent hook conflicts. See #12171
git-svn-id: https://develop.svn.wordpress.org/trunk@13035 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 10:56:39 +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 883cad6a6f Setup some default widgets for the default theme at install. Props azaozz. see #12163
git-svn-id: https://develop.svn.wordpress.org/trunk@13033 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 22:17:18 +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 b3d7aae458 Use comment_form(). Props beaulebens. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13031 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 21:02:08 +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