Dion Hulse
10355ed13c
More powerful version is is_tax(). Props filosofo, scribu. Adds $term parameter. Fixes #11904
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13486 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 05:59:39 +00:00
Dion Hulse
913ab67ecb
Fix spelling typo's in r13484. See #12200
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13485 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 04:27:32 +00:00
Dion Hulse
c74a4432b4
Support non-BASIC Authentication schemes in the HTTP API if server supports them. Props ssandison, See #4011 , Fixes #12200
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13484 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 04:24:04 +00:00
Dion Hulse
0b63979093
Add get_search_link() with Permastruct (/search/) support. Props jshreve. Update get_search_link(), get_search_feed_link() & get_search_comments_feed_link() to use it, as well as supporting Permastructs for those feeds. Fixes #10552
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13483 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 04:15:02 +00:00
Dion Hulse
4b4c0c6cd2
Dont clobber taxonomy intersections/unions. Only redirects to the canonical url if only one term has been queried. Props scribu for some of the commit. See #8948
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13480 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 02:49:01 +00:00
Andrew Nacin
6f3f1d0806
Add filter to the args in wp_link_pages(). fixes #12158 props greenshady
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13479 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 01:46:39 +00:00
Andrew Nacin
98a2f10711
Add filter to the links in paginate_links(). fixes #10826 , props johnjamesjacoby
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13478 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 01:42:25 +00:00
Andrew Nacin
5b05536235
Allow get_(previous|adjacent|next)_post() to be used on attachment and !single templates. props jobjorn, fixes #10867
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13475 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 00:00:43 +00:00
Andrew Nacin
da5a212bff
get_bloginfo('wpurl') should use site_url(), not get_option('siteurl'). see #9008
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13474 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:22:56 +00:00
Ron Rennick
ed52a823cc
more menu improvements, props ptahdunbar, see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13473 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:06:56 +00:00
Andrew Nacin
7c2178caba
Escape mod_$theme option name. see #9015
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13469 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 20:26:37 +00:00
Andrew Nacin
a7a3e94381
Add some whitespace to get_body_class(). props coffee2code. Clarify fallback parameter in sanitize_html_class(). see #11331
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13468 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 20:06:35 +00:00
Andrew Nacin
d448472adf
Standardize filters for single_(post|cat|tag|month)_title() on strip_tags() and wptexturize(). fixes #10900 props scribu
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13467 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:57:04 +00:00
Andrew Nacin
f015c58d27
Deprecate get_profile() for get_the_author_meta(). fixes #10695 , props scribu.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13464 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:11:45 +00:00
Andrew Nacin
7eea49d9d1
Pass post ID to post_class filter, even when calling post_class() without parameters in the loop. fixes #11878
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13462 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:49:49 +00:00
Ron Rennick
97da99aa6a
warnings cleanup on archived/suspended sites, fixes #12396
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13461 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:48:37 +00:00
Ron Rennick
60a2d570c0
warnings cleanup, dont show removed user in edit site, fixes #12409
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13460 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:27:34 +00:00
Andrew Nacin
545d58b699
Allow multiple To: recipients in wp_mail(). Improve handling of \r\n in headers and multiple CC/BCC headers. fixes #10420
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13456 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:10:45 +00:00
Andrew Nacin
44051cfdb6
Add wpdb::replace() for replace queries. props AaronCampbell fixes #10864
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13454 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 15:45:09 +00:00
Andrew Nacin
bd51cf8b51
add_editor_style() third pass. better performance and better child theme support. see #11512
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13453 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 07:36:35 +00:00
Dion Hulse
bc2c6922cb
New files svn:eol-style: native.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13448 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 03:37:38 +00:00
Andrew Nacin
394430fbbe
add_editor_style(), second pass. Accept an array of stylesheets, also allow multiple calls to the function. Support child themes. See #9015 see #11512
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13444 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 21:07:41 +00:00
Andrew Nacin
33798863d4
Introduce add_editor_style() to easily register a stylesheet for the visual editor. see #11512 see #9015
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13441 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 20:12:06 +00:00
Andrew Nacin
a62faa1ccf
Small fix to [13433], see #10788
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13439 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:26:51 +00:00
Andrew Nacin
e122f6d181
Introduce add_permastruct() and flush_rewrite_rules(), wrappers for the corresponding WP_Rewrite methods. Fixes #10912 props scribu
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13438 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:23:58 +00:00
Andrew Nacin
d2cfae455e
s/cancelled/canceled/
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13437 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:12:27 +00:00
Andrew Nacin
b20651cc65
One less variable assignment in timer_start and timer_start. props hakre fixes #12389
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13436 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:09:29 +00:00
Andrew Nacin
8f6c9e395f
Add comment_duplicate_trigger hook that is fired when a duplicate comment is detected. Fixes #12188
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13434 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:06:09 +00:00
Andrew Nacin
8271d92017
Consistently pass unserialized values to hooks in update_site_option(). Change add_option() and add_site_option() to do the same. Any plugin using maybe_unserialize() would continue to work as the value would no longer need to be unserialized. fixes #10788
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13433 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 18:51:37 +00:00
Andrew Nacin
19f50392f9
Remove explicit references to the post ID from moderation and comment e-mails. Fixes #12388
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13432 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 17:18:59 +00:00
Andrew Nacin
4464b5d33c
Add pre_insert_term hook to wp_insert_term(). fixes #10943 props sirzooro
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13430 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 07:40:35 +00:00
Andrew Nacin
aeebb3c2af
Suppress potential is_readable() warning. Fixes #12148 props ocean90
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13429 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 07:25:10 +00:00
Andrew Nacin
e7fa18385a
Use is_ssl() in place of manual SERVER['HTTPS'] == 'on' checks. fixes #11885
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13427 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 06:21:47 +00:00
Andrew Nacin
9a033bf679
@since version numbers and other docs for wp-db. props hakre see #12362
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13426 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 06:14:26 +00:00
Andrew Nacin
9b78314c05
A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13425 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 05:46:08 +00:00
Andrew Nacin
e3b9237738
Reject numeric page slugs as they don't work, and force a suffix. Props miqrogroove see #11917
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13424 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 04:53:30 +00:00
Andrew Nacin
f62e8796d9
Clean up redundant defined() check. Props TobiasBg fixes #12375
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13422 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 00:37:20 +00:00
Ron Rennick
c02cd1ebc8
always call set_blog_id after blog lookup, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13421 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 00:05:11 +00:00
Ryan Boren
61ffa682c1
Note theme support for custom background, header, and menus. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13417 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:04:59 +00:00
Peter Westwood
9ad6dd41c7
Switch from POST_BY_EMAIL constant to enable post-by-email when multisite to a filter. See #12381 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13416 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:01:30 +00:00
Ryan Boren
3e8d636d4d
Allow themes to specify a menu fllback other than wp_page_menu(). see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13415 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:00:26 +00:00
Peter Westwood
d25e3fdf2c
'>"
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13414 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:57:38 +00:00
Peter Westwood
fd0925a920
Disable update service editing by default for multisite. See #12229 .
...
Introduce __return_false for simple filtering. See #12381 .
git-svn-id: https://develop.svn.wordpress.org/trunk@13413 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:56:28 +00:00
Ryan Boren
cf9c66c4a5
Switch live() binding to a single selector. Props mdawaffe. fixes #12369
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13411 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:46:53 +00:00
Peter Westwood
fcd36216e0
Return a 404 error if the request feed type doesn't exist not a 500. Fixes #12341 props aaroncampbell.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13408 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:16:07 +00:00
Ryan Boren
2cc6791fe7
Order menus by ID so that the lowest ID is always used when guessing which menu to use in wp_nav_menu(). see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13407 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:13:13 +00:00
Ryan Boren
60cb61e54f
Create a default menu containing the first 15 top-level pages. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13406 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:06:44 +00:00
Ryan Boren
4d3733bef0
Pass taxonomy when looking for duplicate term slug.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13405 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:04:02 +00:00
Ryan Boren
4ee18ae484
Default header selector, first pass. see #12343
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13403 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 19:18:44 +00:00
Ron Rennick
899906649c
move nav menu css/js to nav-menu prefix, See #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13402 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 17:10:00 +00:00
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