Commit Graph

15244 Commits

Author SHA1 Message Date
nacin e000cbf83a Better reset for ul and li in the admin bar. props duck_, fixes #15727.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:39:49 +00:00
nacin 224e703d8e Define all margins for the admin bar input. props chrisbliss18, fixes #15216.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:38:27 +00:00
nacin a773f692ba s/method_exists/is_callable/. props hakre, fixes #14933.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:27:49 +00:00
ryan 071c5dff0d Remove stripslashes(). No longer needed. Props RogerTheriault. fixes #12560
git-svn-id: http://svn.automattic.com/wordpress/trunk@16808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:25:18 +00:00
westi fe92a01932 Correct the logic as there is no publish_post cap.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 17:07:55 +00:00
westi b3bc43ab49 Check for extra caps here too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 16:52:08 +00:00
westi 38d526d196 Correct some more cap checks to use the correct caps.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 16:18:42 +00:00
westi d9b7e7cf81 Condense the logic. Props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 15:59:56 +00:00
westi 183e561585 Ensure that we always check the right cap when posts are added or edited.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 15:31:17 +00:00
dd32 5cce49e2b7 Enable canonical redirections for Permalink suporting IIS. Props peaceablewhale See #10187
git-svn-id: http://svn.automattic.com/wordpress/trunk@16797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 11:04:40 +00:00
dd32 1bc51e9c15 Remove visit site button gradient images from pre-3.0. see [16417]. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 10:01:18 +00:00
nacin 13a9058319 Close a quote. see #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 09:49:56 +00:00
nacin 898e58d568 Fix logic inversion. see #15699.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 09:28:20 +00:00
scribu b624542cc5 Revert logic change made in [16789]. See #13818
git-svn-id: http://svn.automattic.com/wordpress/trunk@16793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 09:15:09 +00:00
scribu 39d0718bff Set queried object on CPT archives. Fixes #15730
git-svn-id: http://svn.automattic.com/wordpress/trunk@16792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 08:57:38 +00:00
nacin 2be192c80e 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: http://svn.automattic.com/wordpress/trunk@16791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 08:50:24 +00:00
nacin 611f511e0f Don't show blurry text shadow in the admin bar count. props demetris, fixes #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 08:28:15 +00:00
scribu 2fd70020ea Use has_archive in get_post_type_archive_link(). See #13818
git-svn-id: http://svn.automattic.com/wordpress/trunk@16789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 07:51:40 +00:00
nacin 35b4860563 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: http://svn.automattic.com/wordpress/trunk@16788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 07:12:44 +00:00
nacin 0a61447061 Use pagination base for CPT archives. props scribu, fixes #15728.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 07:02:52 +00:00
nacin 1d127d9e16 Switch to the Akismet 2.5.0 tag.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 05:53:54 +00:00
nacin 440671b932 Initialize this variable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 01:03:12 +00:00
nacin 69ca141a66 Handle posts without titles better in internal linking. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 00:22:43 +00:00
potbot 76ca7a8301 POT, generated from r16782
git-svn-id: http://svn.automattic.com/wordpress/trunk@16783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 00:21:45 +00:00
nacin 7c2e6f8c90 Add 'View Galleries' link for post formats. fixes #15506.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 23:31:35 +00:00
ryan 693f828149 Don't show Suspend/Unsuspend links for the main site on the admin bar. Props ocean90. fixes #15669
git-svn-id: http://svn.automattic.com/wordpress/trunk@16781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 23:11:19 +00:00
ryan dfbd83784f Define IFRAME_REQUEST only for framed requests. Props ocean90. fixes #15721
git-svn-id: http://svn.automattic.com/wordpress/trunk@16780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 23:05:27 +00:00
westi eba0b400c3 Revert brokenness. See #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 21:35:46 +00:00
nacin 9998836363 Don't show plugin edit link in the site admin. fixes #15722. fixes logic in [16777].
git-svn-id: http://svn.automattic.com/wordpress/trunk@16778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 21:14:44 +00:00
nacin bc39153b2e Don't show plugin edit link in the site admin. fixes #15722.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 21:06:44 +00:00
westi 46cd784f3c Restore some more cap checks for clarity. See #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 21:06:19 +00:00
nacin 944f37cd3e Don't check post counts in the network admin. props scribu, fixes #15699.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 20:54:04 +00:00
nacin 057ed950e7 Fix a sprintf call. props wojtek.szkutnik, sorich87. fixes #14555.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 20:41:43 +00:00
nacin 20bbf977a2 Fix the background colors for the Select Files upload buttons. props TECannon. fixes #8545.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 19:42:57 +00:00
ryan 72a9848aa5 Fix notice. Props ocean90. fixes #15692
git-svn-id: http://svn.automattic.com/wordpress/trunk@16772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 19:00:58 +00:00
nacin 1dd324451f Use assign_terms cap for tag search and tag cloud in admin ajax. fixes #15437.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:59:25 +00:00
nacin c697ff4926 Initialize a variable. props kapeels for initial patch. fixes #15703.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:55:13 +00:00
ryan 4cfb079fc5 Pass NULL as second arg to wp_upload_bits() to avoid deprecated warning. Props koke. fixes #15698
git-svn-id: http://svn.automattic.com/wordpress/trunk@16769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:32:07 +00:00
ryan 5ce0d9cb7a Apply wp_get_attachment_url to empty urls. Props filosofo. fixes #15494
git-svn-id: http://svn.automattic.com/wordpress/trunk@16768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:16:21 +00:00
ryan d5f81d06f9 Don't show super admin checkbox for the user that has the network admin email address. Props duck_. fixes #14051
git-svn-id: http://svn.automattic.com/wordpress/trunk@16767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:10:16 +00:00
ryan 2eba21d6be Fix return the themes links. Props duck_. fixes #15718
git-svn-id: http://svn.automattic.com/wordpress/trunk@16766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:01:58 +00:00
westi 4bd2db1ca5 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: http://svn.automattic.com/wordpress/trunk@16765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 15:00:30 +00:00
westi 381a4f7750 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: http://svn.automattic.com/wordpress/trunk@16764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 14:28:40 +00:00
westi 1bb4914c3a 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: http://svn.automattic.com/wordpress/trunk@16763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 12:45:24 +00:00
nacin 26d7de2d93 We only need strpos here. Ensures PHP4 compat. props mailnew2ster, fixes #14187.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 07:17:06 +00:00
nacin 4dae6777c0 Move [14551] to after the is_wp_error check. see #13133, fixes #15511, props alexdunae.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 07:12:55 +00:00
nacin 09e076b152 Remove unnecessary space. props demetris, JohnPBloch. fixes #12797.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 22:56:47 +00:00
nacin 860b23d03e Don't reference nonexistent tabs. see #15707.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 21:37:35 +00:00
nacin 99d02e7d54 Set AuthorName even when no translation or markup is processed. see #15662.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 21:18:18 +00:00
nacin ebcda1964d Add AuthorName to get_plugins() and use it when deleting a plugin. fixes #15662.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 20:49:54 +00:00