Commit Graph

15259 Commits

Author SHA1 Message Date
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
Mark Jaquith
c9b4b18cf9 Prevent media upload links from being clicked before lightbox is ready to handle them. fixes #15621
git-svn-id: https://develop.svn.wordpress.org/trunk@16669 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:41:47 +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
1a294648a8 Don't show permalink box unless the post type is publicly queryable. Props filosofo. Fixes #14321
git-svn-id: https://develop.svn.wordpress.org/trunk@16666 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:21:00 +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
6ba1ad81c4 Allow long plugin upgrade notices to wrap. Props duck_. fixes #14068
git-svn-id: https://develop.svn.wordpress.org/trunk@16663 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:07:22 +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
24471799a5 Define IFRAME_REQUEST only if not inline. Props ocean90. fixes #15630
git-svn-id: https://develop.svn.wordpress.org/trunk@16661 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 19:28:24 +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
Ryan Boren
b9b0e7215c Save meta id before performing actions since the insert_id can change. Props cyberhobo. fixes #15465
git-svn-id: https://develop.svn.wordpress.org/trunk@16659 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 19:11:47 +00:00
Pete Mall
bf8b057f04 Set IFRAME_REQUEST for theme/plugin information iframe. Props SergeyBiryukov, fixes #15509
git-svn-id: https://develop.svn.wordpress.org/trunk@16658 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 18:53:37 +00:00
scribu
8485c47b61 Prevent post_parent from being reset when there's no page attributes box. Props mikeschinkel. Fixes #13179
git-svn-id: https://develop.svn.wordpress.org/trunk@16657 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 18:50:24 +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
scribu
b66531bb04 Fix edit-tags button conflict. Props batmoo. Fixes #15356
git-svn-id: https://develop.svn.wordpress.org/trunk@16655 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 18:21:42 +00:00
Ryan Boren
9d24f16fd1 Set IFRAME_REQUEST for theme-information iframe. Props Utkarsh. see #15509
git-svn-id: https://develop.svn.wordpress.org/trunk@16654 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 18:13:54 +00:00
Ryan Boren
904a670a28 Markup and gettext fixes. Props sorich87. fixes #14731
git-svn-id: https://develop.svn.wordpress.org/trunk@16653 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 17:31:24 +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
ca60ed1d07 Don’t nag to Change Permalinks if permalink structure is defined. Props demetris. fixes #13918
git-svn-id: https://develop.svn.wordpress.org/trunk@16651 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 17:16:22 +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
Ryan Boren
277bf53130 Fix bulk comment keyboard shortcuts. Props duck_. fixes #15571
git-svn-id: https://develop.svn.wordpress.org/trunk@16647 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 16:51:20 +00:00
Peter Westwood
80c79e5607 Don't show the Post Format if the current theme doesn't support them. Fixes #15625.
git-svn-id: https://develop.svn.wordpress.org/trunk@16645 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 12:31:27 +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
Nikolay Bachiyski
508084aba6 Add another pair of parentheses, so that the right-hand win_is_writable() isn't always called. Fixes #15616
git-svn-id: https://develop.svn.wordpress.org/trunk@16635 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 21:41:57 +00:00
Nikolay Bachiyski
d79653915b Run the iis7_supports_permalinks() check first
* It's cheapest, most of the others involve disk operations
 * Doesn't go through win_is_writable(), which can't avoid relying on the @ operator


git-svn-id: https://develop.svn.wordpress.org/trunk@16634 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 20:50:59 +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
Pete Mall
4331aa9663 Remove update notifications from site-themes. See #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16629 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 20:31:49 +00:00
Pete Mall
f9c217c5e3 Add missign hooks in site-options. Fixes #15593
git-svn-id: https://develop.svn.wordpress.org/trunk@16627 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 20:29:02 +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
Nikolay Bachiyski
757aeb2121 Rename the $rm variable so that the logic in win_is_writable() makes more sense
git-svn-id: https://develop.svn.wordpress.org/trunk@16623 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 19:57:39 +00:00
Nikolay Bachiyski
8a45977efc Proper spacing in win_is_writable(), according to the coding standards
git-svn-id: https://develop.svn.wordpress.org/trunk@16622 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 19:13:27 +00:00
Nikolay Bachiyski
17ad180ca0 COonvert spaces to tabs
git-svn-id: https://develop.svn.wordpress.org/trunk@16621 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 19:11:09 +00:00
Pete Mall
04b78e6ab2 Remove theme udpate notification from site admin for multisite installs.
git-svn-id: https://develop.svn.wordpress.org/trunk@16620 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 03:03:40 +00:00
scribu
9f5043b6dc Link post title on comments for a single post screen. Fixes #15609
git-svn-id: https://develop.svn.wordpress.org/trunk@16619 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 21:23:20 +00:00
potbot
0829265944 POT, generated from r16617
git-svn-id: https://develop.svn.wordpress.org/trunk@16618 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 20:21:41 +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
41162fb44d Add missing quote char when creating overlay. See #14579. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16616 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 19:08:15 +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
ca368c129f Make comments_popup_link() calls in Twenty Ten respect languages with multiple plural forms until we add such support in comments_number(). See #13651, props zeo
git-svn-id: https://develop.svn.wordpress.org/trunk@16614 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 18:42:31 +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
Nikolay Bachiyski
596e652f2e Add context to Add New buttons in Network admin. See #15577
git-svn-id: https://develop.svn.wordpress.org/trunk@16611 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 16:41:35 +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
Ryan Boren
b15476c5fd Remove unnecessary addslashes. Props duck_. fixes #15325
git-svn-id: https://develop.svn.wordpress.org/trunk@16608 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 14:40:43 +00:00