Ryan Boren
eeaa9c307e
Add lrm to fix bidi test display in RTL languages. Props ramiy. fixes #11919
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12944 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 16:45:55 +00:00
Ron Rennick
04c99ec671
add closing table cell tag to dashboard right now, props Simek, fixes #12121
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12940 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 23:06:27 +00:00
Ron Rennick
012732f59d
improvements to custom content dir support, props nacin, see #11742
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12936 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 18:19:56 +00:00
Ron Rennick
9cfbad8ba3
fix potential global terms inconsistency, props rboren, see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12933 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 01:00:57 +00:00
Ryan Boren
3b613d9aa5
Give network level upgrades separate API that is run when upgrading the main blog. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12931 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 21:53:26 +00:00
Ryan Boren
2b1691cdf4
Cleanup network plugin loading. Props nacin. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12930 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 21:41:17 +00:00
Ryan Boren
1d85da4417
Move functions to ms-deprecated.php
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12929 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 18:05:01 +00:00
Ryan Boren
10dd8c858f
Integrate update_profile_email() into user-edit.php. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12928 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 18:00:45 +00:00
Ryan Boren
12c49c44f4
Allow customizing capabilities for custom post types. Always check caps against those in the post type object instead of contructing them manually. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12927 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 17:37:03 +00:00
Ron Rennick
45c254ac94
pass #2 change uploaded media rewrite rule, props nacin, see #11742
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12926 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 16:32:19 +00:00
Ron Rennick
454cf82301
minor fixes to populate_options(), UI tweaks, see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12920 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 20:01:14 +00:00
Ron Rennick
b78a8cd218
minor fixes/improvements to populate_network(), see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12919 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 18:01:23 +00:00
Peter Westwood
35677e6860
Add phpdoc to all the add_*_page functions.
...
Rename arguments to empasise that people should be using Capabilities not User Levels and named hooks not __FILE__.
See #12101 .
git-svn-id: https://develop.svn.wordpress.org/trunk@12914 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 17:36:00 +00:00
Peter Westwood
95b956bfb9
Fix add_pages_page to use the correct parent menu. Fixes #12100 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12913 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 17:16:00 +00:00
Ryan Boren
f6878865b5
Move 'My Blogs' into its own file. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12904 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 23:21:01 +00:00
Ryan Boren
d70d1ab100
Integrate sitewide plugin handling into activate_plugins(), deactivate_plugins(), and plugins.php. fixes #11767 see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12903 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 21:45:32 +00:00
Ryan Boren
402b998100
Remove remove_edit_plugin_link(). Rely on cap checks. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12902 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 19:29:31 +00:00
Peter Westwood
c4b63151a5
Don't both hooking in menu functions which will never get called. See #11922 props miqrogroove.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12891 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 20:20:18 +00:00
Ron Rennick
4e0bcbb98e
change wp- rewrite more specific rewrite rule, see #11994
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12884 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 15:29:23 +00:00
Ron Rennick
4bcd7b3afd
Improvements to queries in populate_network(), also gettext, props nacin, see #11816
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12880 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 19:13:00 +00:00
Ryan Boren
bdb3f1ee81
Set post_type for QuickPress publishing. Props nacin. fixes #12049
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12874 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:36:17 +00:00
Ryan Boren
783902b5d2
Fix notices when publishing with QuickPress. Props nacin, hakre. fixes #11504
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12873 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:34:11 +00:00
Ryan Boren
5fd2d9c671
Move deprecated admin functions to wp-admin/includes/deprecated.php. Props nacin. fixes #12024
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12871 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:10:32 +00:00
Ron Rennick
08d4201a21
allow initial site_id to be assigned by MySQL, fixes #12021
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12862 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 00:20:10 +00:00
Ryan Boren
72adbb470e
Remove trailing whitespace
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12859 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 22:49:05 +00:00
Ryan Boren
909191a37d
Deprecate is_main_blog() for is_main_site(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12858 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 22:46:09 +00:00
Ryan Boren
4fa746310c
Remove first page and first comment filters. They're no longer needed. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12854 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 20:42:37 +00:00
Ryan Boren
94a9904b69
Remove fix_actve_plugins(). Props hakre. fixes #11750
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12848 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 18:39:12 +00:00
Ryan Boren
7acbca8e8e
Move update_signup_email_from_profile() logic into user-edit.php. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12842 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 17:51:50 +00:00
Ryan Boren
1f7356af5b
Remove profile_page_email_warning_ob_start() and profile_page_email_warning_ob_content(). fixes #11759
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12841 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 17:34:36 +00:00
Dion Hulse
8c6e15b457
First scratch at Taxonomy Capabilities. See #12035
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12833 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 11:32:04 +00:00
Mark Jaquith
5aae2baff3
Better wp_reset_vars() behavior when var is already set. props scribu. fixes #11974
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12831 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 06:06:14 +00:00
Ryan Boren
d33c4ae2ca
phpdoc and cleanup. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12826 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 22:01:43 +00:00
Ryan Boren
0d90882b71
Deprecate mu_options. Integrate directly into options.php. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12825 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 21:33:49 +00:00
Ryan Boren
e0254c7917
Add wp-admin/includes/ms-deprecated.php. Deprecate wpmu_checkAvailableSpace. Introduce is_upload_space_available(). see #11762
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12824 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 19:46:24 +00:00
Ryan Boren
c01fb90ff1
Deprecate wp_shrink_dimension(), add wp-admin/includes/deprecated.php. Props filosofo. fixes #11967
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12823 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 18:50:01 +00:00
Dion Hulse
bc3fbede7f
Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12818 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-24 11:00:27 +00:00
Ryan Boren
5f968eaba5
Fix taxonomy check so categories show in post quick edit. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12812 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-23 18:27:26 +00:00
Ryan Boren
4085e644a6
Update new page link. fixes #11958
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12809 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-23 17:59:06 +00:00
Ryan Boren
345b2656c5
Remove raquo. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12804 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 22:34:54 +00:00
Ryan Boren
e5a67cebd5
Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12798 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 19:30:05 +00:00
Ryan Boren
8f1e29abd1
Introduce set_current_screen(). Set current screen for inline edit ajax requests so post rows can be properly displayed. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12797 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 18:27:54 +00:00
Dion Hulse
bdc99b016a
Optimised unzip_file(), reduces is_dir() IO calls. See #10779
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12794 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 11:02:09 +00:00
Ryan Boren
2e46e81309
i18n fixes. Props nbachiyski. fixes #11954
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 21:37:43 +00:00
Ryan Boren
45b2e6b3af
Sanitize translation of default post slug. Props nbachiyski. fixes #11952
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12784 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 07:19:23 +00:00
Ryan Boren
efb7966619
Update trash and right now links for pages. fixes #11958
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12783 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 06:53:33 +00:00
Ryan Boren
91732dc4f1
Clear some warnings. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12782 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 23:01:09 +00:00
Ryan Boren
aaa492bf22
Screen icons for site admin pages. Using temp icon until new ones are done. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12781 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 22:35:21 +00:00
Ryan Boren
a9b7e7f7fa
Deprecate wp_install_blog_defaults(). Use wp_install_defaults() instead. fixes #11747 see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12776 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 20:09:41 +00:00
Ron Rennick
f2736aa1ab
set default empty message, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12775 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 18:25:08 +00:00
Ron Rennick
a5d7344d4f
sync single and multisite cookie hash, remove extraneous code, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12771 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 01:14:05 +00:00
Ron Rennick
1a8f8ca039
add multisite theme admin, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12769 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 20:03:11 +00:00
Ryan Boren
09aaaaaa23
Use SimplePie in admin_notice_feed(). Props garyc40. fixes #11765
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12767 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 19:33:21 +00:00
Ryan Boren
aceedd977d
Introduce clean_user_cache(). fixes #11761
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12766 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 19:23:11 +00:00
Ryan Boren
4dabd01ce6
Remove mu_dashboard(). Rely on cap checks to customize dash for multisite.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12765 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 18:15:53 +00:00
Ryan Boren
411594ffd8
Remove disable_some_pages(). Rely on cap checks. fixes #11770
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12764 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 18:11:33 +00:00
Ryan Boren
179e1c6d15
Formatting cleanups
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12759 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 16:14:06 +00:00
Ron Rennick
ef5e6e9ad2
implement multisite schema, upgrade, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12756 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 00:04:25 +00:00
Ryan Boren
ee5efb4187
Multisite and formatting cleanups. Introduce get_allowed_themes(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12755 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 23:34:36 +00:00
Ryan Boren
dbb773aa8e
Fix inverted logic. phpdoc update. Props nacin. fixes #11935
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12754 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 22:34:16 +00:00
Ryan Boren
f260b32d25
Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12753 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 22:21:36 +00:00
Ryan Boren
e2adfc832a
Coding standards, space after if
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12752 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 20:34:48 +00:00
Dion Hulse
97fb7fdd8b
Add extra error checking to the Plugin Browser and Plugin API function. Fixes #11640
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12742 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 03:26:50 +00:00
Dion Hulse
ee11169862
Fix WP_Filesystem_Direct::mkdir() when running under safe_mode on certain versions of PHP. Props remi. Fixes #10497
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12741 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 02:57:59 +00:00
Ryan Boren
8ef8b7bad5
Trailing whitespace cleanup
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Ryan Boren
b74bea8a2c
Merge edit-pages.php into edit.php. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12728 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 16:58:36 +00:00
Ron Rennick
542f2132ab
merge multisite wp-admin/includes except schema, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12726 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 00:21:13 +00:00
Dion Hulse
76592af8d8
Standardise WP_Filesystem_*::put_contents() arguments to support chmod reliably across all transports. Fixes #10889
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12723 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-14 09:23:53 +00:00
Ryan Boren
105573a2f9
register_post_type(). see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12719 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-13 18:49:56 +00:00
Peter Westwood
60d271287e
Improve get_pending_comments_num() to be a little more predictable and revert the erroneous change in [12596]. See #11882 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12715 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 22:38:26 +00:00
Ryan Boren
2a68d3919d
Allow per_page settings for custom post type edit screens. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12707 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 15:41:10 +00:00
Ryan Boren
0e4bc929a1
Make wp_edit_posts_query() more post_type aware. Use array calling style. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12706 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 15:23:10 +00:00
Ryan Boren
4e3864bd28
Merge page-new.php into post-new.php. Start abstracting column headers and prefs. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12702 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 00:14:27 +00:00
Ryan Boren
c64564251a
Show custom hierarchical taxonomies in the menus. Props dd32. see #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12694 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 19:27:44 +00:00
Peter Westwood
2e2ad12171
Add missing version numbers to _deprecated_argument() calls.
...
Remove deprecated argument from xfn_check() calls.
Pass version number to deprecated_file_included, deprecated_function_run and deprecated_argument_run actions.
Fixes #11386 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12680 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 10:03:55 +00:00
Ron Rennick
436316a4a8
Add is_subdomain_install() to ms code - Fixes #11796
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12674 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 21:25:01 +00:00
Ryan Boren
71bef9fe26
Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12673 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:49:55 +00:00
Ryan Boren
b153c75949
Use is_super_admin() instead of is_site_admin(). Props GIGALinux see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12672 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:29:56 +00:00
Ryan Boren
6a4dae4be0
Disable sitewide plugin actions that use unfiltered GET and generate warnings pending further scrutiny. see #11767
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12670 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:15:22 +00:00
Ryan Boren
70c55846ac
Pass parent to category_exists(). Props thetoine. fixes #11825
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12662 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 17:58:13 +00:00
Peter Westwood
b5a43efa73
Introduce a single function for getting all the intermediate image sizes to be used both when adding attachements and deleting. Fixes #10263 props scribu.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12659 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:51:12 +00:00
Peter Westwood
2a93c55f43
Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12657 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:34:39 +00:00
Ryan Boren
7b580bf8e8
Use update and insert. Props DD32. fixes #6836
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12652 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 20:13:54 +00:00
Peter Westwood
820991ac95
Switch from create_function to a fixed function for the plugin page activation admin notice. Fixes #11763 props dd32.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12636 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 07:41:13 +00:00
Ryan Boren
7196d7fbe8
Include ms.php if multisite
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12633 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 04:33:41 +00:00
Ryan Boren
18e6d905c5
Strip trailing whites from ms files. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12632 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 04:27:46 +00:00
Ryan Boren
c62b24a2af
Queue ms.css if multisite. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12625 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 02:33:23 +00:00
Ryan Boren
cf5aae053b
s/wpmu/ms/ in file refs. Props Denis-de-Bernardy. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12622 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:30:53 +00:00
Ron Rennick
9b84b850c9
Change references to wpmu-edit.php - See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12620 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:24:03 +00:00
Ryan Boren
3054280850
Move wpmu_menu() logic into menu.php. Props Denis-de-Bernardy. fixes #11763
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12618 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:17:13 +00:00
Ryan Boren
dfe2e39c2c
Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12616 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:01:52 +00:00
Ryan Boren
d710ef45d0
Move some multisite menu checks directly into menu.php. see #11763
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12613 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 23:41:03 +00:00
Peter Westwood
816ed91f0f
Remove svn:executable property on new files. Fixes #11743 props Denis-de-Bernardy.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12610 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 22:22:45 +00:00
Ron Rennick
032de15d5a
Add mu only (inactive) files
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12603 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 04:02:57 +00:00
Ryan Boren
9ef2cb198f
More custom post type support. Props scribu. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12597 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 16:58:43 +00:00
Peter Westwood
170b14f97d
Fix a notice when replying to comments in the admin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12596 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-02 17:16:26 +00:00
Peter Westwood
5b481ca51a
phpDoc for get_pending_comments_num().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12595 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-02 17:15:11 +00:00
Ryan Boren
3d8c08b96a
Use current_time() to calculate current time. Props filosofo. fixes #10915
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12590 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 17:56:09 +00:00
Peter Westwood
a752e6b561
Updates and improvements to _depreceated_argument. See #11386 props nacin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12584 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 16:23:39 +00:00
Andrew Ozz
276e9c3b09
Remove unneeded empty span and add form closing tag in media.php, props Simek and hakre, fixes #11569
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12582 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 08:19:34 +00:00
Ryan Boren
48d6975ae7
Cleanup after bailing when php or mysql versions are not compat. Props nacin. fixes #11638 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12564 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-28 17:19:04 +00:00
Ryan Boren
0a1c83449c
Better duplicate option delete query. Props miqrogroove. fixes #11649 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12560 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-28 16:25:56 +00:00
Andrew Ozz
39665b05c3
Show disabled image rotation buttons when imagerotate() is missing, props husky and hakre, fixes #11536
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12555 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-27 21:24:39 +00:00
Peter Westwood
688e340821
Swap out ;; for ;. Fixes #11618 props demetris and nacin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12548 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 16:53:17 +00:00
Peter Westwood
4460ad8e7b
phpDoc for wp_reset_vars().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12547 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 16:48:24 +00:00
Andrew Ozz
c3f5b583bc
Replace ctype_digit() with is_numeric() for better compatibility, props markup, fixes #11620 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12544 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 08:47:47 +00:00
Matt Mullenweg
d94f8b9331
More cleanup of the edit media screen:
...
* Simplified table to not need rowspan, and other markup where possible.
* Put more elements in a paragraph tag for better spacing.
* Brought edit image buton under the image.
* Everything is now in line with WordPress Coding Standards, particularly with regards to spacing and attribute quotes.
* Minor styling for better alignment.
TODO: We show the file URL here, but for images we should show the URL to each size, with its dimensions.
git-svn-id: https://develop.svn.wordpress.org/trunk@12543 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-25 23:04:48 +00:00
Matt Mullenweg
8fa4b51cb6
Media editing: When you have many custom taxonomies this page can get rather long, or just normally, so adding a "save" button to the top as well, for easy access.
...
There was no place on this page that actually linked to the item being edited, so I hyperinked the thumbnail.
git-svn-id: https://develop.svn.wordpress.org/trunk@12542 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-25 22:22:21 +00:00
Matt Mullenweg
8cfe7f8e85
Change to comments UI to show when a comment is replying to another, and link to the parent comment, so you can understand the context of a given comment when moderating from the dashboard.
...
Long term, I feel like front-end moderation could be really handy if we can make it as AJAXy.
git-svn-id: https://develop.svn.wordpress.org/trunk@12540 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-25 02:46:40 +00:00
Peter Westwood
b799f4886e
Consitent use of … Fixes #10374 props demetris.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12533 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 09:46:57 +00:00
Ryan Boren
7ccd64fbe7
Retunr WP_Error from wp_crop_image() and image_resize(). Props mdwaffe. fixes #9922
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12524 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 18:39:31 +00:00
Ryan Boren
f79d69c71b
Check upload_tmp_dir ini settings for a usable temporary path. Props Denis-de-Bernardy. fixes #6699
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12519 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 16:22:26 +00:00
Ryan Boren
dcd3604d90
Use array calling style. Props Denis-de-Bernardy. see #6647
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12515 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:31:02 +00:00
Ryan Boren
6de4fcc190
Remove unneeded quotes around vars. Props johnbillion. fixes #10245
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12513 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:16:53 +00:00
Peter Westwood
159726cd94
Wrap the content of <wp:meta_value></wp:meta_value> in CDATA for WXR exports. Fixes #9633 props hakre.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12506 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 13:03:34 +00:00
Ryan Boren
6e6e9f77b0
Add escaping to _wp_comment_row(). Props Denis-de-Bernardy. fixes #11492 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12493 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 17:00:54 +00:00
Ryan Boren
9ff30116e7
Increase download_url() timeout to 5 minutes. fixes #11551 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12489 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 16:42:30 +00:00
Peter Westwood
c7d6c83b94
Updated phpDoc for wp-admin/includes/post.php . Fixes #11198 based on a patch from Simek.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12483 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 12:25:15 +00:00
Peter Westwood
154ecfda7b
Fix spelling mistake in tooltip for image rotation button. Fixes #11488 for trunk props computerwiz908.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12481 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 12:02:51 +00:00
Peter Westwood
f0a6bb378b
Deprecate _nc() as _nx() is a much better was of specifying contexts. Fixes #11404 props nacin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12459 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-19 10:51:29 +00:00
Ryan Boren
715fa5d163
Hard code required version in update-core.php. see #11464
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12450 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-18 16:53:44 +00:00
Andrew Ozz
8219ad5b49
Fix the scale image check in image editor, fixes #11473 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12446 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-18 09:52:32 +00:00
Ryan Boren
0df26215b0
Add required php and mysql versions to version.php. Future proof required version check strings. Props nacin. see #11464
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12432 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 18:46:19 +00:00
Ryan Boren
dbad0d7271
Fix typo. see #11464
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12426 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 16:22:54 +00:00
Ryan Boren
899da05e4c
Check MySQL and PHP versions when auto upgrading. Props westi, Denis-de-Bernardy, nacin, caesarsgrunt. see #11464
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12422 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 16:04:47 +00:00
Ryan Boren
60bbd214b3
Remove oEmbed discovery option. Add hook so plugins can enable it. see #10337
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12411 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 21:16:00 +00:00
Ryan Boren
8e0d091c55
Remove no longer needed DB has_cap() checks. Props filosofo. fixes #11443
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12409 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 21:01:57 +00:00
Ryan Boren
922d26b596
Fix upload dir defaults. Props Denis-de-Bernardy. fixes #11276
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12405 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 17:53:51 +00:00
Andrew Ozz
14e4e32252
Fix action on dashboard spam link, merge deletecomment with trashcomment, untrashcomment, spamcomment, and unspamcomment, props caesarsgrunt, fixes #11432
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12401 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 09:45:29 +00:00
Peter Westwood
f6806ba64c
Fix the IP Address validation code in the FTP class. Fixes #11393 props nacin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12387 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-13 00:02:01 +00:00
Andrew Ozz
e54acbc473
Display "Dimensions" only for image attachments, fixes #11403
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12378 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 07:02:26 +00:00
Andrew Ozz
770fd776d7
Disable trash for attachments for now pending improvements in 3.0, fixes #11149
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12377 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 06:40:16 +00:00
Ryan Boren
16b48edadf
Don't fallback to the options database when retrieving *_per_page user options. Props nacin. fixes #11385
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12375 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-11 23:14:43 +00:00
Ryan Boren
b0c20621cd
Call wp_cache_delete after issuing update actions. Props Denis-de-Bernardy. fixes #11397
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12373 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-11 16:44:41 +00:00
Ryan Boren
8da73e044d
Pass correct number of args to ftp_chdir(). Props Denis-de-Bernardy. see #10889
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12369 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 23:03:25 +00:00
Peter Westwood
e56fb80aa5
Revert [11212], [12252], [12255] and [12258]. Stick with Hello World for now and we will look at other solutions. See #110808 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12366 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 22:45:10 +00:00
Ryan Boren
cf9d70f50a
Drop temp upgrade code. fixes #11266
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12365 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 20:29:55 +00:00
Mark Jaquith
2cc4860510
Change 'Remove' link on widgets to 'Delete' because it doesn't just remove it, it deletes the settings for that widget instance. props Denis-de-Bernardy. fixes #10379
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12360 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:51:36 +00:00
Mark Jaquith
a14caf5287
Use esc_url_raw() on wp:comment_author_url in exports. fixes #9524
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12359 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:42:45 +00:00
Mark Jaquith
db7d45ebe2
Provide visual feedback for "Use as thumbnail" when clicked immediately after uploading the image. fixes #11140
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12355 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:03:26 +00:00
Mark Jaquith
507cf49e1b
Do not show "Use as thumbnail" in standalone media browser, but DO show it when you upload a new image on a post. fixes #11366
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12352 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 07:04:01 +00:00
Mark Jaquith
ab97039f96
Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12351 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 06:14:36 +00:00
Ryan Boren
3d6a741305
Allow registering post image support per post type. fixes #11364
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12350 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-09 15:39:20 +00:00
Peter Westwood
8d300bf5b7
s/size/s/ fixes #11370 props nacin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12346 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-09 09:44:53 +00:00
Mark Jaquith
ce73d32830
Yet more standardization around Post/Page Image instead of Post/Page Thumbnail
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12344 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 21:27:53 +00:00
Mark Jaquith
5d021234c2
More standardization around Post/Page Image instead of Post/Page Thumbnail
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12343 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 21:24:32 +00:00
Mark Jaquith
54410e03f6
Introducing set_post_image_size(w, h, crop) so themes can register their special size/crop for canonical post images. WP will create this size/crop upon upload, so your canonical post images fit your space exactly!
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12342 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 21:08:19 +00:00
Matt Mullenweg
2101888ec0
Cast out the lowercase P demons that snuck in. http://www.google.com/search?q=out+out+you+demons+of+stupidity
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12341 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 19:59:34 +00:00
Mark Jaquith
51e25872a6
Standardize around "post image" instead of "post thumbnail"
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12339 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 16:34:04 +00:00
Ryan Boren
bd86766a72
Use stripslashes_deep to strip meta values. Props JonathanRogers, Sewar. fixes #10656
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12336 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 00:48:39 +00:00