Peter Westwood
1da3c94e55
Display mysql_connect errors when WP_DEBUG is enabled. Fixes #14654 props lloydbudd and hakre
...
Always die if we can't connect to the db no point in going any futher.
git-svn-id: https://develop.svn.wordpress.org/trunk@15808 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 18:47:39 +00:00
Ryan Boren
e81d40fa7f
Hook up theme filter. see #14936
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15807 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 18:37:08 +00:00
Ryan Boren
8e1da911a2
Prevent post and term hierarchy loops. Props mdawaffe. fixes #14662
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15806 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 15:09:04 +00:00
scribu
3bd3ec6455
Add hook in custom header admin page. Props blepoxp. Fixes #15119
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15805 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 14:02:06 +00:00
Andrew Nacin
cb3396d39c
Use correct variable. see #13818 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15804 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 11:31:48 +00:00
Andrew Nacin
86ab32a196
Custom post type archives. see #13818 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15803 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 10:39:47 +00:00
Andrew Nacin
2e864d29ad
Pass screen context to favorite_actions filter. props whoismanu, fixes #15117 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15802 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 09:53:04 +00:00
scribu
ba394c63a4
Rename get_edit_term_url() to get_edit_term_link() for consistency. See #9702
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15801 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 08:47:41 +00:00
scribu
2e0bd92a09
get_edit_term_link() improvements:
...
* add optional $object_type parameter
* make $term_id and $taxonomy parameters mandatory
* pass all relevant information to the filter
* use in WP_Terms_Table
See #9702
git-svn-id: https://develop.svn.wordpress.org/trunk@15800 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 07:35:13 +00:00
Ryan Boren
8da08f0073
Fix notice when creating users. Props coffee2code. fixes #14286
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15799 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 20:26:43 +00:00
Ryan Boren
f850029280
Don't show a term's descendants in the parent selector. Props mdawaffe. fixes #14663
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15798 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 20:15:04 +00:00
Ryan Boren
cd1fc3faa2
Don't hide empty terms when determing exclude trees. Props layotte. fixes #14446
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15797 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 20:12:20 +00:00
scribu
50a6be80d4
Don't look in in WP->parse_request(). See #15112
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15796 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 16:55:58 +00:00
scribu
ea756a6b40
Sacrifice DRY for readability in WP_Query. Props nacin for initial patch. See #14997
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15795 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 16:37:01 +00:00
scribu
d5e50c918b
Add posts_clauses_request filter too. Props hakre. See #14997
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15794 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 15:49:26 +00:00
scribu
0ed3d0b176
Don't attempt to convert objects to strings in WP->parse_request(). Fixes #14330
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15793 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 15:21:19 +00:00
scribu
057abe87e0
Introduce edit_term_link() and get_term_url(). Props yoast. Fixes #9702
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15792 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 14:54:21 +00:00
scribu
6d33bb68e9
Restore previous filter order in WP_Query. See #14997
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15791 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 13:45:53 +00:00
potbot
eba5529573
POT, generated from r15788
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15789 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 12:29:42 +00:00
Andrew Nacin
5e37bb785a
s/showposts/posts_per_page/
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15788 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 05:25:00 +00:00
scribu
e87af16398
first pass at strength indicator on password reset. see #5919
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15782 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 21:37:01 +00:00
scribu
20f9e224d9
Revert part of [15780] included by accident. See #5919
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15781 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 20:32:41 +00:00
scribu
33077f83fa
move password-strength-meter.js into user-profile.js. See #5919
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15780 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 20:29:19 +00:00
Ryan Boren
40dade4c0e
Allow deleting a format. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15779 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 19:43:54 +00:00
Ryan Boren
0ccec0d6f1
has_post_format(). see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15778 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 19:25:58 +00:00
Ryan Boren
b1beb9c211
Post formats, take one. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15777 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 18:33:14 +00:00
scribu
2444ffe144
Improve password reset email copy. See #5919
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15776 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 17:22:05 +00:00
scribu
53d8aaf3fc
Introduce wp_query_clauses filter. Fixes #14997
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15775 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-11 15:04:44 +00:00
scribu
b3bcb5f77e
Remove redundant call to function_exists() in wp_nav_menu(). Fixes #15094
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15774 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-11 13:21:08 +00:00
scribu
253cc18443
don't re-urlencode taxonomy query vars. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15773 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-11 12:18:42 +00:00
Andrew Nacin
2657fa5a5b
Make it explicit that you can set fallback_cb to false in wp_nav_menu.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15772 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-11 03:16:45 +00:00
scribu
e5354a9e00
Allow string as first parameter to locate_template(). Props chrisbliss18 for initial patch. Fixes #15061
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15771 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-10 22:10:36 +00:00
scribu
6e89ca7bff
Make parse_reques() set empty variables. Props filosofo for initial patch. Fixes #10710
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15770 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-10 20:02:26 +00:00
Andrew Nacin
e47fb410bc
s/blog/site/ on the admin bar code. props markmcwilliams, see #14772 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15769 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 12:22:00 +00:00
scribu
a080a0a289
Fix warning caused by empty meta query. See #14645
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15768 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 12:18:52 +00:00
Andrew Nacin
69b3664fe0
esc_html in WP_Object_Cache::stats(). fixes #15003 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15767 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 11:38:12 +00:00
scribu
a3ee8cac1a
Get rid of redundant $this->meta_query. See #14645
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15766 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 10:48:13 +00:00
scribu
c4a14ee8d9
Get rid of redundant ->tax_query. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15765 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 10:19:15 +00:00
scribu
eb59a85d22
Add WP_List_Table columns before all others. Fixes #15075
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15764 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 09:39:16 +00:00
Andrew Nacin
70d68a8cb7
svn add attachment.php. see #15078 , r15762.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15763 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 09:19:37 +00:00
Andrew Nacin
099000c367
Use get_template_part() for single.php, attachment.php, page.php, and our page template in Twenty Ten. Introduces loop-page/single/attachment.php. props koopersmith, fixes #15078 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15762 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 09:17:42 +00:00
Andrew Nacin
71dec45612
Fix some notices. props mrmist, fixes #15079 . Also some standards fixes.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15761 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 08:59:57 +00:00
Dion Hulse
f8be3f9fd1
Standardise on ->user->domain and ->user->account_domain being trailingslash'd. See #14772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15760 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 05:25:09 +00:00
Andrew Nacin
17b2091b43
s/Backend/Dashboard/. props markmcwilliams, fixes #14585 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15759 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 02:11:10 +00:00
Ryan Boren
3a8fb669cb
Some more hierarchy loop detection.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15758 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 16:22:14 +00:00
Andrew Nacin
617945e60c
Update via ajax the sample output of custom date/times on options-general. fixes #12636 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15757 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 03:29:57 +00:00
Andrew Nacin
a1cd90933d
s/Wether/Whether/
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15756 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 02:35:06 +00:00
Andrew Nacin
b040a1790a
Add NOT LIKE/BETWEEN/IN. props AaronCampbell, fixes #9124 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15755 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 02:27:22 +00:00
scribu
500d2be317
Revert part of [15753]. See [12914]. See #14666
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15754 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 22:58:45 +00:00
scribu
63d011c9dc
Introduce remove_menu_page() and remove_submenu_page(). Fixes #12718
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15753 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 22:35:31 +00:00