Ryan Boren
a0a77f0380
Default to leading and trailing wildcards for site user searches. Require explicit trailing wildcard asterisk request for network user searches. Disallow leading wildcards for network user searches. Move wildcard policy up the stake, allowing more flexibility in WP_User_Query. Props SergeyBiryukov. fixes #16014
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17189 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 23:38:21 +00:00
Ryan Boren
20380fb8b6
Show correct title for static page home. Props aaroncampbell, greuben, SergeyBiryukov. fixes #16041
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17187 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 21:10:45 +00:00
Ryan Boren
2c35e7b475
Update @author tag contact info. Props hakre. see #16039
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17185 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 20:07:12 +00:00
Ryan Boren
9a3c0e39d4
Clean up admin bar node removal. Make it PHP4 safe and prevent display of blank spots. Props sorich87, SergeyBiryukov. fixes #16005
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17184 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 19:04:32 +00:00
Ryan Boren
97c77ba912
Add Copyright Statement, Licensing Information and Disclaimer to kses. Props hakre. Thanks Ulf Harnhammar. fixes #16039
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17181 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 18:37:18 +00:00
Mark Jaquith
eb44707143
Fix some RTL CSS issues. props garyc40. props ocean90. fixes #16017
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17179 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 16:26:25 +00:00
Mark Jaquith
30a8c8e418
Reinstitute Intall Now AYS that was accidentally disabled. props ocean90. fixes #16032
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17176 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 16:04:07 +00:00
Ryan Boren
2bc1d7f588
Don't be case sensitive to attribute names. Handle padded entities when checking for bad protocols. Normalize entities before checking for bad protocols in esc_url(). Props Mauro Gentile, duck_, miqrogroove
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17171 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-29 20:45:37 +00:00
Andrew Nacin
68692f0565
get_meta_sql should be private. see #14645 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17170 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-29 19:31:35 +00:00
Andrew Nacin
87facd0335
RTL fixes for sortable list headings. props RanYanivHartstein, fixes #16008 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17166 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-29 14:32:22 +00:00
Ryan Boren
5377597223
Bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17163 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-28 22:36:39 +00:00
Ryan Boren
051219360e
Ignore an empty pagename when correcting is_* for page_on_front requests. Props donalmacarthur, SergeyBiryukov, filosofo. fixes #16002
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17162 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-28 22:34:15 +00:00
Andrew Nacin
cf122e2b22
Move the admin bar profile preferences to a hook. fixes #16004 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17161 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-28 19:37:11 +00:00
Andrew Nacin
2fee9b3e7f
Correct the docs for register_post_status. fixes #15947 , props simonwheatley.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17158 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 22:45:34 +00:00
Andrew Nacin
6bc7a5cdce
Bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17157 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 22:07:20 +00:00
Ryan Boren
3edaa30bed
Always output pagination controls. Hide them when they are not needed. Show them upon AJAX result that requires pagination. Props nacin. fixes #15983
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17156 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 22:06:15 +00:00
Ryan Boren
de1f10c283
Don't sanitize_key() the post type so that colons aren't stripped from attachment types. Props nacin. fixes #15982
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17155 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 22:00:50 +00:00
Ryan Boren
6ee1075a4e
RTL pagination fixes. Props yoavf. fixes #15974
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17154 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 21:56:07 +00:00
Andrew Nacin
00eaa56f22
RTL for theme installer. props yoavf, fixes #15984 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17149 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 06:31:46 +00:00
Andrew Nacin
78b256b7a9
Happy holidays :D
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17148 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 23:38:33 +00:00
Dion Hulse
b8e50af2d7
Set taxonomy/term back-compat query vars for all views (not just taxonomy indexes). Fixes #15978
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17147 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 23:26:09 +00:00
Ryan Boren
a748e507e5
link_notes and term_description escaping fixes. Props garyc40. fixes #15454
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17146 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 22:45:09 +00:00
Andrew Nacin
f3419ea181
Revert [16995] due to the way the data enters the db. props garyc40, see #15454 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17142 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 18:10:59 +00:00
Andrew Nacin
b98ffad893
RTL for the new style pagination links. fixes #15974 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17139 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 13:48:13 +00:00
Andrew Nacin
08a1d71621
More CSS reset for wplink. Give the dialog title a specific line height. see #15561 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17135 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-24 20:40:08 +00:00
Andrew Nacin
1931b69f10
Internal linking CSS resets to fix Press This formatting. props garyc40, ocean90. see #15561 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17133 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-24 17:52:45 +00:00
Ryan Boren
99750ff7ef
Clear messages when searching, sorting, paginating. Props scribu. fixes #15973
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17132 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-24 17:45:59 +00:00
Andrew Nacin
62ca1a7769
Fix some tab CSS in Press This. props dd32. Also adjust menu bits to default to gray, and then add rules to blue. see #15561 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17131 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-24 17:43:01 +00:00
Andrew Nacin
143ebe72bd
CSS tweaks and arrow fixes for internal linking. props ocean90, see #15739 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17125 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 17:33:41 +00:00
Ryan Boren
ee09d38544
Fix comment reply colspan. Props garyc40. fixes #15876
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17124 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 17:21:29 +00:00
Andrew Nacin
1c309312a0
Revert [16915]. Don't honor the page template for the posts page. Deal with this with a better UX in 3.2. see #15513 , fixes #15945 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17123 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 17:05:47 +00:00
Ryan Boren
cd4f625268
Don't be so sensitive.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17119 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 15:26:49 +00:00
Andrew Nacin
80afe4eb65
The internal linking dialog should be 'Add Link' not 'Save Link'. Not a new string. props jane, see #15739 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17118 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 15:22:05 +00:00
Ryan Boren
b6b6693135
Expand/collapse arrows for internal linking. Props ocean90. fixes #15739
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17117 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 14:44:51 +00:00
Ryan Boren
9f9f401c42
Fix comment manipulation on edit post screen. Props garyc40. fixes #15876
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17113 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 19:03:43 +00:00
Ryan Boren
cc812c98d3
Put sort arrows in sprite. Make 100% of th clickable. Align sort indicators. Remove unneeded padding. Props scribu. fixes #15580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17110 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 18:01:15 +00:00
Ryan Boren
48a0f157b1
Don't assume queried object is a term. Fixes non-existent var notice. Props filosofo. fixes #15944
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17109 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 17:40:51 +00:00
Andrew Nacin
676394918c
echo OR return, not both, in single_term_title(). props Viper007Bond, fixes #15939 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17107 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 00:04:53 +00:00
Ryan Boren
8109449e0b
RTL for wplink. Props ocean90. see #15864
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17105 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 20:19:56 +00:00
Mark Jaquith
40bc6b43c1
Remove overly broad CSS rule. fixes #15913
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17104 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:46:39 +00:00
Ryan Boren
34ef8c8df9
Translations in title attributes require esc_attr().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17102 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:17:58 +00:00
Ryan Boren
661e41e55b
Retrieve only IDs and then do a user fetch loop so that all required user data is present. Props scribu. fixes #15888
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17100 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 16:27:34 +00:00
Mark Jaquith
135bd083a4
Translate post format term names on the fly. props mfields. fixes #15899
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17092 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 21:59:16 +00:00
Ryan Boren
0987e3430f
Add default for who arg. see #15871
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17091 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 19:02:44 +00:00
Ryan Boren
1f3ea01d78
List table spinner. Props scribu. see #15580
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17090 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 18:45:05 +00:00
Ryan Boren
034024021a
Comment reply and quick edit js fixes. Props garyc40. fixes #15908
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17089 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 17:53:50 +00:00
Ryan Boren
aca2b86eaf
Add 'who' arg to wp_dropdown_users() and get_users(). Add' hide_if_only_one_author' argument to get_users(). Query only authors (user level greater than 0) when who => author is passed. Query only authors for author meta box and quick edit dropdowns. Props scribu. fixes #15871
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17088 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 17:25:39 +00:00
Andrew Nacin
dd449b12cc
Minify plugin-install.js. see #15842 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17087 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:48:19 +00:00
Ryan Boren
76e77b1790
Revert get_users_of_blog() to 3.0 behavior and deprecate. Use get_users() in core. Props scribu. fixes #15854
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17084 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:25:35 +00:00
Andrew Nacin
15efc0fa0a
Clarify the _doing_it_wrong message for conditioanl tags. init prevents the fatal error, but the query still isn't run. Just drop the mention of a hook and we end up with better reasoning why this doesn't work to boot. see #14729 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17083 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:21:42 +00:00
Andrew Nacin
ed9ce46089
Fix placeholder issues when removing comments. props garyc40, fixes #15879 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17081 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 15:26:44 +00:00
Ryan Boren
3df8f3d4a5
Define net and user admin constants for fetch-list case. Props scribu. fixes #15903
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17080 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 13:30:39 +00:00
Ryan Boren
75028c8b48
@since additions and updates. Props demetris. fixes #15867
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17079 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 12:49:18 +00:00
Ryan Boren
c460268d15
Check is_network in the screen object for AJAX requests. Props scribu. fixes #15903
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17077 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 11:57:25 +00:00
Ryan Boren
2423095bc1
Relocate isset check. Props TobiasBg, SergeyBiryukov. fixes #15041
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17076 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 11:41:08 +00:00
Andrew Nacin
1df12424d1
Don't let the screen options text escape the box. props ohanesian, fixes #15329 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17075 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 11:06:54 +00:00
Andrew Nacin
9dd606211b
Call comment_type() without arguments that way 'Comment' is translated internally with context. fixes #15798 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17074 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 10:44:14 +00:00
Andrew Nacin
23339857e5
Docs for get_post_format_slugs(). props demetris, fixes #15867 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17073 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 10:22:06 +00:00
Andrew Nacin
18edc09e6a
More @since. props SergeyBiryukov, fixes #15445 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17071 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 09:25:21 +00:00
Andrew Nacin
9a5687bdfd
Don't fatal error when conditional tags are called before init. fixes #14729 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17068 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:17:52 +00:00
Andrew Nacin
28604faac7
Have 'My Sites' in admin bar actually link to my-sites.php. props ocean90, fixes #15900 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17067 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:14:52 +00:00
Andrew Nacin
d8871ce771
Don't refill the comment list when undoing a spam action on a comment. props greuben, fixes #15884 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17066 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:14:09 +00:00
Andrew Nacin
9aaa805cfb
Thorough CSS reset of the admin bar to avoid theme conflicts. props ocean90, JohnONolan, filosofo, duck_. fixes #15851 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17064 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:11:24 +00:00
Ryan Boren
99bd388ef3
Fix guid generation for page auto drafts. Props shawnparker. fixes #15041
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17061 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 14:42:17 +00:00
Peter Westwood
b334556bbf
Less ugly show_admin_bar() enforcement. Fixes #15869 props filosofo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17057 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 09:54:13 +00:00
Andrew Nacin
f660585656
Allow dfault post format selections. fixes #15882 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17056 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 05:36:11 +00:00
Dion Hulse
17c58ec609
Revert debug cruft from r17052. See #15885
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17053 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 04:58:09 +00:00
Dion Hulse
e2024b81fc
Fix Pings/Trackback comment table filter. Props greuben. Fixes #15885
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17052 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 04:55:46 +00:00
Andrew Nacin
e3c2e17aee
Don't limit total_users. props scribu, fixes #15479 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17034 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 22:07:26 +00:00
Ryan Boren
bf811456b4
Admin bar visibility prefs. Props duck_. see #15829
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17032 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 21:48:30 +00:00
Mark Jaquith
3373f98da0
Strip partial name= parameters when doing canonical redirection on them with default permalinks. props filosofo. fixes #15775
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17031 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 20:57:03 +00:00
Mark Jaquith
381f8eeed1
Do not add URL query args twice in certain Canonical Redirect situations. Use add_query_arg(). props filosofo. fixes #15774
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17030 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 20:23:34 +00:00
Andrew Nacin
537d726a7c
Make get_the_taxonomies() take an array of arguments. props scribu, fixes #14740 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17028 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 16:33:16 +00:00
scribu
e58993fe2e
Disable sorting by post count for now. See #15861
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17024 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 10:25:27 +00:00
Peter Westwood
373ed6ae4e
-- bad white space part deux
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17023 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:42:37 +00:00
Peter Westwood
ee16fbfe00
-- bad white space
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17022 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:40:15 +00:00
Peter Westwood
99aa874270
Ensure show_admin_bar( false ) works after init. Fixes #15856 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17021 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:34:36 +00:00
Peter Westwood
6853258d19
If we are previewing don't show the admin bar. See #15856
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17020 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:32:53 +00:00
Andrew Nacin
5ee410fd40
NULL isn't set.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17019 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:32:43 +00:00
Andrew Nacin
1f6ecacf22
More admin bar css reset. props JohnONolan, see #15851 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17017 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 04:51:14 +00:00
scribu
e452616f40
Make WP_User_Query return regular objects by default. Fixes #15854
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17013 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 00:38:15 +00:00
scribu
08ffc2d291
Get only required fields in wp_getAuthors(). Props duck_. See #15854
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17011 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 23:43:24 +00:00
Ryan Boren
748f5f0154
phpdoc notation fixes. Props demetris. fixes #15852
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17009 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 22:46:13 +00:00
Ryan Boren
d56880f092
Revert [16987]. This pollutes home and siteurl during signup and blog creation. see #14867
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17005 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:48:00 +00:00
scribu
c9c1be7e78
Remove placeholder row when adding first term. See #15849
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17003 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:13:47 +00:00
scribu
96e692baed
Always display the table, with a placeholder row when there are no items. Fixes #15849
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17002 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:05:14 +00:00
Ryan Boren
de072fe02a
Remove some unnecessary esc_textarea() calls. Props garyc40. see #15454
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17001 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 17:48:20 +00:00
Ryan Boren
c561de13d4
Add jquery and utils dependencies for editor js. Props JohnPBloch, jczorkmid. fixes #15830
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17000 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 17:23:54 +00:00
Ryan Boren
c1e26ef82c
Add like_escape() to some queries. fixes #15764
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16999 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 14:22:41 +00:00
Peter Westwood
b8d51ca378
Bumpity Bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16997 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 11:32:08 +00:00
Andrew Nacin
4db50ee643
The user description field should be esc_textarea when context is edit. see #15454 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16995 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 10:04:21 +00:00
Andrew Nacin
541c45ba0e
Make network_admin_url() return admin_url() when not multisite like its home and site counterparts. Kill the now redundant maybe_network_admin_url() function. fixes #15840 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16994 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:31:42 +00:00
Mark Jaquith
dda708677e
Use ENT_QUOTES in esc_textarea() in case someone uses it in a value='' situation by accident. see #15454
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16993 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:24:22 +00:00
Andrew Nacin
8c7a9647fc
Add scheme arguments to get_blogaddress_by_domain and get_blogaddress_by_id. props adambackstrom for initial patch, fixes #14867 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16987 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 07:58:57 +00:00
Andrew Nacin
3653bb7926
Use maybe_network_admin_url. see #15840 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16978 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:12:55 +00:00
Andrew Nacin
8cf8f3380c
maybe_network_admin_url. see #15840 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16977 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:06:59 +00:00
scribu
c12c44db5e
Fetch only the required field in wp_dropdown_users(). See #14572
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16974 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 23:56:53 +00:00
Andrew Nacin
98aac89317
Plugin install and thickbox for the network admin. props ocean90, fixes #15510 , fixes #15750 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16963 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:48:40 +00:00
Pete Mall
a02674aebc
Move search results text in site-themes/site-users. Props sorich87, ocean90. Fixes #15553
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16961 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:32:25 +00:00
Peter Westwood
c80789036e
Allow a plugin to filter our slugs if it wants to. Fixes #15726
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16960 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:56:25 +00:00
Andrew Nacin
a653754287
Add theme_mods option if is_admin. props MarkJaquith, fixes #14828 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16958 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:39:00 +00:00
Ryan Boren
700374e0b0
Pass wp_admin_bar object to admin_bar_menu action. Props TheDeadMedic, JohnPBloch. fixes #15723
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16957 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:33:02 +00:00
Andrew Nacin
0c8e238e6c
Add user_nicename, nicename, ID to WP_User_Query orderby. props duck_, fixes #15816 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16956 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:18:04 +00:00
Andrew Nacin
51396e1e89
_doing_it_wrong takes three arguments. fixes #15824 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16955 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:14:25 +00:00
Andrew Nacin
2a44684f3e
s/site/user/ if signup doesn't have a domain attached. props wpmuguru, fixes #15780 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16954 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:09:26 +00:00
Andrew Nacin
598bb9952a
Allow actual DB fields in WP_User_Query orderby. props duck, see #15816 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16953 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 16:51:38 +00:00
Andrew Nacin
26e0e1ab6f
Admin bar blogname handling improvements. Kill visible property vestige. props ocean90, fixes #15308 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16952 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 16:48:06 +00:00
Andrew Nacin
c4ffd06f66
Inline doc fixes for get_next|previous|adjacent_post. props kawauso, fixes #15822 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16951 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 16:45:14 +00:00
Andrew Nacin
778b91c128
TinyMCE 3.3.9.3-dev. fixes #15111 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16950 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 16:09:43 +00:00
Ryan Boren
b04abefc26
Skip confirmation email fixes. Props ocean90, duck_. see #15725
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16949 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 16:04:19 +00:00
Peter Westwood
905ec5fb30
Ultimate make_clickable. Fixes #14993 props filosofo
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16948 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 13:43:30 +00:00
Andrew Nacin
e3fce95343
You are doing it wrong in query.php. see #15824 , see #14729 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16947 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 12:21:27 +00:00
Andrew Nacin
0b37b225a1
Grammar and spelling. see #15824 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16946 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 12:09:53 +00:00
Andrew Nacin
bdacc3985a
Move _doing_it_wrong to other debug functions. Modify docs and the output message. see #15824 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16945 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 12:06:39 +00:00
Peter Westwood
70f4c32dcb
Clear both in the right now widget so it clears nicely when there are extra comment statuses added. Fixes #14985 props doktorbro.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16943 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:52:38 +00:00
Peter Westwood
a95a5b65cc
Better message text to reflect that it might not just be an incorrect argument but maybe your calling something way too early. See #15824
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16942 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:39:23 +00:00
Peter Westwood
3b1748b60d
Zap the extra * props duck_
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16941 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:34:52 +00:00
Peter Westwood
26f81c3629
Switch to _doing_it_wrong(). See #15824
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16940 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:31:00 +00:00
Peter Westwood
052f67d71f
Introduce _doing_it_wrong(). See #15824 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16939 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:29:50 +00:00
Andrew Nacin
4904a251a5
Don't show extra .0 in _deprecated_argument calls. They should appear in @since docs though.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16938 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:27:38 +00:00
scribu
510942bbfb
Limit height only to iframe body. Fixes #15679
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16937 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 10:39:50 +00:00
Peter Westwood
95f478f057
Bumpity
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16936 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 09:16:15 +00:00
Peter Westwood
2caeab48f0
Give the Logout menu item the correct parent so it appears when we have avatars as well as when we don't. Fixes #15611 props ocean90.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16934 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 08:38:49 +00:00
Ryan Boren
c5f37f3001
Internal linking IE tweaks. Props koopersmith. see #15739
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16933 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 03:13:10 +00:00
Ryan Boren
0155728ba5
Beta2
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16932 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 02:37:46 +00:00
Ryan Boren
5df71d4669
Expand/collapse in internal linking. Props koopersmith, nacin. see #15739
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16931 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 02:36:24 +00:00
Andrew Nacin
a6eda30d3b
Fix nesting of parentheses. fixes #14995 , props duck_, jakub.misek.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16929 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 19:51:13 +00:00
Andrew Nacin
be843f53d8
Remove redundancy. see #14288 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16928 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 19:47:09 +00:00
Ryan Boren
9a4d1e4c30
Pink trailing whites
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16927 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 19:38:38 +00:00
Ryan Boren
4d85c3a424
Pink trailing whites
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16926 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 19:37:04 +00:00
Andrew Nacin
8b6cf91dc9
Revert to WP_DEFAULT_THEME if a child theme is in use and no style.css is present. fixes #15712 , props greuben.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16925 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 19:19:47 +00:00
Andrew Nacin
70b6bbcfa8
Revert to WP_DEFAULT_THEME if a child theme is in use and no style.css is present. fixes #15712 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16924 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 19:17:49 +00:00
Andrew Nacin
dc821cedbf
Remove ceilings on recent comments and posts widgets and dashboard widgets. fixes #14543 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16922 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 17:58:47 +00:00
Mark Jaquith
176075ba48
Fix canonical paged/feed redirects. props rfw. fixes #14288
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16920 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 16:55:35 +00:00
Mark Jaquith
595bc10419
Add WP Rewrite root to front of add_permastruct() call when adding a taxonomy. fixes #15813
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16918 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 16:28:16 +00:00
Ryan Boren
5945f381fc
Honor defaults in wp_dropdown_users(). Props duck_. fixes #15791
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16916 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 16:19:08 +00:00
Ryan Boren
ccd108bd5e
Honor the page template when a page is the home page but not also the front page. Props filosofo. fixes #15513
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16915 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 15:45:19 +00:00
Andrew Nacin
4ebfb979b1
Fix admin bar styling when no avatars are in use. props ocean90, see #15611 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16913 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 13:42:56 +00:00
Andrew Nacin
306bf053a6
Pass args to nav_menu_css_class filter. props scribu, fixes #15808 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16912 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 13:25:07 +00:00
scribu
1d3a1c1460
Fix error when trashing a comment on the last page. Props garyc40. Fixes #15500
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16911 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 11:53:31 +00:00
Andrew Nacin
3a3d660a6e
I have CDO. see #15779 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16910 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 11:25:11 +00:00
Andrew Nacin
12da6006e0
Ensure the map_meta_cap filter receives the right cap when the map_meta_cap flag is false. fixes #15779 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16909 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 11:22:32 +00:00
Dion Hulse
01a2da49e1
Restore pre-3.1 "Status:" header handling for IIS in wp_redirect. Revist in 3.2 to see if it's still required. Fixes #10187
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16907 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 10:15:31 +00:00
Pete Mall
44db2effda
Ensure correct HTTP status code is returned. Props nacin, fixes #15799
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16906 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 08:38:01 +00:00
Dion Hulse
d1b78e5309
Other piece of r16904. Limit variable string searching when possible. See #10187
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16905 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 08:35:48 +00:00
Dion Hulse
c6f239ae68
Fix fatal error on IIS after r16797. props peaceablewhale. Limit variable string searching when possible. See #10187
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16904 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 08:31:33 +00:00
Ryan Boren
b77d52752a
Make classes global. Props JohnONolan. fixes #15558
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16902 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:53:26 +00:00
Ryan Boren
6dc2d07bc4
Pink trailing whites.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:21:50 +00:00
Ryan Boren
00f652341f
s/default/standard/ for post format slug.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16898 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 20:50:10 +00:00
Ryan Boren
5003828f16
Admin bar sprite cleanups. Props ocean90, darrenmeehan. see #15611
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16897 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 20:35:28 +00:00
scribu
63e3c4430e
Always set groupby when a tax query is involved. See #15752
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16894 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 15:15:58 +00:00
scribu
cbe9f7f3a0
Always call WP_Tax_Query::get_sql(). Fixes #15797
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16893 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 15:11:02 +00:00
scribu
223dfd3468
Slight logic tweak to [16889]. See #14123
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16890 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 11:44:53 +00:00
scribu
b0384203fa
Prevent redundant wp_usermeta JOIN on single-site installs. See #14123
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16889 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 11:41:00 +00:00
scribu
b514837458
Re-index categories in get_the_category(). Props greuben. Fixes #15442
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16888 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 20:32:29 +00:00
scribu
06622f69ba
Set both column header sorting arrows. Props batmoo. Fixes #15480
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16887 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 20:21:58 +00:00
scribu
09ee8c5c47
Set $wp_query->tax_query earlier. See #15752
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16886 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 16:38:51 +00:00
Andrew Nacin
86af64c60a
Oh hai, haven't seen you in a while.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16885 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 11:12:16 +00:00
scribu
619a8a8cff
Don't set query flags in parse_tax_query(). See #15487
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16880 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 15:20:52 +00:00
scribu
accc855bdc
Remove excess comments from url_to_postid(). See #15771
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16878 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 09:28:36 +00:00
scribu
9c1dd77de9
Use is_singular in url_to_postid(). See #15771
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16877 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 09:25:02 +00:00
Andrew Nacin
dfb1f77e3b
Use the blue background in the HTML editor, same as the visual editor. see #15207 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16876 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 09:04:37 +00:00
Andrew Nacin
10b2d9bf40
More admin bar styling improvements. Includes RTL fixes. Don't show redundant 'search' value. props ocean90, see #15308 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16875 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 08:54:41 +00:00
Andrew Nacin
bbbfee7e7f
Fix admin menu save state. props greuben, fixes #15767 , see #15615 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16874 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 08:41:48 +00:00
Dion Hulse
d2842aac53
Include a blank email to prevent a PHP notice when pingbacks are being added, causes XML-RPC responses to be malformed with WP_DEBUG.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16873 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 07:17:50 +00:00
Dion Hulse
416efb62b4
Check to see if WP_Query has returned any posts before blindly accessing posts. Fixes #15771
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16872 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 06:35:47 +00:00
Dion Hulse
4c11a459f9
Coding Standards clean-up, Variable typo fix ($errstr), Svn property correction. See #10588
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16871 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 05:51:49 +00:00
Andrew Nacin
41d4279b66
use_default_gallery_style boolean filter and new gallery-columns-* class. see #15103 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16865 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 19:15:37 +00:00
Andrew Nacin
63357b507a
wp-caption-text class for the gallery shortcode caption. props chipbennett, fixes #14411 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16864 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 19:05:50 +00:00
Ryan Boren
62f76f6efa
jQuery UI 1.8.7. Props demetris. fixes #15766
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16863 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 19:02:53 +00:00
Andrew Nacin
ad424075f1
Admin bar script/style improvements. props ocean90, see #15308 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16862 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 18:47:21 +00:00
Ryan Boren
181ab7185a
like_escape() search string. see #15764
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16858 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 15:57:48 +00:00
scribu
ab5cd7a4f5
Inline docs for WP_Tax_Query. See #15752
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16854 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 08:20:46 +00:00
scribu
ea0d5bf166
Fix notice in get_queried_object(). See #15752
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16853 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 07:51:04 +00:00
Andrew Nacin
83d896d013
Admin bar CSS cleaning. props ocean90, see #15308 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16852 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 04:01:16 +00:00
scribu
5da70bad87
Always have a WP_Tax_Query instance, to prevent notices. See #15752
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16851 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 19:42:25 +00:00
scribu
77f5f54ff7
Correct relation var and PHP4 constructor. See #15752
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16850 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 19:36:33 +00:00
scribu
85a176fe8f
Introduce WP_Tax_Query. Fix canonical redirects in the process. See #15752
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16849 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 19:29:21 +00:00
Ryan Boren
a239d692a7
Go back to sanitize_user() so that dots are allowed. Props ocean90. see #14910
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16848 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 19:29:00 +00:00
Andrew Nacin
0979c21ab0
Make get_header_image() ssl-aware. fixes #14835 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16846 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 17:59:35 +00:00
scribu
1527d28dca
False advertising is bad. See #15752
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16845 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 17:19:23 +00:00
scribu
a2387d8907
Proper check for tax query, which will never be empty, due to 'relation'. See #15752
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16844 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 17:09:42 +00:00
scribu
a5cb537970
Set tax query defaults earlier, for notice prevention and convenience. See #15752
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16843 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 17:05:40 +00:00
Pete Mall
df562b62f4
Kill blog specific menus from admin-bar in net admin. Fixes #15754
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16842 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 16:55:09 +00:00
Andrew Nacin
8aa42566e8
Remove the snack bar from core. Will become a plugin. Lay down the red.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16840 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 16:29:08 +00:00
Andrew Nacin
b4d1885aee
Remove the snack bar from core. Will become a plugin. Lay down the red.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16839 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 16:27:53 +00:00
Andrew Nacin
abd3871510
Use correct query var. see #15378 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16837 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 14:23:54 +00:00
Andrew Nacin
f384fe3e81
_get_post_ancestors() in Walker_Page. props layotte, fixes #14329 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16834 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 12:38:23 +00:00
scribu
005b2e5be1
Make get_term_by() use sanitize_title_for_query() too. See #9591
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16832 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 10:05:19 +00:00
scribu
d56cc33340
Clarify is_single() inline doc. Fixes #14034
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16830 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 05:27:37 +00:00
scribu
b8fdaa2dff
Correct get_file_data() inline doc. Fixes #14071
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16828 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 03:30:23 +00:00
Andrew Nacin
6fcde6c9fe
Remove post_type_supports check from register_post_type caps all together. fixes #14122 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16825 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 22:07:29 +00:00
Mark Jaquith
daadad84a6
Work around some unset variable notices in xmlrpc.php. props redsweater. props sorich87. fixes #10665
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16824 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 22:00:40 +00:00
Ryan Boren
00356f8e4a
Use santize_key() in more places. Props WraithKenny. fixes #14910
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16822 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 21:32:19 +00:00
Andrew Nacin
396b57920f
Include the username in the incorrect password message, for clarity. fixes #14575 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16821 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 21:25:52 +00:00
Mark Jaquith
b105838594
Do not store empty _wp_old_slug values. fixes #15736
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16820 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 21:22:16 +00:00
Mark Jaquith
956b191c60
Use is_page_type_hierarchical(). props nacin. see #15140
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16819 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 21:17:01 +00:00
Mark Jaquith
08671532d3
Do not do slug logging/redirects for hierarchical post types. see #15140
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16818 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 21:10:38 +00:00
Andrew Nacin
8338c78133
Fix closing admin menu animation. props filosofo, fixes #15615 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16813 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:51:22 +00:00
Andrew Nacin
15186d7ef1
Better reset for ul and li in the admin bar. props duck_, fixes #15727 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16811 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:39:49 +00:00
Andrew Nacin
ad590a37d3
Define all margins for the admin bar input. props chrisbliss18, fixes #15216 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16810 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:38:27 +00:00
Andrew Nacin
86df54f82a
s/method_exists/is_callable/. props hakre, fixes #14933 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16809 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:27:49 +00:00
Ryan Boren
7cefd23188
Remove stripslashes(). No longer needed. Props RogerTheriault. fixes #12560
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16808 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:25:18 +00:00
Peter Westwood
dd8cff8381
Correct the logic as there is no publish_post cap.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16802 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 17:07:55 +00:00
Peter Westwood
10244cc066
Check for extra caps here too.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16801 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 16:52:08 +00:00
Peter Westwood
b616351b4a
Correct some more cap checks to use the correct caps.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16800 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 16:18:42 +00:00
Peter Westwood
5e198c07bf
Condense the logic. Props nacin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16799 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 15:59:56 +00:00
Peter Westwood
4ba3238bb5
Ensure that we always check the right cap when posts are added or edited.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16798 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 15:31:17 +00:00
Dion Hulse
5c50656b6a
Enable canonical redirections for Permalink suporting IIS. Props peaceablewhale See #10187
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16797 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 11:04:40 +00:00
Andrew Nacin
de04f2de14
Close a quote. see #15308 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16795 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 09:49:56 +00:00
scribu
8c86414798
Revert logic change made in [16789]. See #13818
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16793 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 09:15:09 +00:00
scribu
cae6e8d4ef
Set queried object on CPT archives. Fixes #15730
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16792 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 08:57:38 +00:00
Andrew Nacin
d5717c050c
Admin bar styling improvements.
...
* Ensure there isn't a text shadow for update and comment counts.
* Hide zero count of pending comments via PHP, not CSS.
* Show the update title attribute across the entire menu item, props demetris.
* Let the CSS breathe a little.
git-svn-id: https://develop.svn.wordpress.org/trunk@16791 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 08:50:24 +00:00
Andrew Nacin
45cb3321c0
Don't show blurry text shadow in the admin bar count. props demetris, fixes #15308 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16790 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 08:28:15 +00:00
scribu
8f4416b53b
Use has_archive in get_post_type_archive_link(). See #13818
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16789 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 07:51:40 +00:00
Andrew Nacin
24b60aee0d
Don't improperly whitescreen on incorrect DB credentials during setup-config. Show error message with an opportunity to try again. fixes #15682 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16788 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 07:12:44 +00:00
Andrew Nacin
b613ab037c
Use pagination base for CPT archives. props scribu, fixes #15728 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16787 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 07:02:52 +00:00
Andrew Nacin
e6dbc84741
Initialize this variable.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16785 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 01:03:12 +00:00
Andrew Nacin
668956d2ff
Handle posts without titles better in internal linking. see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16784 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 00:22:43 +00:00
Ryan Boren
3bfa8b9e10
Don't show Suspend/Unsuspend links for the main site on the admin bar. Props ocean90. fixes #15669
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16781 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 23:11:19 +00:00
Andrew Nacin
708aa37730
Initialize a variable. props kapeels for initial patch. fixes #15703 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16770 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 18:55:13 +00:00
Ryan Boren
d150dcd964
Pass NULL as second arg to wp_upload_bits() to avoid deprecated warning. Props koke. fixes #15698
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16769 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 18:32:07 +00:00
Ryan Boren
fcfb406c7c
Apply wp_get_attachment_url to empty urls. Props filosofo. fixes #15494
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16768 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 18:16:21 +00:00
Andrew Nacin
af3222dc7e
We only need strpos here. Ensures PHP4 compat. props mailnew2ster, fixes #14187 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16762 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 07:17:06 +00:00
Andrew Nacin
108e48f206
Remove unnecessary space. props demetris, JohnPBloch. fixes #12797 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16760 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 22:56:47 +00:00
Ryan Boren
ac42794bb0
Add jquery-ui-sortable dependency to nav-menu. fixes #15622
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16752 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 16:57:09 +00:00
Andrew Nacin
fb0fc6c1f6
This should be a string. fixes #15704 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16751 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 16:32:25 +00:00
Andrew Nacin
e6dbe89d7d
Fix handling of no titles and long titles in internal linking. see #11240 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16750 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 16:28:06 +00:00
scribu
6d54bcfe06
Pass $args to login_form_* filters. Props aaroncampbell. Fixes #15702
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16749 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 16:24:05 +00:00
Andrew Nacin
8abcb8e5ce
Link to network/update-core when running multisite. Remove theme/plugin editors from blog menu when running multisite. Redirect to network/* when accessing theme/plugin-install/editor. props ocean90, see #15525 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16747 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 15:41:19 +00:00
Andrew Nacin
2c44ffcc57
Restore bottom padding in plugin rows. fixes #15547 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16745 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 15:15:09 +00:00
Andrew Nacin
0d3c811371
Flush these left.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16743 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 04:51:52 +00:00
Mark Jaquith
f2702dd794
Highlight home page Custom Nav Menu item even when extra query args are present in the URL (only if all other highlights fail). props filosofo. fixes #13994
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16742 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 03:54:57 +00:00
Mark Jaquith
67ca818f87
Fix up the PHPdoc for get_file_data(). props hakre. fixes #14071
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16741 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 03:44:36 +00:00
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