Andrew Nacin
e139dea4d1
Deprecate old category admin template functions. Deprecate dropdown_categories(), dropdown_link_categories(), wp_dropdown_cats() in favor of wp_category_checklist, wp_link_category_checklist, wp_dropdown_categories. See #11388
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13097 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 07:42:02 +00:00
Andrew Nacin
0470fb90ea
Deprecate old l10n and sanitization APIs. Deprecate __ngettext() for _n(), __ngettext_noop() for _n_noop(), translate_with_context() for _x(). Deprecate sanitize_url for esc_url_raw, js_escape for esc_js, wp_specialchars for esc_html, attribute_escape for esc_attr. See #11388
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13096 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 07:28:19 +00:00
Dion Hulse
75705ed4c3
Correctly save checkbox-style MS options and display "No" checked value correctly. See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13095 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 07:09:04 +00:00
Dion Hulse
68039969c1
Banish User_level 10 use from Network Menu.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13094 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 07:00:09 +00:00
Andrew Nacin
8e79d5c2ac
Move deprecated functions to deprecated.php. Deprecate get_the_attachment_link() for wp_get_attachment_link(), get_attachment_icon_src() for wp_get_attachment_image_src(),
...
get_attachment_icon() and get_attachment_innerHTML() for wp_get_attachment_image(), get_link() for get_bookmark(). Add missing deprecated version numbers. Add inline documentation to pluggable functions that are deprecated. See #11388
git-svn-id: https://develop.svn.wordpress.org/trunk@13093 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 06:39:51 +00:00
Dion Hulse
dfb58c1866
Bump tags JS version. See #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13092 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 06:20:45 +00:00
Dion Hulse
60de8ec26f
Canonicalisation of the Taxonomy urls. Redirect /category/child/ to /category/parent/child/. Fix striping of slashes to use $redirect instead of $original. See #8948
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13091 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 06:17:59 +00:00
Andrew Nacin
49f0af2f42
RTL fixes for new position of QuickPress ajax spinner, also version bumps, see #10680
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13090 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 06:14:37 +00:00
Dion Hulse
d5ced26371
Initialise Variables, Whitespace cleanup, Remove unused variables, Cast start_of_week option to int in sanitization.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13089 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 06:08:15 +00:00
Dion Hulse
6f5ca5962f
Flow on tax-modification errors on Tax inline edit to the UI. See #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13088 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 06:04:54 +00:00
Dion Hulse
de88d303fa
Prevent Terms from being created in multiple taxonomies. If a slug is provided by the user, error out if it exists, else make the auto slug unique. See #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13087 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 05:52:27 +00:00
Dion Hulse
7a3a38c39b
Convert Terms page to use WP_Ajax_Response(), hierarchical terms will now appear under their parent OR have the parents prefixed, Terms will be removed from tag cloud/parent list upon deletion, Terms will be added to Parent list in correct order upon ajax creation, Errors on term creation flow back to UI, clean up _tag_row() alternate class handling, Show None text in Category dropdown if empty and show_if_empty = true. See #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13086 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 05:40:47 +00:00
Andrew Nacin
dc02d03fcb
Re-position the QuickPress ajax spinner. Fixes #10680
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13085 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 05:35:47 +00:00
Andrew Nacin
1a4072f2e7
Make Recent Comments dashboard widget configurable. Allows user to choose how many comments to display, see #11891 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13084 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 04:39:39 +00:00
Dion Hulse
d8006b5939
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@13083 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 04:18:33 +00:00
Dion Hulse
a719ecc0a2
Add add_plugins_page() function to add a submenu of the Plugins Page. Fixes #11377
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13082 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 04:04:01 +00:00
Dion Hulse
9da2f26d98
Fix Terms Per Page for taxonomies, Apply old Category filter to value. See #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13081 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:52:33 +00:00
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
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