Dion Hulse
f5c9054956
Always set $link_text.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13110 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 11:12:47 +00:00
Dion Hulse
04a1493757
Remove extra get_option() calls (the functions default to that), Use the Media API for attachment image HTML, Replace deprecated function use(1.2~2.9 deprecated). See #9015
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13109 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 11:09:51 +00:00
Andrew Nacin
91bfbda120
Fix typos in inline docs for clean_url() and esc_url().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13108 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 10:58:01 +00:00
Andrew Nacin
a93c96ef98
Fix arg order in [13104]
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13107 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 10:46:38 +00:00
Andrew Nacin
d43ba9114b
Don't use deprecated functions. see #11388
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13106 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 10:35:10 +00:00
Dion Hulse
013ab6d764
Remove Direct SQL, Use new esc_html() function, Correct the case of the ID keys. See #9015
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13105 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 09:59:16 +00:00
Andrew Nacin
cedafb8a9b
Add ?preview=true to edit post rows when draft|pending. Props MMN-o, fixes #11688
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13104 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 09:49:44 +00:00
Mark Jaquith
561cca07d5
Do not limit thumbnails by the content_width. props Viper007Bond. fixes #12146
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13103 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 09:40:04 +00:00
Andrew Nacin
9e25bff4a0
Some phpdoc for functions.php. Props miqrogroove, see #12215
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13102 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 08:59:04 +00:00
Dion Hulse
4b66bf7c74
Introduce 'singular_label' for Post Types. Props scribu. See #12214
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13101 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 08:56:38 +00:00
Andrew Nacin
8be6c296b1
Consistently hide bulk actions, filters, and subpage links on admin panels when there are no items to show. Fixes #12086
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13100 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 08:49:27 +00:00
Dion Hulse
a5ad001b73
s/$original/$redirect/ in [13091]. Props miqrogroove. See #8948
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13099 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 08:29:55 +00:00
Andrew Nacin
03695fa9ae
Move deprecated pre-2.8 widget API to deprecated.php. Deprecate register_sidebar_widget, unregister_sidebar_widget, register_widget_control, unregister_widget_control, in favor of their wp_* counterparts. See #11388
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13098 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 07:55:28 +00:00
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