Commit Graph

15338 Commits

Author SHA1 Message Date
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
Dion Hulse
d81779a74d Remove visit site button gradient images from pre-3.0. see [16417]. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16796 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 10:01:18 +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
Andrew Nacin
19677466aa Fix logic inversion. see #15699.
git-svn-id: https://develop.svn.wordpress.org/trunk@16794 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 09:28:20 +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
fc7d9435db Switch to the Akismet 2.5.0 tag.
git-svn-id: https://develop.svn.wordpress.org/trunk@16786 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 05:53:54 +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
potbot
2fcbcdad76 POT, generated from r16782
git-svn-id: https://develop.svn.wordpress.org/trunk@16783 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 00:21:45 +00:00
Andrew Nacin
52c8599189 Add 'View Galleries' link for post formats. fixes #15506.
git-svn-id: https://develop.svn.wordpress.org/trunk@16782 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 23:31:35 +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
Ryan Boren
a53a2f0f04 Define IFRAME_REQUEST only for framed requests. Props ocean90. fixes #15721
git-svn-id: https://develop.svn.wordpress.org/trunk@16780 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 23:05:27 +00:00
Peter Westwood
e3d0969ded Revert brokenness. See #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16779 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 21:35:46 +00:00
Andrew Nacin
137601189d Don't show plugin edit link in the site admin. fixes #15722. fixes logic in [16777].
git-svn-id: https://develop.svn.wordpress.org/trunk@16778 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 21:14:44 +00:00
Andrew Nacin
35d7a02cba Don't show plugin edit link in the site admin. fixes #15722.
git-svn-id: https://develop.svn.wordpress.org/trunk@16777 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 21:06:44 +00:00
Peter Westwood
ab5f09cfda Restore some more cap checks for clarity. See #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16776 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 21:06:19 +00:00
Andrew Nacin
aa29bef29a Don't check post counts in the network admin. props scribu, fixes #15699.
git-svn-id: https://develop.svn.wordpress.org/trunk@16775 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 20:54:04 +00:00
Andrew Nacin
cde3ed0e23 Fix a sprintf call. props wojtek.szkutnik, sorich87. fixes #14555.
git-svn-id: https://develop.svn.wordpress.org/trunk@16774 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 20:41:43 +00:00
Andrew Nacin
b8569cefb7 Fix the background colors for the Select Files upload buttons. props TECannon. fixes #8545.
git-svn-id: https://develop.svn.wordpress.org/trunk@16773 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 19:42:57 +00:00
Ryan Boren
5065b86df6 Fix notice. Props ocean90. fixes #15692
git-svn-id: https://develop.svn.wordpress.org/trunk@16772 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 19:00:58 +00:00
Andrew Nacin
ee30b441ff Use assign_terms cap for tag search and tag cloud in admin ajax. fixes #15437.
git-svn-id: https://develop.svn.wordpress.org/trunk@16771 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 18:59:25 +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
Ryan Boren
712aeeae45 Don't show super admin checkbox for the user that has the network admin email address. Props duck_. fixes #14051
git-svn-id: https://develop.svn.wordpress.org/trunk@16767 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 18:10:16 +00:00
Ryan Boren
5eb199f6f3 Fix return the themes links. Props duck_. fixes #15718
git-svn-id: https://develop.svn.wordpress.org/trunk@16766 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 18:01:58 +00:00
Peter Westwood
f6b9beb519 Use a span so we mark up the all the info about the site. See #15716 - allows for css targetting based on site.
git-svn-id: https://develop.svn.wordpress.org/trunk@16765 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 15:00:30 +00:00
Peter Westwood
9c2a7dc314 Introduce can_edit_site to replace inline checks on whether or not the site_id is for the current Network. See #15716.
git-svn-id: https://develop.svn.wordpress.org/trunk@16764 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 14:28:40 +00:00
Peter Westwood
0485062f5d Allow for the callee of download_url() to specify a different timeout if they want to - maybe they don't want to wait that long.
git-svn-id: https://develop.svn.wordpress.org/trunk@16763 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 12:45:24 +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
a63bf413ad Move [14551] to after the is_wp_error check. see #13133, fixes #15511, props alexdunae.
git-svn-id: https://develop.svn.wordpress.org/trunk@16761 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 07:12:55 +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
Andrew Nacin
689a65c8e6 Don't reference nonexistent tabs. see #15707.
git-svn-id: https://develop.svn.wordpress.org/trunk@16759 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 21:37:35 +00:00
Andrew Nacin
efa71cfe2c Set AuthorName even when no translation or markup is processed. see #15662.
git-svn-id: https://develop.svn.wordpress.org/trunk@16758 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 21:18:18 +00:00
Andrew Nacin
efbe42fc1c Add AuthorName to get_plugins() and use it when deleting a plugin. fixes #15662.
git-svn-id: https://develop.svn.wordpress.org/trunk@16757 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 20:49:54 +00:00
Andrew Nacin
975fb7af21 Don't show theme deletion link in multisite in the site admin. Also, link to proper theme-install when using multisite if there are no themes. see #15707.
git-svn-id: https://develop.svn.wordpress.org/trunk@16756 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 20:48:41 +00:00
Andrew Nacin
3f1b37148d s/ms-options/settings/. props koke, fixes #15708.
git-svn-id: https://develop.svn.wordpress.org/trunk@16755 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 19:26:26 +00:00
Pete Mall
240bb52f78 Hide tabs on site admin themes screen for multisite. See #15525
git-svn-id: https://develop.svn.wordpress.org/trunk@16754 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 18:15:27 +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