Mark Jaquith
4ff9b0520b
Pass post ID to embed_oembed_html filter to avoid global variable incantations. props filosofo. fixes #15491
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16740 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 03:38:27 +00:00
Mark Jaquith
7d9fa8c5f7
Remove some unused CSS. props ocean90. fixes #15696
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16739 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 03:37:03 +00:00
Mark Jaquith
846861441b
Get rid of niggling hardcoded blogs.dir path. props scribu. fixes #15383
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16738 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 03:35:33 +00:00
Andrew Nacin
3378402497
Please test beta one / More fixes are on the way / Beta two next up
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16732 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 05:06:14 +00:00
Andrew Nacin
63b4617b98
Check that ancestors are not the currently queried objects in nav menu classes. props filosofo, fixes #14518 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16731 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 04:29:56 +00:00
Andrew Nacin
250e2876de
Unescape ampersands before making an oEmbed request. props Viper007Bond, fixes #14514 , see #11311 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16728 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 02:23:17 +00:00
Mark Jaquith
1baaa6ea75
We know approximately how tall the QuickPress box will be. Let's reduce the amount of UI twitchiness as it async loads!
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16725 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 23:31:01 +00:00
Andrew Nacin
37f5e2a8ed
Things that go bump in the night
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16723 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 11:13:47 +00:00
Peter Westwood
4703432f8b
Revert [16719] until it has has UI review. See #15580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16722 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 11:01:23 +00:00
Andrew Nacin
3a9829f9f1
Introduce remove_editor_styles(). fixes #14903 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16721 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 10:09:00 +00:00
Andrew Nacin
136f212baa
Introduce remove_custom_background(). see #14903 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16720 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 09:59:35 +00:00
scribu
c0750fba7f
Use large spinner instead of 'Loading...' text. Props batmoo. See #15580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16719 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 09:01:23 +00:00
Andrew Nacin
7315e464cd
Don't use orange as an on state. Also, restore zero margin on the filename header. fixes #15672 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16716 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 04:18:27 +00:00
Andrew Nacin
c8fc17767f
Don't even show parent theme files when viewing the child theme. see #15672 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16714 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 03:52:59 +00:00
Andrew Nacin
368926d657
Make sure get_themes() returns the proper template and stylesheet directory paths. Use the correct variables. fixes #15671 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16711 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 22:53:01 +00:00
Andrew Nacin
96e0e3b82f
Post format indexes. First pass. see #15378 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16705 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 10:13:17 +00:00
Peter Westwood
143c92e3ad
Revert [16649] - The core output on this is for logged out users only - need to rework this if we want to move the output. See #14510
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16704 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 09:44:17 +00:00
Andrew Nacin
872372d68c
s/occured/occurred/. props aldenta, fixes #15653 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16699 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 23:30:21 +00:00
Andrew Nacin
6352189dd5
Remove sticky arg from post support. props michaelh, see #12702 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16698 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 23:16:04 +00:00
Mark Jaquith
74a8e25463
Fix typo in PHPdoc. props PeteMall.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16697 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 22:56:55 +00:00
Mark Jaquith
13ed00f2d4
Standardize around "Update" instead of "Upgrade." props RanYanivHartstein. props latz. fixes #14107
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16696 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 21:45:47 +00:00
Mark Jaquith
3da39609e4
Add class to Tag Cloud widget div. props djzone. fixes #12602
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16694 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 21:28:17 +00:00
Mark Jaquith
f842407e05
Another s/default/standard/. see #15582
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16693 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 21:24:41 +00:00
Peter Westwood
a7dbb545d9
Revert [16279] - the recursive nature of this regex doesn't play well with stack space. See #14993
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16692 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 17:26:06 +00:00
Peter Westwood
b0b22ceb97
Clean the cache when deleting a term. Fixes #15651
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16691 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 17:10:02 +00:00
scribu
063f1b5680
Add note about wp_next_scheduled() in wp_schedule_event(). See #14668
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16690 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 16:27:16 +00:00
Peter Westwood
b97545150c
Restore the fix with to the Create New User form fields. Fixes #15642 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16686 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 09:55:13 +00:00
Mark Jaquith
2c2a407227
Argh. Missed another s/default/standard/ in [16679]. Any others? see #15582 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16683 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 04:38:42 +00:00
Mark Jaquith
4b8e7b1c5b
Missed a s/default/standard/ in [16679]. props PeteMall. see #15582 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16682 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 04:36:00 +00:00
Mark Jaquith
d9ae425dc2
Make sure media upload thickbox takes admin bar height into account. props ocean90. fixes #15635
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16681 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 04:20:48 +00:00
Mark Jaquith
c821bc7ca2
The name of the standard post format is now Standard (might offer ability to change Default). fixes #15582
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16679 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 03:19:14 +00:00
Mark Jaquith
86ab422fcc
Move Post Format UI out of Publish meta box and into its own box. see #15638
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16678 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 02:42:38 +00:00
Andrew Nacin
6297b3184b
Return true if not is_admin. Tidy. see #14903 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16677 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 00:50:23 +00:00
Andrew Nacin
8ca2300955
Introduce remove_custom_image_header(). see #14903 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16674 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 00:16:35 +00:00
Ryan Boren
14a1be89f6
Deprecate and ignore the refresh arg. fixes #15605
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16673 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 22:12:09 +00:00
Mark Jaquith
e2c06eeea4
Prevent double Thickbox caption line for Dashboard QuickPress uploads. props ocean90. fixes #15169
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16671 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:48:52 +00:00
Mark Jaquith
c9690cf60b
Throw WP_Error if post_type passed to register_post_type() is longer than schema allows. props phrostypoison. fixes #13709
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16670 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:43:39 +00:00
scribu
c6d9ed1f35
Remove archaic reference return in get_children(). Props filosofo. Fixes #12372
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16667 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:23:57 +00:00
scribu
e41d9bc392
Get rid of misplaced 'taxonomy_template' filter. Fixes #14740
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16665 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:16:24 +00:00
Ryan Boren
eca1669428
Hide Extra-Long admin bar text. Props filosofo. fixes #15412
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16664 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:14:52 +00:00
Ryan Boren
a7d80782f2
Prevent default post formats from entering the DB. see #15629 #15582
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16662 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:03:39 +00:00
Ryan Boren
36a4508140
Update since phpdoc. Props demetris. fixes #15445
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16660 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 19:24:38 +00:00
scribu
b500152585
Make image edit labels more concise. Props lloydbudd. Fixes #13613
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16656 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 18:40:15 +00:00
Ryan Boren
51879abf56
Export filtering. Props duck_. fixes #15197
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16652 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 17:21:58 +00:00
Ryan Boren
c8c8bf146d
Fix comment_notes_before. Props mrmist. fixes #14510
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16649 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 16:52:32 +00:00
Ryan Boren
6467859a01
Fix bulk comment keyboard shortcuts. Props duck_. fixes #15571
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16648 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 16:51:31 +00:00
scribu
d04665df0e
Validate pagination input. Props batmoo. See #15580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16644 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 06:02:19 +00:00
Mark Jaquith
4ba9c5d14a
Use prepare() instead of addslashes(). props wpmuguru.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16643 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 01:51:32 +00:00
Andrew Nacin
b811b5ba7c
Bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16642 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 23:38:22 +00:00
Mark Jaquith
0488b9cbf4
Drop pingback/trackback blogroll whitelisting feature. Too many ways to abuse it. props avereha. props vladimir_kolesnikov. fixes #13887 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16637 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 22:46:35 +00:00
Ryan Boren
f03bfe223f
Add bump down for menu bar. Allow themes to add a custom bump callback. Props ocean90. fixes #15592
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16636 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 21:50:57 +00:00
Pete Mall
86bc8c04a2
Address redirection loop with multiple networks and network admin. Props mwidmann, fixes #15591
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16633 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 20:45:40 +00:00
Ryan Boren
af32327ae0
Prepare properly. Props Vladimir Kolesnikov.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16624 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 20:04:11 +00:00
scribu
907353550e
Get rid of in favor of . Fixes #15607 . See #15580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16617 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 20:15:04 +00:00
scribu
d04ab8e50b
Update URL when performing ajaxified action. See #15580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16615 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 18:57:33 +00:00
Nikolay Bachiyski
3a01f911cd
comments_number() doesn't need to call get_the_ID(), because get_comments_number() does it if post ID is missing
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16613 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 17:34:43 +00:00
Nikolay Bachiyski
a643a8f79d
Add New string fixes. Fixes #15577
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16612 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 16:54:06 +00:00
Ryan Boren
a2cb5307c8
Default Add New menu link to first post type in list. Avoids empty href issues. see #15308
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16610 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 16:16:29 +00:00
Ryan Boren
a9042cad2d
Admin Bar: Don't show Manage Comments and Add Post link if the user doesn't has the cap for it. Props ocean90. fixes #15597
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16609 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 16:07:32 +00:00
Peter Westwood
d36b682a59
Make the list of actions that can be performed on a site in the User List in Network admin filterable.
...
Add classes for all core site status types to the view url.
Move the CSS to a css file rather than including it inline.
See #15558
git-svn-id: https://develop.svn.wordpress.org/trunk@16607 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 13:31:42 +00:00
Andrew Nacin
2dacdd481d
Use get_user_count() if multisite in wp_version_check. props PeteMall, fixes #15599 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16604 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 05:27:01 +00:00
Andrew Nacin
9e9f0bf3d6
Kill check_server_timer(). fixes #15602 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16603 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 05:16:24 +00:00
scribu
5c78a0ff01
Make bottom admin pagination scroll to the top after rows are updated. See #15580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16602 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-28 19:05:12 +00:00
Ryan Boren
82d6b81907
Remove wp_admin_body_style(). Props ocean90. fixes #15507
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16600 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 22:05:54 +00:00
Ryan Boren
fcb29ae39f
Admin bar phpdoc update. Props filosofo. fixes #15418
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16599 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 21:51:12 +00:00
Ryan Boren
563b9e04cc
Super admin menu hover fix. Props filosofo. fixes #15524
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16598 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 21:47:28 +00:00
Ryan Boren
44cb0591a1
Revert [16359]. Deal with it in 3.2. see #15361
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16597 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 21:38:38 +00:00
Ryan Boren
8bf835d944
Meta data caching improvements. Props mdawaffe. see #15545
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16596 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 21:35:26 +00:00
Nikolay Bachiyski
672c3a90f9
Add context to Add New admin bar menu label -- we have many other Add New
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16595 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 11:16:23 +00:00
scribu
507547af83
Make date columns first sort in descending order. See #15580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16593 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 02:03:02 +00:00
Andrew Nacin
5f7806cef1
Post beta bump for tonight's build.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16590 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 19:02:06 +00:00
Peter Westwood
be2d32818b
Things go bump in the night.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16587 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 16:16:12 +00:00
scribu
756645d701
Minor code beautification. Props hakre. Fixes #15569
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16581 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 02:14:33 +00:00
Mark Jaquith
0c15540407
Cast to array, to avoid notices. props hakre. fixes #14997
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16576 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 20:34:22 +00:00
Mark Jaquith
7647480a17
Revert [15829] for now, consider better solution for 3.2. see #13550
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16575 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 20:25:26 +00:00
Peter Westwood
ba24fb82b1
Cast to string so we return the correct datatype. See #15517 props barry.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16572 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 17:51:39 +00:00
Ryan Boren
6d0c4e56b1
Bump tinymce gz. see #15544
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16567 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 15:34:19 +00:00
Peter Westwood
0da69e3b32
Let SimplePie do more of the date handling for us. Props rmccue.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16566 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 11:53:12 +00:00
scribu
a221abd2ac
Correct cache invalidation in update_usermeta() and delete_usermeta(). Props mdawaffe. Fixes #15559
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16562 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 06:47:52 +00:00
Mark Jaquith
2cc12c224e
Make Linking and Internal Linking keyboard-friendly and URL-paste-friendly. props koopersmith. fixes #15544
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16561 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 06:44:46 +00:00
Ryan Boren
af8f9bf98d
Load network plugins for wp-activate.php. Restore MU load order. Props blamenacin. fixes #14718
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16558 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 00:19:38 +00:00
scribu
4fd10f33f0
Introduce 'relation' operator between tax queries. Props Otto42 for initial patch. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16555 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 20:22:27 +00:00
scribu
9729c26b07
Ajaxify theme feature filter. Props ocean90 for initial patch. See #14936
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16553 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 20:17:22 +00:00
scribu
81e04a887e
Make get_file_data() regex even more precise. Props hakre. See #15193
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16552 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 19:37:31 +00:00
Ryan Boren
c37f65296a
Make sure create_users is strippped from blog admins for multisite setups where add_new_users is not enabled. see #15357
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16551 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 16:29:21 +00:00
scribu
156dc90ffe
Remove debug cruft from [16543]. See #14590
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16544 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 00:49:23 +00:00
scribu
86da62e436
Minor cleanup in queried object setting logic. See #14590
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16543 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 00:47:45 +00:00
Andrew Nacin
cf21cf2a89
Cast term_id to int for queried_object_id. props wojtek.szkutnik, fixes #14590 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16542 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 00:32:19 +00:00
scribu
1d586a6a7f
Remove vestige code from theme.js. See #14936
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16540 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 00:06:15 +00:00
Andrew Nacin
612a6bda24
escape URL in wp_link_pages. fixes #14271 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16539 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 23:54:30 +00:00
scribu
0053f9b5e1
Prevent notice when checking for hierarchical tax rewrite. Props demetris. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16538 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 21:56:20 +00:00
scribu
40c993af3f
Fix 'timeinfo' cache invalidation. Fixes #14922
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16537 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 21:45:45 +00:00
Andrew Nacin
e8dd42ce2a
Revert [15688], [15689], [15691]. Try again in 3.2. see #14966 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16535 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 17:17:26 +00:00
Andrew Nacin
4cfa4aaacf
Add the audio post format, the final format we plan to support. see #14746 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16534 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 17:05:14 +00:00
Andrew Nacin
fe3aa01f7b
Yeah, about that comma... Fix internal linking for both IE6 and IE7. props koopersmith, fixes #15485 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16532 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 06:32:18 +00:00
scribu
6df13c0a90
Consider only IN tax queries when returning the queried object. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16531 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 05:14:47 +00:00
Ryan Boren
4cb1c0e3b3
Bump tinymce version. see #15532
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16529 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 03:03:28 +00:00
Ryan Boren
c49fb698d8
Bring link dialog to front when TinyMCE is fullscreen. Props koopersmith. see #15532
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16528 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 02:48:58 +00:00
scribu
eb6a65e501
Move s/ /+ out of WP_Query, so that 'category_name=Some Category' works again. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16526 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 16:33:05 +00:00
scribu
37842f40a2
Don't display search subtitle on themes page. Props ocean90. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16525 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 16:20:08 +00:00
Andrew Nacin
dce66b369f
Use correct name in script loader. see #14936 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16524 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 14:10:33 +00:00
scribu
3c7fb2fb3b
Update get_tax_sql() docblock. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16523 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 14:09:01 +00:00
Andrew Nacin
f82118f579
Add a simple filter to allow removing the recent comments default widget styles. fixes #15493 , see #14876 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16522 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 13:55:11 +00:00
Andrew Nacin
9a53e46ff5
Revert [15994] for now, as the default widgets then go through an identity crisis. see #14876 , #15493 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16521 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 13:48:35 +00:00
Andrew Nacin
6843c0fa3c
Escape the wrap ID and class attributes going into sprintf() and s/slug/wrap_id/ to make it more obvious. see #14235 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16520 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 13:37:09 +00:00
Andrew Nacin
83e8f71361
Introduce items_wrap arg to wp_nav_menu(). props filosofo, fixes #14235 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16519 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 13:32:02 +00:00
scribu
cb38e81d23
re-minify edit-comments.js. See #15504
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16517 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 22:03:54 +00:00
scribu
6401205f36
Don't do any taxonomy stuff if is_singular. See #15487
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16515 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 21:51:21 +00:00
Ryan Boren
f3e3c03abe
array_unique() category__in and category__not_in to eliminate dupes from multiple runs of parse_tax_query(). Fixes canonical redirects for cat, category__in, and category__not_in requests. see #12891 #15487
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16513 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 21:43:19 +00:00
scribu
a825250771
Fix logic for when excluding a non-existant term. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16512 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 21:28:50 +00:00
Ryan Boren
75453e5e2d
If the queried term does not exist make sure no posts are returned in the query rather than falling through to querying all posts. Fixes 404s when querying cats that do not exist. see #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16511 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 21:10:20 +00:00
Andrew Nacin
3cf1723947
Use 'Update' and 'Save Link' for internal linking submit button. props koopersmith, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16510 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 19:27:12 +00:00
Peter Westwood
358a4a3486
Ensure that we return post IDs as strings to honour API defintions. See #15517
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16508 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 15:50:56 +00:00
scribu
3e8a8c96cf
Remove debug cruft from [16505]. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16506 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 13:48:24 +00:00
scribu
6020138317
Don't set post_type to 'any' for category and tag queries. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16505 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 13:39:07 +00:00
Peter Westwood
bff457cfaf
Use do_items rather than do_item so the output of the l10n script is recorded. Fixes #15124 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16504 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 12:01:15 +00:00
Peter Westwood
6e131a9694
Add missing calls to convertEntities for js l10n
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16503 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 11:56:59 +00:00
Andrew Nacin
ce4b9ff07a
IE8 fixes for internal linking. props koopersmith, see #15485 , see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16500 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 02:02:37 +00:00
Ryan Boren
069c259dcf
should not be an array of arrays. Props nickmomrik
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16497 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 23:58:29 +00:00
Mark Jaquith
103bde3e19
Do not set is_category/is_tax/is_tax for is_singular requests. props mtekk. fixes #15487
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16495 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 19:25:53 +00:00
Andrew Nacin
fcf95a9788
Bump wplink.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16493 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 19:02:57 +00:00
Ryan Boren
7c8157ed36
Fill http by default. Props koopersmith. see #11420
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16492 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 18:59:43 +00:00
Ryan Boren
04b9ae5ae7
Clear fields on refresh. Props koopersmith. see #11420
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16491 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 18:54:03 +00:00
Ryan Boren
b9113234eb
wplink IE fixes. Props koopersmith. see #15485
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16490 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 18:49:12 +00:00
Ryan Boren
c7fd7b68d3
Remove debug cruft.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16488 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 17:10:35 +00:00
Ryan Boren
8ff8013fe7
Populate post term relationship cache in get_the_terms(). Restores caching lost when we moved away from get_the_category(). see #15407
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16487 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 17:09:21 +00:00
scribu
90e783e1fe
Use event delegation in wp-lists.js. Fixes #15488
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16486 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 16:11:56 +00:00
Joseph Scott
a0c3d2ef0e
Expose post format details in XML-RPC:
...
- New method: wp.getPostFormats
- New field in methods dealing with posts: wp_post_format
props ericmann, fixes #15405
git-svn-id: https://develop.svn.wordpress.org/trunk@16484 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 13:57:05 +00:00
scribu
90de63b3ad
Force GROUP BY when there's a tax query. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16482 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 09:17:59 +00:00
Andrew Nacin
f86af64e5f
Internal linking cleanups. Fix combination of pagination and searching. Add a margin of error (ha, get it?) to triggering the river. props koopersmith, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16479 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 05:31:07 +00:00
Ryan Boren
0d0edecd79
Return false if empty cat passed. Restores old behavior.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16478 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 05:06:48 +00:00
Mark Jaquith
94737b9d3b
Use "default" as the key (not "0") for the default post format string in the translation array. props josephscott
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16477 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 04:32:33 +00:00
Ryan Boren
18da5392f9
Link to edit profile screen within same admin if in network or user admin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16475 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 23:07:59 +00:00
scribu
9782ea0c5c
Fix user pagination. Props duck_. Fixes #15479
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16473 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 22:51:36 +00:00
scribu
62b4cd2ec7
Make entire sortable header clickable. Props batmoo. Fixes #15352
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16472 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 21:39:22 +00:00
Andrew Nacin
98362127ad
s/flush/flush_rules/ in a comment. fixes #15474 , props hakre.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16470 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:21:54 +00:00
Andrew Nacin
ccea27cbe7
More param fixes, props duck_. see #14783 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16469 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:12:48 +00:00
Andrew Nacin
b9ca2cd037
s/ui-dialog/wp-dialog/ in our dialog styles. props koopersmith, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16468 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:07:59 +00:00
Mark Jaquith
29b90f079d
Exclude term exclusions even if they are also inclusions. props foofy, scribu. see #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16467 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:04:47 +00:00
scribu
0e87356092
Clarify doc-block for wp_delete_object_term_relationships(). Props simonwheatley. Fixes #15472
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16466 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 18:46:41 +00:00
Ryan Boren
bc279e502e
Script bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16464 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 14:23:05 +00:00
Andrew Nacin
845832a767
Second half of [16462]. props duck_. see #15308 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16463 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 09:51:50 +00:00
Andrew Nacin
3161d152bf
Clean up logic when selecting post types for the admin bar content drop-down. see #15308 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16462 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 09:01:07 +00:00
Andrew Nacin
1c4c2a2ad9
Kill the background from the default jQuery UI dialog theme. We'll get this from .wp-dialog in the colors stylesheets. props koopersmith, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16461 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 08:50:20 +00:00
Andrew Nacin
c7e2a27492
More svn add. see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16460 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 08:20:19 +00:00
Andrew Nacin
7cccd5715f
Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16459 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 07:59:05 +00:00
Andrew Nacin
7554d8610b
Second pass on internal linking preloading. Adjust styles, svn add the wpdialogs plugin, adjust files and docs. see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16458 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 07:56:47 +00:00
Andrew Nacin
655df3af90
Ludicrous speed for internal linking. First pass. props koopersmith, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16457 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 06:22:13 +00:00
Andrew Nacin
1a3a72a224
Style the on-hover state for collapsed admin menus in the blue theme. props PeteMall, fixes #15462 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16451 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 04:29:27 +00:00
Andrew Nacin
5183bee738
WP_Http_ExtHTTP variable fix. Don't pass an empty array to http_request, props mdawaffe, fixes #13730 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16450 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 03:34:28 +00:00
Andrew Nacin
ba37b82b10
Allow is_feed() to drill down the feed being checked. props johnbillion for initial patch, fixes #15460 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16447 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 03:19:08 +00:00
Andrew Nacin
9437b31707
Add list_pages filter. props johnjamesjacoby, fixes #13668 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16446 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 02:23:05 +00:00
Andrew Nacin
892760ad7a
When inserting an image via oEmbed, wrap it in a link. props MarkJaquith, fixes #14945 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16444 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 02:17:13 +00:00
Ryan Boren
fa33255b56
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16439 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:48:27 +00:00
Ryan Boren
4b33a0e9c4
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
Ryan Boren
f721e075e6
Use wp_cache_add() instead of wp_cache_set() in update_meta_cache(). fixes #15452
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16437 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:25:42 +00:00
Mark Jaquith
eb981f0b6c
admin-bar.js is stale. Bumping the version number.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16436 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:55:09 +00:00
Mark Jaquith
064b0f732b
Make admin bar update bubbles DARK text on LIGHT background, per janeforshort. see #15308
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16435 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:35:24 +00:00
Mark Jaquith
ae422f43ab
Add admin-bar class to body_class() if the admin bar is showing. fixes #15455
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16432 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:21:45 +00:00
Mark Jaquith
55e0256967
esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16431 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:12:01 +00:00
Andrew Nacin
b9b0431d29
get_tag_link and get_category_link can also return WP_Error. fixes #15449 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16430 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:10:50 +00:00
scribu
5705b3ca9c
Differentiate between localized and raw total pages. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16429 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:03:27 +00:00
Mark Jaquith
49b8323bad
The path goes INSIDE home_url(). fixes #15413
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16425 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 16:38:28 +00:00
Ryan Boren
81ae3cb21e
Register the default theme dir in wp-settings.php so that it is registered even when get_themes() doesn't run. Fix counting of theme dirs. Add option to get_raw_theme_root() to disregard the current theme root cache. see #14911
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16424 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 16:11:44 +00:00
scribu
3e01f9a81d
Fix ambiguous column error. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16423 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 12:33:32 +00:00
Andrew Nacin
b0abda23b6
Don't check post_type_supports in map_meta_cap. see #14122 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16422 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 06:21:34 +00:00
Andrew Nacin
8fe83c252a
Fix the screen options sprite in RTL. Also compress and bump for previous commits. see #15207 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16419 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 04:52:01 +00:00
Andrew Nacin
5c5d36c422
Finalize conflicts from [16136]. Final pass on wp-admin css cleanup. props JohnONolan, fixes #14770 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16415 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 03:30:27 +00:00
scribu
1298668d9a
Re-introduce ->tax_query as a read-only var. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16414 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 02:04:08 +00:00
scribu
92fae02550
Optimize get_tax_sql(). See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16413 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 01:56:01 +00:00
scribu
26f88f4b0f
Deprecate update_category_cache(). Fixes #15446
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16412 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 00:56:00 +00:00
Andrew Nacin
3b115a7ec5
Fix arin whois link. props ozh. @todo consider its removal. see #15281 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16411 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 00:54:22 +00:00
scribu
a4cd0df78c
Minor get_meta_sql() cleanup. See #9124
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16410 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 00:27:34 +00:00
Andrew Nacin
32069ead9d
Revert changes to wptexturize() until test cases pass. Reverts [16280], [16378]. see #4539 and #15241 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16409 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 22:18:48 +00:00
Andrew Nacin
e8ea01b4dc
More updates to post.js. see [16248].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16408 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 22:13:17 +00:00
Andrew Nacin
fde451647a
Improve internal linking river feedback. props koopersmith, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16407 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 18:30:34 +00:00
Andrew Ozz
9691518b51
Revert the TinyMCE spellchecker to its old behaviour, update to tinymce_spellchecker_php_2_0_3, fixes #15268
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16405 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 17:30:18 +00:00
scribu
9242c290b3
Revert [16402] outright. Causes issues with themes. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16404 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 16:36:20 +00:00
scribu
373717aeba
Revert taxonomy.php part of [16402]. Not fully backed yet. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16403 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 16:24:14 +00:00
scribu
93b63b771c
Don't pollute the 'tax_query' query var. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16402 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 16:22:09 +00:00
Andrew Nacin
6dacb11d46
Use user_trailingslashit in get_author_posts_url(). fixes #15441 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16401 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 16:09:46 +00:00
scribu
43a3b3b65d
Update some @since tags. Props demetris. Fixes #15438
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16400 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 13:16:13 +00:00
Andrew Nacin
6183d245f9
Internal linking functionality updates. Scrap pagination for a river of results. props koopersmith, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16399 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 05:11:41 +00:00
Andrew Nacin
7851debeae
Internal linking UI updates. see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16398 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 04:25:14 +00:00
Ryan Boren
4a3b49bb5d
Minify wplink js. see #11420
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16397 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 01:21:18 +00:00
Andrew Nacin
8de3626c6e
Bump wplink version. see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16396 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 00:47:22 +00:00
Andrew Nacin
55f599d330
Properly force variable to an array. props Viper007Bond, fixes #15407 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16395 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 00:19:51 +00:00
Andrew Ozz
348236aeb7
Remove invalid parent paragraph when pasting in the visual editor or switching visual to HTML and back, keep multiple empty lines in a <pre> tag, fixes #15095 fixes #15367
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16394 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 23:57:27 +00:00
Andrew Nacin
f5dea49c4a
Next pass on internal linking. Functional, but needs styling. props koopersmith, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16393 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 23:48:24 +00:00
Nikolay Bachiyski
77254fc657
Fallback to only RTL attributes in wp_die()'s HTML tag if it's very early in the execution. Fixes #6132 . Props RanYanivHartstein and nacin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16392 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 20:13:05 +00:00
Ryan Boren
72faeb1d34
Minify wplink js. see #11420
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16391 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 18:42:49 +00:00
Ryan Boren
48e057af81
Auto focus URL field. see #11420
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16390 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 18:40:34 +00:00
Andrew Nacin
76a7d50069
Sanity cast. see #15192 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16389 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 18:06:57 +00:00
Andrew Nacin
0b7f397e9b
set_post_thumbnail(). fixes #15192 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16388 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 17:59:25 +00:00
Andrew Nacin
682b6a20b2
capability_type = page and no custom caps should also kick on map_meta_cap. see #14122 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16387 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 17:11:34 +00:00
scribu
ecad0a9016
Revert [16384]. See #15433
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16385 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 15:23:04 +00:00
scribu
4c4e5ed0df
Ignore 'name' qv if 'p' qv is set. Fixes #15433
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16384 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 13:33:16 +00:00
scribu
688dda0b1d
Fix get_tax_sql() docs. Props Viper007Bond. Fixes #15431
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16382 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 11:24:55 +00:00
scribu
e72a75d2d6
Set 'taxonomy' and 'term' query vars for back-compat. Fixes #12659
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16381 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 10:51:39 +00:00
scribu
ed4788b696
Re-parse tax query just before calling get_tax_sql(). Fixes #15161
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16380 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 10:11:25 +00:00
scribu
3d5162ecc3
Better error handling in get_meta_sql(). Props Viper007Bond. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16379 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 10:02:39 +00:00
Peter Westwood
9b80ab8ce5
Fix regression in wptexturize with single quotes when used for contraction. See #15241 props norbertm.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16378 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 08:52:36 +00:00
Andrew Nacin
8d9b2cd2b3
Properly check, initialize, or cast a number of variables. props ChenHui. see #14642 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16377 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 06:38:10 +00:00
scribu
a6568c3de8
Make submitted-on a class instead of an id. Fixes #15426
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16375 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 20:28:55 +00:00
scribu
2b895dda71
Introduce WP_List_Table::get_column_count() and take care of update notice <tr>. Props ocean90 for initial patch. Fixes #15318
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16368 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:00:09 +00:00
scribu
32b416f959
Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16365 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 15:50:02 +00:00
scribu
cd7d748a0e
Fix empty query vars being passed as 'true' instead of ''. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16363 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 00:48:30 +00:00
scribu
c38380fd8f
Update doc for WP_Query::post. Fixes #15105
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16360 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 23:32:18 +00:00
scribu
cf7f2d92b4
Use wp_start_object_cache() in switch_to_blog(). Props prettyboymp. Fixes #15361
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16359 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 23:11:50 +00:00
scribu
3d1e3fc25f
Add colon after Upload/Insert. Fixes #14810
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16358 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 22:52:51 +00:00
scribu
9967d9da2a
Always apply comment_text filter in check_comment(). Props hakre. Fixes #14680
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16357 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 22:30:36 +00:00
scribu
a8160ed916
Kill WP_Object_Query. See #15032
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16353 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 18:32:43 +00:00
scribu
6daedd550c
Revert most of [16018]. See #15032
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16352 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 18:26:15 +00:00
scribu
e19c83933a
Split get_search_sql(). See #15170 . See #15032
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16351 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 18:18:45 +00:00
scribu
4ffac80fc4
Prevent horizontal scrollbar. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16344 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 15:33:12 +00:00
Andrew Nacin
7f4e354bd1
Move cast to within array_keys to prevent warning when get_the_terms returns false. see #15407 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16343 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 15:32:20 +00:00
scribu
a2dfe18dfd
Add 'get_the_terms' filter. Props filosofo. Fixes #15410
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16342 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 14:08:27 +00:00
Andrew Nacin
958d135e11
Escape the class arg in wp_list_categories. props hakre, fixes #11514 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16341 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 11:06:26 +00:00
Andrew Nacin
200eefec46
Use square brackets instead of braces for string access. props hakre, fixes #13900 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16340 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 09:53:55 +00:00
Andrew Nacin
305fbe129d
Only a static class method or function can be used in an uninstall hook. props scribu, fixes #13786 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16339 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 09:45:57 +00:00
Andrew Nacin
812c44072a
Set map_meta_cap to true when capability_type = post and no custom caps are specified. see #14122 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16338 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 08:40:38 +00:00
Peter Westwood
f8f48b0f24
Revert [16320] and [16321] for now. Breaks things
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16336 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 22:44:16 +00:00
Peter Westwood
b08df21c26
Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16334 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 21:53:15 +00:00
scribu
11f20d737c
Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16332 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 20:05:37 +00:00
scribu
9f86bb7104
Don't use deprecated category properties. Props filosofo. Fixes #15408
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16331 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 18:40:51 +00:00
Andrew Nacin
aa9d1494e6
Self-close embed tag for googlevideo embed handler. props pross, fixes #14230 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16323 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 11:17:35 +00:00
Andrew Nacin
f75f0aee7f
Only register post_format taxonomy to posts. see #15396 , #14746 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16322 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 10:58:58 +00:00
Andrew Nacin
92b8c22e03
Only mysql_free_result if we have a valid resource, and remove error suppression there. see #15402 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16321 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 10:40:43 +00:00
Andrew Nacin
9404ce9a12
Memory usage and execution improvements in wpdb. Store and work with resources directly, rather than full copies of results. Plugins which incorrectly used wpdb->last_result (a private property) will need to shift to wpdb->get_results() with no \$query. Magic getter is introduced for back compat when using PHP5. props joelhardi, fixes #12257 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16320 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 10:15:18 +00:00
Andrew Nacin
8d5463366a
Use term cache in get_post_format() to save a boatload of queries. see #15396 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16319 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 09:49:34 +00:00
Andrew Nacin
46efef4555
jQuery 1.4.4. props demetris, fixes #15201 , #15227 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16318 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 07:13:11 +00:00
Andrew Nacin
f3a332a13c
Typo fix. see #14424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16317 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 07:04:34 +00:00
Mark Jaquith
d3684a509d
Add checks for WP_Error. props ptahdunbar. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16315 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:10:56 +00:00
Mark Jaquith
647422ad33
Switch to radio boxes for Post Format picking. Saves a click. Maybe we should do this with Post Status as well. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16314 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:05:33 +00:00
Andrew Nacin
d8c91db1f4
Remove more create_function calls. props huichen, see #14424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16313 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 22:50:36 +00:00
Andrew Nacin
21a38007d8
Remove old header/footer link active state. props dremeda, fixes #14487 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16311 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 22:17:11 +00:00
Ryan Boren
e4983b968e
Admin bar fixes. Props ocean90. see #14772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16310 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 20:02:52 +00:00
Ryan Boren
d68bd6002a
Register admin menus against admin_bar_menu action to be consistent with other menu hooks. see #14772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16309 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 19:11:12 +00:00
Ryan Boren
c54708d203
Make the My Sites menu items use admin_url() instead of hardcoding the url. Props caesarsgrunt. see #14772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16308 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 18:48:38 +00:00
Ryan Boren
06513139e7
phpdoc fixes. Props hakre. fixes #12526
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16307 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 17:02:14 +00:00
Ryan Boren
994d8ecab8
Farbtastic 1.3u. Props flashingcursor. fixes #14707
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16305 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:34:22 +00:00
Andrew Nacin
57ad813bf4
Don't notify the author when they posted or moderated the comment. fixes #12774 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16304 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:28:49 +00:00
Ryan Boren
8ad934c85d
Prevent stomping of global. Props prettyboymp. fixes #13945
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16303 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:22:18 +00:00
Ryan Boren
987bf4663f
Admin bar tweaks. Props filosofo. see #15308
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16302 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:19:25 +00:00
Ryan Boren
cb3030f582
Admin bar tweaks. Props filosofo. see #15308
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16301 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:19:14 +00:00
Ryan Boren
c79e13144c
Faster is_serialized(). Props duck_, hakre, Denis-de-Bernardy. see #14429
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16300 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:10:16 +00:00
Ryan Boren
d0f30f75e5
Return false if upload_space_check_disabled is true in upload_is_user_over_quota(). Props SergeyBiryukov. fixes #14121
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16299 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:03:51 +00:00
Peter Westwood
afbd46517a
Don't show duff links if someone decides that they want the admin bar for all users - even those who are logged out.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16291 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 11:49:37 +00:00
Peter Westwood
a91abd41d8
Strip back the stats in the memory based object cache to something less verbose and useless.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16288 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 10:55:06 +00:00
Peter Westwood
06bf2f9e66
Link the shortlink button to the shortlink. Props caesarsgrunt see #14772 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16287 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 10:24:56 +00:00