Ryan Boren
0489d40810
s/Custom Menu/Menu/. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13401 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 16:57:57 +00:00
Dion Hulse
1fa94a6e1e
Restore backwards compatibility in automatic_feed_links() to deregister the extra feeds. Props Viper007Bond. See #12364
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13399 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 11:09:34 +00:00
Dion Hulse
49dce31f70
Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13398 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 08:56:19 +00:00
Mark Jaquith
618803a53e
Use custom fields for custom URL and new window data. Links no longer automatically open in a new window. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13397 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 08:48:17 +00:00
Dion Hulse
922e3e828f
Prefer $comment::comment_post_ID over $post global. Fixes #12217
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13396 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 07:56:25 +00:00
Mark Jaquith
212cd616cb
Nav Menu enhancements. Whole item is clickable to add. Refactored CSS. Scrollbar when more than 7 menu items. props ptahdunbar. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13395 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 05:40:03 +00:00
Ron Rennick
ea97476b5c
Warnings, code & UI/UX cleanup, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13392 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 23:12:51 +00:00
Mark Jaquith
ea659db305
Bump script version
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13391 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 22:54:00 +00:00
Ryan Boren
c5ed3410f1
Formatting cleanups for the nav menu widget. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13388 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 21:33:27 +00:00
Ron Rennick
fcabf2c9df
database code cleanup, See #12362
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13387 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 21:30:13 +00:00
Ron Rennick
b2e6817220
update wpdb blogid using setter, See #12362
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13386 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 21:07:23 +00:00
Ryan Boren
69021b5fc4
Hash to static gravatar domains. Props apokalyptik.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13385 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:50:40 +00:00
Andrew Nacin
c9dfb91763
Spelling and grammar fun. Fixes #11875 props cnorris23
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13382 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:13:23 +00:00
Mark Jaquith
1b01dd4ecd
Some XSS escaping love for nav menus. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13381 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:10:12 +00:00
Ryan Boren
01566773be
Rename nav menu widget. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13378 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:25:13 +00:00
Ryan Boren
66b081abd2
Remove author tags. fixes #12366
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:07:21 +00:00
Andrew Nacin
686c7fa0e4
More wpdb cleanups, see #12362
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13376 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 18:58:52 +00:00
Ryan Boren
e52fa727be
Nav menu cleanups. Props nbachiyski. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13375 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 18:52:54 +00:00
Mark Jaquith
56862a5741
Fix menu selection CSS, menu selection alignment, right meta boxes alignment. Disable alert fading for custom menu admin. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13372 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 10:37:00 +00:00
Mark Jaquith
2586813ba9
Use esc_js() so pages with quotes can be added to custom menu. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13371 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 10:20:45 +00:00
Mark Jaquith
cee605ea34
Fix menu links. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13370 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 10:11:49 +00:00
Ryan Boren
ed332ce2bd
Fallback to wp_page_menu() from wp_nav_menu() if no menus are setup. Use wp_nav_menu() in twentyten. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13368 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:45:26 +00:00
Ryan Boren
d357c80caf
Reorg nav menu files. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13366 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:06:36 +00:00
Andrew Nacin
e6b37271cd
Coil the kses entities whitelist. See #12284
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13363 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 07:33:14 +00:00
Ryan Boren
2d86f12b6f
Return menu object from wp_create_nav_menu(). Fix trailing separator in menu list. Disable menu delete because it deletes the current menu when a new menu is added. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13362 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 06:41:35 +00:00
Ryan Boren
f6e79cc66c
s/custom_nav()/wp_nav_menu()/. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13361 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 06:18:13 +00:00
Ryan Boren
096ea9990a
Whitelist entities. Props miqrogroove. see #12284
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13358 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 05:37:20 +00:00
Ryan Boren
ab58e705b9
Don't quote escaped strings. Props dd32. see #11608
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13357 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 05:30:34 +00:00
Ron Rennick
7623fc24ac
dont show items when menu empty, See #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13354 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 00:37:15 +00:00
Andrew Nacin
fb4b78214b
Don't use private wpdb vars. See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13353 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 00:18:18 +00:00
Andrew Nacin
1b3f29f056
Proper RTL + .dev.css support, first pass. See #12292
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13351 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 23:46:07 +00:00
Andrew Nacin
ef2c401876
Add .type-{post_type} to post_class. fixes #11609
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13350 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 23:32:17 +00:00
Andrew Nacin
4f3ffedba8
Support Ogg audio and video file extensions. Fixes #11519 props niallkennedy
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13349 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 23:26:30 +00:00
Andrew Nacin
d37de180e1
Validate $object_id in *_metadata() functions. Props scribu fixes #11841
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13347 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 22:42:54 +00:00
Ryan Boren
54ff8bf47c
Fix php open tag. Props TobiasBg. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13345 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 22:07:33 +00:00
Ryan Boren
a4b48f6d6a
Some nav menu API. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13344 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 22:06:21 +00:00
Andrew Nacin
0c2fa545cd
More wpdb cleanups, docs. see #11644 props hakre
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13343 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 22:04:29 +00:00
Andrew Nacin
19db2cc569
Fall back to $wpdb::blogid, not main blog id, in wpdb->tables(). See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13341 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 20:38:41 +00:00
Ryan Boren
729d27f290
More output consolidation. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13338 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 20:22:56 +00:00
Andrew Nacin
4bad9d635f
Ensure we have MS global tables defined during network install. See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13337 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 19:58:53 +00:00
Ryan Boren
1aec1c4178
More output consolidation. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13336 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 19:28:41 +00:00
Ryan Boren
7976d36ca2
More output consolidation. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13334 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 18:45:59 +00:00
Ryan Boren
e26a78918d
Start consolidatinh menu item outupt into output_menu_item(). DRY. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13332 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 18:17:51 +00:00
Ryan Boren
e498956867
Nav cleanup. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13331 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 17:13:24 +00:00
Andrew Nacin
2e11ad2c3c
Introduce unload_textdomain() and add plugin_locale and theme_locale filters to load_*_textdomain() functions. Fixes #9686 props nbachiyski
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13330 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 11:14:35 +00:00
Andrew Nacin
af187b2759
Switch over to *_user_meta() syntax. The old get_usermeta() would return a string when only one value was found, get_user_meta() requires $single = true. Fixes #10837
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13329 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 10:42:40 +00:00
Andrew Nacin
11489bbd41
Don't show two ellipses in wp_widget_rss_output(). Fixes #11244 props miqrogroove
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13328 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 10:30:21 +00:00
Andrew Nacin
59701fcaec
Use sprintf() in hard-coded string. Use same comment and error code as other identical message. See #11644 props hakre
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13327 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 09:44:27 +00:00
Andrew Nacin
2a86f138e8
Ensure we're back compat with return values and actions in deprecated *_usermeta() family. See #10837
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13326 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 09:15:47 +00:00
Andrew Nacin
c4449c4cb2
Change inline docs to reflect [13324]
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13325 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 09:08:50 +00:00
Andrew Nacin
8282ad9bfa
Improvements and fixes to wpdb::tables(). See #12083 see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13324 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 09:06:50 +00:00
Dion Hulse
e3cd873481
Restore [13194] which was accidentally overwritten in [13315]. See #12256
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13323 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 07:10:47 +00:00
Ron Rennick
7915dbb80a
add function for deleting individual menus, see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13322 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 03:19:30 +00:00
Ron Rennick
2e25b92eb2
fix debug notice in wp_set_object_terms(), props jeremyclarke, fixes #12344
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13321 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 02:37:19 +00:00
Ryan Boren
b2471216cd
Revert [13187] pending further debate. see #12267
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13318 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 01:13:37 +00:00
Ryan Boren
f550f5ce35
Formatting cleanups. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13317 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 23:14:03 +00:00
Mark Jaquith
fc77a1d879
Whitespace cleanup
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13316 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 23:12:48 +00:00
Mark Jaquith
7ff8d50bd4
Serve a real 404 for ?p=does-not-exist, ?cat=does-not-exist, etc. fixes #12250 . fixes #10930 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13315 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 22:54:21 +00:00
Andrew Nacin
8ca4dceb9e
Docs and code convention cleanups. see #11644 props hakre
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13314 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 22:53:54 +00:00
Andrew Nacin
d17b86f3fc
Don't use PHP short tag. Fixes #12337 props junsuijin
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13312 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 21:26:48 +00:00
Andrew Nacin
670b8d8bfb
Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13311 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 21:25:32 +00:00
Ryan Boren
b1ee08dcbe
jQuery 1.4.2. fixes #12305
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13310 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 20:27:14 +00:00
Andrew Nacin
59167f1593
Remove unused 'secret' option. Fixes #12221
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13309 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 20:27:02 +00:00
Andrew Nacin
65ff4db415
Introduce is_textdomain_loaded(). Fixes #10527 props nbachiyski.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13304 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 19:10:03 +00:00
Ryan Boren
485dd8a9c4
Custom background styling fixes. Props yoavf. see #12186
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13303 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:46:29 +00:00
Andrew Nacin
214d6b2ab0
Fix notice in WP_Http. Fixes #12316 props sivel.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13302 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:45:45 +00:00
Andrew Nacin
1543bdbf56
Introduce *_user_meta() functions, deprecate *_usermeta() family. Fixes #10837 props scribu, technosailor.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13300 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:35:35 +00:00
Andrew Nacin
6c154d97c9
Deprecate clean_url() for esc_url(). Fixes #12309
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13299 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:25:51 +00:00
Andrew Nacin
05a37728b1
Use esc_url() instead of clean_url(). See #12309
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13297 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:15:10 +00:00
Ron Rennick
117a68163d
improve custom menu hierarchy logic, See #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13293 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 17:27:34 +00:00
Ryan Boren
f07d93ef40
Don't require a default category for attachment types other than 'post'. Props jfarthing84. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13291 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 17:19:54 +00:00
Dion Hulse
c7be408d4a
Introduce assign_cap for Taxonomies, Defaults to 'edit_posts'. Allows for Authors/Contributors to tag/categorise their posts. See #12035
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13289 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 08:36:32 +00:00
Ron Rennick
f6c3fab34d
output correct parent id, visual hierarchy in admin, See #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13287 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 02:01:44 +00:00
Ron Rennick
0f2f0a82ec
add custom menu hierarchy support to admin, See #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13286 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 00:26:21 +00:00
Ryan Boren
6c64fffe3a
Use nav_menu as the taxonomy name and nav_menu_item as the post type. Set object_id in postmeta. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13284 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 18:24:41 +00:00
Dion Hulse
c7e8fc7675
Set svn:eol-style on new navigation file, Temporarily fix Notice in Menu code. See #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13280 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 10:55:47 +00:00
Dion Hulse
9d3ea3bbae
add show_tagcloud to Taxonomy registration & add basic PHPDoc, See #11612
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13277 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 02:55:07 +00:00
Dion Hulse
46caaba88b
Allow the Tag Cloud Widget to support non-tag taxonomies. Props Sivel. Fixes #11612
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13276 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 02:47:58 +00:00
Dion Hulse
f68b5c6093
Add FunnyOrDie.com oEmbed support. Props Viper007Bond. Fixes #11899 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13275 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 02:17:39 +00:00
Dion Hulse
03f690c3ff
Split WP_Http classes into separate file. Fixes #11559
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13274 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 02:06:24 +00:00
Ron Rennick
8f7ed98113
use map_meta_cap for multisite superadmins, props dd32, fixes #12109
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13270 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:19:05 +00:00
Ryan Boren
8726b1d116
Use core jQuery UI. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13269 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:10:20 +00:00
Ryan Boren
f24e88359e
Trim trailing whites
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13268 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:03:42 +00:00
Ryan Boren
8abd24ce0d
Make js noConflict compat. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13266 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 23:58:00 +00:00
Ryan Boren
b71cec1a15
Move autocomplete to standard jquery directory. Use core jQuery. Use jQuery instead of $. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13263 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 23:35:05 +00:00
Ryan Boren
12b118e514
Rename file. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13262 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 23:18:57 +00:00
Ryan Boren
123b6244e3
Remove custom post states. Register taxonomy against menu_item post type. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13260 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 22:35:39 +00:00
Ryan Boren
8c3feb431b
Don't show menu for menu taxonomy. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13259 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 22:24:47 +00:00
Ryan Boren
63238b1667
Set taxonomy label if none given.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13258 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 22:21:20 +00:00
Ron Rennick
f97af13505
introduce custom menus, props jeffikus, See #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13257 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:57:43 +00:00
Andrew Nacin
b7308ebe6c
Set svn eol-style native on new files
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13255 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:00:19 +00:00
Andrew Nacin
d17afeb98e
Minor MS startup cleanups. See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13254 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 14:07:23 +00:00
Andrew Nacin
8c10673185
Rename is_installed() to ms_not_installed(). See #12083
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13253 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 13:51:32 +00:00
Andrew Nacin
e7c02e7e53
Add template_include filter, to modify the template path before it is included. Fixes #11242
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13252 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 12:58:25 +00:00
Andrew Nacin
dc428cec96
Always pass widget instance to widget_title filter. Also add widget type, props scribu, fixes #11362
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13248 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 11:56:00 +00:00
Andrew Nacin
ea9e869ea8
Fix wpdb::tables() prefix handling. Ensures PHP4 compat. See #12083
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13245 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 10:50:57 +00:00
Dion Hulse
468d0d7cff
Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 02:01:46 +00:00
Dion Hulse
4011b3d4a8
Remove unused references to global $wpdb
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13240 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 00:50:29 +00:00
Andrew Nacin
cf8e703218
Suffix and version bump for ie.css, see #12292
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13239 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 00:02:59 +00:00
Andrew Nacin
854fd5ac9e
Add ms.css to script-loader.php. See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13237 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 22:55:01 +00:00
Andrew Nacin
67fc9a1037
Add filter to get_avatar() to allow avatars for custom comment types. Props usermrpapa. Fixes #11880
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13231 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 20:27:56 +00:00
Andrew Nacin
d543b36622
Introduce wpdb::tables() to fetch table names on a global or blog scope. Remove very old and long deprecated $table{table} globals, fixes #11614 . See #12083
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13229 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 19:57:03 +00:00
Ryan Boren
c94d1c04c0
Sync pomo. Props nbachiyski. fixes #11832
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13228 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 18:01:50 +00:00
Ryan Boren
9cea2b661a
Add an index on comment_parent to speed up wp_delete_comment() reparenting queries. fixes #12289
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13227 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 17:56:40 +00:00
Andrew Nacin
d0b71fc766
Fix potential notice. props hakre, see #12283
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13225 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 15:04:46 +00:00
Andrew Nacin
dd171a6767
Add missing i18n comment for a hard-coded string. Props Nao, fixes #11654
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13222 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 13:39:41 +00:00
Dion Hulse
32ad16e1e8
Update get_user_option()'s PHPDoc Comment to remove mentions of blog options. See #11615
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13220 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:49:07 +00:00
Dion Hulse
5c9b1907a7
Make better use of $wp_query->get_queried_object() instead of duplicating its functionality. See [13143]
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13219 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:45:29 +00:00
Dion Hulse
897529ea59
More Taxonomy cap checks. See #12035
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13217 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:26:44 +00:00
Dion Hulse
7cdc6568d0
First pass at giving taxonomies a show_ui param. See #10773
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13216 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:21:29 +00:00
Dion Hulse
5028f2ccbb
Fix $post_type handling/passing in the Taxonomy edit links. Fix the Tag selection query var for edit.php in the Posts links. See #12270 , See #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13213 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 09:54:18 +00:00
Dion Hulse
249da10ef7
More Taxonomy cap checks. See #12035
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13212 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 09:33:50 +00:00
Andrew Nacin
4c9f9b02eb
Update Text_Diff. Props simek. Fixes #9467
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13211 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 01:25:26 +00:00
Andrew Nacin
fa77333608
Some more phpdoc bits for functions.php. Props miqrogroove, fixes #12215
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13210 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 01:08:39 +00:00
Andrew Nacin
4d2c75d785
Assume WP_DEBUG is defined in wpdb. Remove unnecessary constant() calls. Ensure DB_COLLATE defined as empty string doesn't override default Multisite collation. fixes #12041 , see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13209 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 01:03:58 +00:00
Andrew Nacin
139f4ba5d1
Allow more special characters in wp_generate_password() second pass. props sivel, see #12159
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13206 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 00:03:36 +00:00
Andrew Nacin
5921acfa63
Bail early for favicon.ico requests so we don't load WP twice. Props azaozz, sivel. Fixes #3426
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13205 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 23:41:50 +00:00
Andrew Nacin
ea0b2aacf0
Move deprecated pluggable functions to a new file to lower their profile. Also throw deprecated warnings if a plugin defines a deprecated pluggable function. See #11388
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13204 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 23:17:06 +00:00
Andrew Nacin
96c01c0018
Add Youtu.be short URLs and Smugmug to the default oEmbed providers. Props Viper007Bond, fixes #11556 , fixes #12157
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13203 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 22:43:52 +00:00
Peter Westwood
6c53a37d5b
Move more references from default to WP_FALLBACK_THEME. To make 'default' theme transition smoother in the future.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13202 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 22:09:06 +00:00
Ryan Boren
6ac95a1b86
jQuery UI 1.7.2. fixes #11595
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13201 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 20:49:16 +00:00
Ryan Boren
b6cf7b637e
Don't use array_fill_keys() as it is PHP5 only. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13199 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 20:03:04 +00:00
Ryan Boren
f17505ed9f
Don't include internal post types in the total. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13198 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 20:01:10 +00:00
Ryan Boren
15f2f0bda1
add_settings_error fixes. Props jeremyclarke. fixes #11474
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13197 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 19:43:44 +00:00
Andrew Ozz
bca05ce950
Sync checkboxes only for categories, some white space cleanup, props kevinB, fixes #12244
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13195 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 11:20:15 +00:00
Dion Hulse
5318997d5f
Display robots.txt even on blogs with 0 posts on the home page. See #12256
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13194 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 10:57:49 +00:00
Andrew Ozz
e4d483efa2
Fix the 'colors' meta-css src (boolean) value generating parse_url errors, fixes #11820
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13193 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 10:30:28 +00:00
Andrew Ozz
6ea8ad96ef
Clean attachment cache when reattaching, fixes #11647
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13192 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 07:43:35 +00:00
Andrew Nacin
4d65e83ef9
Allow tab to intent in plugin/theme editors. Reverts first pass, [13131]. Props azaozz, fixes #12204
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13191 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 05:14:48 +00:00
Andrew Nacin
13584938e1
Use background-position, as background-position-x has incomplete browser support (Webkit and IE6+ only, no Firefox or Opera). See #12186
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13190 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 04:46:40 +00:00
Ryan Boren
f1eb009074
Add defaults for background option radios. see #12186
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13189 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 03:12:05 +00:00
Ryan Boren
1cd2f4c113
Use background-position-x. Props iammattthomas. see #12186
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13188 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 03:01:45 +00:00
Ron Rennick
f3a3e63a5b
introduce post & comment classes, props skeltoac, See #12267
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13187 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 01:52:37 +00:00
Ryan Boren
5d1cb7981a
Add some options to custom background admin. Needs styling. see #12186
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13186 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 00:14:56 +00:00
Andrew Nacin
a4107f75c1
Add initial WP_DEBUG define to wp-config-sample.php and suggest plugin/theme developers use it. Fixes #12236
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13185 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 20:36:00 +00:00
Ryan Boren
5f268b6d43
Don't require a default category for post types other than 'post'. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13184 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 20:33:29 +00:00
Andrew Nacin
09b549a5f8
Remove STYLE_DEBUG constant, SCRIPT_DEBUG now handles both scripts and CSS. Fixes #12237
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13183 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 20:25:51 +00:00
Andrew Nacin
936ea0c300
Modify style of new "Privacy On" admin header indicator. props scottbasgaard, fixes #12211
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13182 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 20:16:54 +00:00
Ryan Boren
163919a4d8
Comment form output tweaks. Props beaulebens. see #10910
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13180 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 19:28:03 +00:00
Ryan Boren
0ac0e76299
Option validation error reporting. Props jeremyclarke. see #11474
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13177 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 17:50:42 +00:00
Andrew Nacin
61f02ae2fb
Better inline documentation for WP_DEBUG, WP_DEBUG_DISPLAY, and WP_DEBUG_LOG. Fixes #11987
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13176 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 13:14:45 +00:00
Andrew Nacin
5745de2119
Fix suppressed notice in wpdb::get_caller(). Props arena, fixes #11721
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13174 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 12:13:34 +00:00
Ryan Boren
663ab7e478
Flag post statuses as public, private, protected, or internal. Add flags for showing the type in the admin all query and the admin status list. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13172 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 21:13:44 +00:00
Ryan Boren
6ce57fbc72
Add optional post ID arg to get_comments_link(). Props scribu. fixes #12249
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13171 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 17:54:19 +00:00
Dion Hulse
04a67c293e
2nd pass at Taxonomy Term canonicalisation. Fix get_term_link() to expect null|false||WP_Error failure from get_term() family. See #12245 , #8948
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13170 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 09:08:26 +00:00
Mark Jaquith
5b5b870b16
Place a "Privacy On" mini-alert in the wp-admin header when it is on, to prevent people from accidentally delisting themselves from search engines. props scottbasgaard. fixes #12211
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13168 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 03:54:40 +00:00
Andrew Nacin
343b2b1251
Init array in wpdb:get_results() and get_col_info(). Props UnderWordPressure, miqrogroove, fixes #10607
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13161 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-15 10:00:39 +00:00
Andrew Nacin
8c98828c2f
Rename wp-includes/blogs.php to ms-blogs.php. See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13159 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-15 01:08:23 +00:00
Andrew Nacin
c95a891437
Fix var name conflict in delete_site_option(), see #10788
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13158 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 23:30:31 +00:00
Dion Hulse
a498c11da0
Update wp_get_http() to handle redirections on HEAD requests. Un-deprecate $red header to track total redirections. See #10624
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13151 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 11:23:32 +00:00
Andrew Nacin
c4da5360d4
Adjust regex for counting links in a comment when checking if it needs to be held for moderation. Also fix notice in wp_new_comment(). see #11830
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13150 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 10:59:37 +00:00
Dion Hulse
907b4933c5
Disable Redirection on HEAD requests. See #10624
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13149 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 10:41:07 +00:00
Andrew Nacin
9d476c2d66
Add hooks across options and transients APIs. Focuses on site transients/options functions. Attempts to standardize where possible. See #10788
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13148 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 10:39:46 +00:00
Peter Westwood
e7d1e80302
Introduce new get_generic_template() function for themes to use to bring in pieces of template.
...
Use in twentyten for loop.php including. See #9015 .
git-svn-id: https://develop.svn.wordpress.org/trunk@13146 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 09:32:23 +00:00
Mark Jaquith
af0d39b38b
Skip intermediate sizes of a different aspect ratio than the original image when considering which image to use in image_get_intermediate_size(). fixes #12218
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13145 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 08:21:07 +00:00
Dion Hulse
f33e66e512
Optimize single_post_title(), single_tag_title() & single_cat_title() to use WP_Query globals if available. Removes an extra DB Query in single_post_title() in most cases.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13143 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 07:38:00 +00:00
Andrew Nacin
396f458c51
More cleanups of the options/transients APIs. More inline documentation, better return values (always true on success, false on failure). Only call actions that are after wpdb delete/update operations if the operation was successful. See #10788
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13142 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 07:21:15 +00:00
Mark Jaquith
daea21aade
Revert r13103 and merely restrict \$content_width obeying to is_admin(). fixes #12146
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13140 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 06:34:47 +00:00
Andrew Nacin
79715e7a4c
Whitespace, phpdoc, standard variable names, better return values for options and transients APIs. See #10788
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13139 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 06:17:42 +00:00
Andrew Nacin
d1e195db99
Use an expanded special character set when generating auth keys and salts via wp_generate_password(). Props sivel, see #12159
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13137 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 04:06:30 +00:00
Andrew Nacin
43d5926b6b
Fall back to wp_generate_password() in setup-config.php if HTTPS request for secret keys fails. Also use pretty link to secret-key API, see #12159
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13133 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 02:47:45 +00:00
Andrew Nacin
0fc1312800
Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13132 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 02:27:19 +00:00
Andrew Nacin
b38b545ed4
Allow tab intents in plugin/theme editors. Utilizes the Tabby jQuery plugin, see #12204
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13131 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 02:14:59 +00:00
Ron Rennick
0a4e820ba1
use current site domain for cookie domain when cookie domain not set, See #12142
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13127 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 00:12:08 +00:00
Ryan Boren
3da1c8bb17
Add ability to query by domain and/or path to get_blog_details(). Improve blog details caching. Use get_blog_details() in ms-settings.php so queries are cached. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13126 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 23:09:54 +00:00
Ryan Boren
67bb939654
Move blogs table related functions to blogs.php. Include it before ms-settings.php so that caching API can be used instead of direct queries. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13125 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 22:35:11 +00:00
Andrew Nacin
9682c32c7b
s/$blog/$blog_id/ as an argument in wp_dropdown_users(), for consistency, see #11086
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13123 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 20:17:15 +00:00
Andrew Nacin
e2e67c91cb
Don't query against entire users table in wp_dropdown_users() to be multisite friendly. Fixes #11086
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13122 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 20:12:08 +00:00
Andrew Nacin
0210cf3c6e
Add is_multisite() check to wpdb::get_blog_prefix() to fix get_blog_prefix($blog_id) call on a non-MS install. See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13121 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 19:57:43 +00:00
Ryan Boren
a7c3d02452
Add trash to edit cap check.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13118 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 19:05:10 +00:00
Ron Rennick
b39f3fd7f5
use object cache on get_blog_option on current blog, props sivel, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13116 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 18:56:50 +00:00
Peter Westwood
1600c4610f
Add the generator element in feeds through the {rss2|atom|rdf|rss|opml}_head hooks. Fixes #6947 props sivel.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13113 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 16:45:16 +00:00
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
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
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
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
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
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
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
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
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
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
Ryan Boren
5fd2d9c671
Move deprecated admin functions to wp-admin/includes/deprecated.php. Props nacin. fixes #12024
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12871 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:10:32 +00:00
Ryan Boren
2525f1169b
Mark validate_email() with _deprecated_function(). Props ShaneF. fixes #11745
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12868 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 13:58:29 +00:00
Ron Rennick
b0b57be325
deprecate validate_email(), fixes #11745
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12863 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 01:27:25 +00:00
Ryan Boren
72adbb470e
Remove trailing whitespace
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12859 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 22:49:05 +00:00
Ryan Boren
909191a37d
Deprecate is_main_blog() for is_main_site(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12858 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 22:46:09 +00:00
Ryan Boren
ed156968a3
Integrate maybe_cancel_post_by_email() into wp-mail.php. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12855 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 20:53:59 +00:00
Ryan Boren
4fa746310c
Remove first page and first comment filters. They're no longer needed. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12854 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 20:42:37 +00:00
Ryan Boren
5c1138c35b
Integrate login_spam_check() into wp_authenticate_username_password(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12853 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 20:25:34 +00:00
Ryan Boren
c8eb06af04
Integrate wpmu_blogger_getUsersBlogs() directly into xmlrpc.php. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12852 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 20:15:43 +00:00
Ryan Boren
3485776132
Integrate fix_upload_details() into wp_upload_dir(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12851 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 20:02:11 +00:00
Ryan Boren
a56f033751
Merge mu_upload_dir() into wp_upload_dir(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12850 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 19:04:55 +00:00
Ryan Boren
66c2878bcd
Remove rss_gc(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12849 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 18:47:34 +00:00
Ryan Boren
94a9904b69
Remove fix_actve_plugins(). Props hakre. fixes #11750
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12848 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 18:39:12 +00:00
Ryan Boren
66b9e3666f
Move load_muplugin_textdomain() to l10n.php
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12840 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 17:25:31 +00:00
Ryan Boren
dd519ac669
Deprecate get_user_details(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12839 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 17:16:49 +00:00
Ryan Boren
127b36e064
Deprecate get_current_user_id(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12838 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 17:12:38 +00:00
Ron Rennick
3874a36223
Change VHOST check to is_subdomain_install(), See #11796
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12836 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 15:20:49 +00:00
Dion Hulse
d1a8b1bdb6
Remove accidental capability testing code. See #12035
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12834 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 11:37:25 +00:00
Dion Hulse
8c6e15b457
First scratch at Taxonomy Capabilities. See #12035
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12833 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 11:32:04 +00:00
Ryan Boren
5a13380cf4
Move blog deletion to ms-delete-site.php. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12828 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 22:46:41 +00:00
Ryan Boren
15e5d91692
Deprecate graceful_fail(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12827 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 22:09:43 +00:00
Ryan Boren
d33c4ae2ca
phpdoc and cleanup. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12826 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 22:01:43 +00:00
Ryan Boren
c01fb90ff1
Deprecate wp_shrink_dimension(), add wp-admin/includes/deprecated.php. Props filosofo. fixes #11967
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12823 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 18:50:01 +00:00
Ryan Boren
56c9c4c527
Deprecate magpie. Props nacin. fixes #11982
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12822 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 18:37:05 +00:00
Ryan Boren
e5d23ee3e5
Add optional comment ID argument to comment template functions. Props filosofo. fixes #12006
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12821 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 17:34:13 +00:00
Dion Hulse
bc3fbede7f
Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12818 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-24 11:00:27 +00:00
Mark Jaquith
46b0270ab7
Shake the JS weight away!
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12817 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-24 06:16:17 +00:00
Mark Jaquith
44d8494043
seismic failures.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12815 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-23 23:07:56 +00:00
Ryan Boren
4f1b90798b
Update @since. see #10910
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12811 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-23 18:13:31 +00:00
Ryan Boren
4809d05ab4
comment_form(), first pass. Props beaulebens. see #10910
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12810 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-23 18:06:37 +00:00
Ron Rennick
34c46c0eac
Change get_blogs_of_user to include 3.0 main site, Fixes #11975
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12807 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 23:51:23 +00:00
Ryan Boren
325e92da49
Introduce update_blog_details(). Add some phpdoc. Fix some warnings. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12806 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 23:35:59 +00:00
Ryan Boren
fcb15685d5
Fix warnings
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12800 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 22:14:22 +00:00
Ryan Boren
e5a67cebd5
Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12798 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 19:30:05 +00:00
Ryan Boren
57577592b6
Introduce WP_User::for_blog() and current_user_can_for_blog() to avoid calls to WP_User::_init_caps(). fixes #11781
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12796 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 17:27:28 +00:00
Donncha O Caoimh
ffd8c38ae1
Delete the useremail cache when user updated. MU signup for old email fails until cache invalidated otherwise.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12795 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 16:06:31 +00:00
Ryan Boren
1b781db6c3
jQuery 1.4. fixes #11900
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12792 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 22:31:48 +00:00
Ryan Boren
b9457ce8ff
Add flag to taxonomy registration allowing permalinks to be prepended with front, or not. Props prettyboymp. fixes #11449
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12791 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 22:25:16 +00:00
Peter Westwood
e5b9ba2a92
Allow for an alternative handler for wp_die to be used if required. See #11892 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12790 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 22:13:20 +00:00
Ryan Boren
2e46e81309
i18n fixes. Props nbachiyski. fixes #11954
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 21:37:43 +00:00
Ron Rennick
7028f64e49
allow www installs to enable multisite, see #11945
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12787 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 17:20:23 +00:00
Mark Jaquith
a9d8e2bdcb
Update the inline documentation for HTTP to reflect the true order of HTTP transports
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12785 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 12:02:55 +00:00
Ryan Boren
efb7966619
Update trash and right now links for pages. fixes #11958
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12783 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 06:53:33 +00:00
Ryan Boren
d6ea7c7bde
Add email and login dupe checking down into wp_insert_user(). Tidy up user-new.php. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12778 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 21:58:13 +00:00
Ryan Boren
a9b7e7f7fa
Deprecate wp_install_blog_defaults(). Use wp_install_defaults() instead. fixes #11747 see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12776 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 20:09:41 +00:00
Dion Hulse
b8323c4ee9
White space clean-up. See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12773 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 07:44:47 +00:00
Dion Hulse
71b6a3d56b
Typo fix in Network Plugins. Props nacin. See #11881
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12772 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 07:37:53 +00:00
Ron Rennick
a5d7344d4f
sync single and multisite cookie hash, remove extraneous code, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12771 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 01:14:05 +00:00
Ryan Boren
21c4d151e2
Use API to set the user's role. see #11781
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12770 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 20:12:04 +00:00
Ryan Boren
299bd70ce0
Merge clear_global_post_cache() into clean_post_cache(). fixes #11744
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12768 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 19:45:44 +00:00
Ryan Boren
aceedd977d
Introduce clean_user_cache(). fixes #11761
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12766 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 19:23:11 +00:00
Ryan Boren
640c04fbe2
Typo fix. Props mentel_br. fixes #11921
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12763 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 17:28:48 +00:00
Ryan Boren
a279ade5a0
phpdoc for load.php, return some includes to global scope. Props nacin. see #11881
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12762 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 17:27:03 +00:00
Ryan Boren
fa345f7f2c
phpdoc for metadata API. Props wnorris. fixes #11943
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12761 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 17:08:04 +00:00
Ryan Boren
59d31d8c5e
Formatting cleanups
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12760 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 17:01:39 +00:00
Ron Rennick
cb779b4655
options network page, db variable change, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12757 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 00:18:52 +00:00
Ryan Boren
ee5efb4187
Multisite and formatting cleanups. Introduce get_allowed_themes(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12755 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 23:34:36 +00:00
Ryan Boren
f260b32d25
Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12753 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 22:21:36 +00:00
Dion Hulse
333b3c517c
Introduce Revisioning for custom Post Types, Introduce 'supports' argument to register_post_type() to wrap add_post_type_support(), Whitespace additions to create_initial_post_types(). See #9674 . Fixes #11703
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12751 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 11:44:51 +00:00
Mark Jaquith
aafd7c6db9
Make it obvious that do_shortcode_tag passes the tag as the third parameter. plus code spacing cleanup.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12750 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 22:51:15 +00:00
Dion Hulse
bc0c67ff87
Fix Typo in r12747, Move cURL Redirection check higher. See #11305
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12749 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 09:31:37 +00:00
Dion Hulse
5c64824b2e
Allow WP_HTTP_Fopen to send extra headers and custom user-agents. See #11888
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12748 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 09:03:56 +00:00
Dion Hulse
f1cad2c2ae
Allow cURL to follow redirects when running under safe_mode or open_basedir. See #11305
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12747 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 08:15:52 +00:00
Dion Hulse
ebcae35244
Fix WP_Http_Streams to return a single set of headers in the event of redirections. Fixes #11555
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12746 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 08:05:58 +00:00
Dion Hulse
e988455155
Bring WP_Http_Streams maximum redirection into line with the rest of the transports. Fixes #11557
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12745 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 08:00:41 +00:00
Dion Hulse
ee11169862
Fix WP_Filesystem_Direct::mkdir() when running under safe_mode on certain versions of PHP. Props remi. Fixes #10497
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12741 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 02:57:59 +00:00
Dion Hulse
95166aa0cf
Fix wp_mkdir_p() when running under safe_mode on certain PHP versions. Props Denis-de-Bernardy. Fixes #8830
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12740 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 02:44:47 +00:00
Dion Hulse
f44d88c4e1
Correctly set the body on Curl requests with an empty body. Add a defensive check to WP_Http_Encoding::decompress to prevent the decompression functions running on empty strings. Fixes #11912
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12739 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-16 23:11:28 +00:00
Ryan Boren
3dfc463062
Coding style cleanups
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12734 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:25:40 +00:00
Ryan Boren
8ef8b7bad5
Trailing whitespace cleanup
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Ryan Boren
42292a8c4d
Cleanup wp-settings. Move functions needed at startup into load.php. Props nacin. see #11881
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12732 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:03:41 +00:00
Ron Rennick
4239e6ef01
fix multisite object cache warnings, $table_prefix assignment, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12730 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 18:02:34 +00:00
Ryan Boren
85de154ee3
Support id=>parent in fields arg of get_terms. Returns array of parent ids keyed by the id of the child term.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12729 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 17:40:37 +00:00
Ryan Boren
2f72315628
Always set default timezone to UTC. Do offsets on top of that to be portable across all environments. fixes #9588 #11672 #11665
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12727 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 16:39:11 +00:00
Ryan Boren
105573a2f9
register_post_type(). see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12719 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-13 18:49:56 +00:00
Dion Hulse
76349e9b09
Add MP4 Audio Book format(.m4b) for uploads, Fix order of mimetypes. props demetris. fixes #11864
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12717 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-13 10:06:02 +00:00
Ron Rennick
4b4316bdf8
add is_main_site() function, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12714 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 21:52:51 +00:00
Ryan Boren
60b50434bd
Make _get_term_hierarchy() query more efficient.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12711 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 20:12:04 +00:00
Ryan Boren
1a7bd827e8
Formatting cleanup. Props Simek. fixes #11876
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12709 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 18:40:40 +00:00
Ryan Boren
9b510ecec4
Merge page.php into post.php. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12708 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 16:50:37 +00:00
Andrew Ozz
156b5d27c3
Safely include class-json.php, class-simplepie.php and class-snoopy.php, props alexkingorg, fixes #11827
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12705 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 13:22:43 +00:00
Peter Westwood
72bc28a2ad
@since version for wp_login_form. See #11172 props dd32.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12701 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 22:33:28 +00:00
Ryan Boren
10f2b3a02e
Formatting cleanup
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12700 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 22:30:21 +00:00
Ryan Boren
37d1acae71
Mainstream things that don't need to be multisite only. Formatting cleanups. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12699 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 22:23:58 +00:00
Ryan Boren
a6798b1fb6
Mainstream things that don't need to be multisite only. Formatting cleanups. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12698 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 22:08:49 +00:00
Ron Rennick
8b4fbdb503
merge in multisite login, wp-includes, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12697 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 21:49:40 +00:00
Ryan Boren
234f4f0025
wp_login_form(). Props beaulebens. see #11172
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12696 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 21:48:43 +00:00
Ryan Boren
c64564251a
Show custom hierarchical taxonomies in the menus. Props dd32. see #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12694 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 19:27:44 +00:00
Ryan Boren
32bfcc6aa8
Convert taxonomy children cache into a transient. fixes #11866
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12693 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 18:53:52 +00:00
Mark Jaquith
2d9af20cc3
Do not fire the redirect_canonical filter if the redirect_url is empty. fixes #11700
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12692 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 19:05:43 +00:00
Mark Jaquith
7263a46dae
Do proper canonical redirect for ?paged=1 or /page/1/. fixes #11696
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12691 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 18:56:03 +00:00
Ron Rennick
b7710fdf5a
multi-site startup, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12688 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 18:10:51 +00:00
Ryan Boren
45b15868ca
phpdoc updates. Props sirzooro. fixes #11853
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12687 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 15:50:17 +00:00
Peter Westwood
d71468418b
Pass $version to deprecated_argument_run action hook. See #11386 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12686 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 15:02:12 +00:00
Ryan Boren
9a9700dff4
Don't delete site transient if it doesn't have a timeout set. fixes #11844
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12684 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 02:39:24 +00:00
Ryan Boren
c4c46a3070
Post type caps. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12682 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 01:23:14 +00:00
Peter Westwood
2e2ad12171
Add missing version numbers to _deprecated_argument() calls.
...
Remove deprecated argument from xfn_check() calls.
Pass version number to deprecated_file_included, deprecated_function_run and deprecated_argument_run actions.
Fixes #11386 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12680 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 10:03:55 +00:00
Peter Westwood
713ef64d69
_future_post_hook should not call _deprecated_argument() as it will always get that argument from the action it is hooked to. Fixes #11815 props nacin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12679 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 09:55:41 +00:00
Andrew Ozz
1ef5b387cf
Fix height of input and link buttons for all latest browsers.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12678 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 08:51:24 +00:00
Andrew Ozz
abb39f0c99
Show error message in TB when iframes support is turned off in the browser, props nacin, fixes #10939
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12677 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 01:17:45 +00:00
Ron Rennick
436316a4a8
Add is_subdomain_install() to ms code - Fixes #11796
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12674 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 21:25:01 +00:00
Ryan Boren
71bef9fe26
Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12673 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:49:55 +00:00
Ryan Boren
b153c75949
Use is_super_admin() instead of is_site_admin(). Props GIGALinux see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12672 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:29:56 +00:00
Ryan Boren
fbbf18d6c7
Set result of insert
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12669 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:09:04 +00:00
Ryan Boren
bc99700623
Use correct var name. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12668 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:07:40 +00:00
Ron Rennick
e5ddd20a49
db class compatible with WP, MU & multi site - See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12667 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 19:26:00 +00:00
Ryan Boren
89784abc18
Sanitize page template class. Props willmot. fixes #11722
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12664 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 18:52:16 +00:00
Andrew Ozz
cb192bb9c7
Clean CSS of the Edit Image popup in the visual editor props Simek, show changed image size and fill width or height when left blank, fixes #11655 , fixes #10442
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12660 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 13:06:17 +00:00
Peter Westwood
b5a43efa73
Introduce a single function for getting all the intermediate image sizes to be used both when adding attachements and deleting. Fixes #10263 props scribu.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12659 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:51:12 +00:00
Peter Westwood
b2360778ee
Add support to get_terms() to allow 'include' & 'exclude' args to be arrays(). Fixes #11076 props scribu.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12658 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:44:45 +00:00
Peter Westwood
2a93c55f43
Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12657 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:34:39 +00:00