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
Ryan Boren
c120fd98ee
Don't show the WP plugins widget in multisite in the site admin. Props ocean90. fixes #15748
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16841 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 16:37:16 +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
63d7b51d01
Adjust branching and errors in WP_Themes_List_Table::no_items(). fixes #15751 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16838 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 16:12:04 +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
scribu
a3c3dc3273
Fix strange JS error when trashing a comment. Props greuben. Fixes #15746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16836 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 14:16:35 +00:00
Andrew Nacin
bac58b8e62
Example About Page. props jane, studionashvegas. fixes #14973 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16835 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 13:20:40 +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
Andrew Nacin
f11e53166e
s/can_edit_site/can_edit_network/g. see #15720 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16833 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 12:36:39 +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
9835b5ff25
Add @return to add_*menu_page() docs. Fixes #15747
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16831 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 06:54:48 +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
Andrew Nacin
684d85ff2f
Fix menu_page_url() for submenu pages attached to custom menu pages. props duck_, see #14159 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16829 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 04:02: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
fc9815537d
Add the for atteibute to internal linking labels. props batmoo, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16827 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 01:46:31 +00:00
Ryan Boren
be9b7a345b
Link to unobfuscated JS. Props filosofo. fixes #15262
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16826 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 22:37:19 +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
Andrew Nacin
b6b938a084
Fix typo. props SergeyBiryukov, fixes #14107 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16823 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 21:35:08 +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
Ryan Boren
d8005e7182
Close br. Props wahgnube. see #15287
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16817 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 21:09:29 +00:00
Andrew Nacin
7a7e7542d1
Update show_on_front to posts if there are no pages, just in case. see #14403 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16816 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 21:02:07 +00:00
Pete Mall
cfe4cf192b
Remove plugin-install from site admin for is_multisite(). See #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16815 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 20:11:52 +00:00
Mark Jaquith
596471065a
Keep Dashboard RSS widgets in same place when configuring. props duck_. fixes #14785
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16814 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:53:26 +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
Ryan Boren
dc673fbccd
Fix media form error display. Props andyblackwell. fixes #13810
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16812 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:44:48 +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
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