Andrew Nacin
|
48c90e9f13
|
Initialize _wp_page_template for the first page in wp_install_defaults(). fixes #12653, a Webkit/jQuery bug in Quick Edit (see ticket)
git-svn-id: https://develop.svn.wordpress.org/trunk@13817 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-26 04:42:08 +00:00 |
Peter Westwood
|
a28f0f27cf
|
Switch to get_template_part Fixes #12371. Try on some narrative comments for size see #12695.
git-svn-id: https://develop.svn.wordpress.org/trunk@13816 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-25 22:04:27 +00:00 |
Peter Westwood
|
8003673862
|
Rename get_specific_template as get_template_part so as to make it clearer as to the point of the function. See #12371
git-svn-id: https://develop.svn.wordpress.org/trunk@13815 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-25 22:02:45 +00:00 |
Ryan Boren
|
0286b0f2e5
|
Add scheme argument to admin_url() and get_admin_url() to allow forcing a particular scheme.
git-svn-id: https://develop.svn.wordpress.org/trunk@13814 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-25 22:00:36 +00:00 |
Ryan Boren
|
450110f9f2
|
Don't return WP_Error from term_description(). Props filosofo. fixes #12707
git-svn-id: https://develop.svn.wordpress.org/trunk@13813 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-25 17:28:16 +00:00 |
Nikolay Bachiyski
|
cab7d51114
|
Set some $_SERVER values to empty strings if missing. Fixes notices if WordPress is run from the command-line and is far more pleasant than using isset() all over the place.
git-svn-id: https://develop.svn.wordpress.org/trunk@13812 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-25 15:33:35 +00:00 |
Andrew Nacin
|
3d67dd8d50
|
Use actual hostname instead of example.com in subdirectory/subdomain examples. fixes #12679, props johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@13811 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-25 02:49:23 +00:00 |
Ryan Boren
|
eeb49f6bef
|
Enable nav menu admin if theme supports widgets. Show notice if theme supports widgets but not nav-menus. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13810 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-24 18:35:31 +00:00 |
Andrew Nacin
|
adb0bd1ff3
|
Use set_time_limit(0) in import/mt.php. see #12595
git-svn-id: https://develop.svn.wordpress.org/trunk@13807 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-23 19:20:03 +00:00 |
Andrew Nacin
|
5bcb23827d
|
Move send_nosniff_header() into wp-includes so it can be used in wp-ajax.php. props sivel, fixes #12683
git-svn-id: https://develop.svn.wordpress.org/trunk@13806 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-23 19:13:58 +00:00 |
Andrew Nacin
|
e5f55c5b3d
|
Deprecate add_option_update_handler() and remove_option_update_handler() in favor of register_setting() and unregister_setting(). #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13805 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 23:03:31 +00:00 |
Andrew Nacin
|
0ac5c26d2d
|
Prevent the nav menu walker from walking in circles. Don't allow an object from being a child of itself; if the functionality is desired, a workaround would be custom links. see #11817, see #12566. (Script loader bump for r13802, r13803). props ptahdunbar for the commits.
git-svn-id: https://develop.svn.wordpress.org/trunk@13804 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 22:33:12 +00:00 |
Andrew Nacin
|
945699faff
|
Prevent the nav menu walker from walking in circles. Don't allow an object from being a child of itself; if the functionality is desired, a workaround would be custom links. see #11817, see #12566
git-svn-id: https://develop.svn.wordpress.org/trunk@13803 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 22:26:27 +00:00 |
Andrew Nacin
|
94ec7ba0eb
|
Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: https://develop.svn.wordpress.org/trunk@13802 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 19:56:16 +00:00 |
Andrew Nacin
|
d53d09ca48
|
Fix notice without breaking comment notifications. See r13150, see #11830
git-svn-id: https://develop.svn.wordpress.org/trunk@13801 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 16:06:55 +00:00 |
Andrew Nacin
|
476fcfe595
|
Check cap before showing comments from private posts in recent comments dashboard widget. fixes #9144.
git-svn-id: https://develop.svn.wordpress.org/trunk@13800 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 14:01:43 +00:00 |
Dion Hulse
|
2e11ca383a
|
Better cross-browser support for Custom Background image alignment preview. Props eddieringle. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13799 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 07:14:14 +00:00 |
Dion Hulse
|
1b219fcd7a
|
Add some defensive checks to Canonical redirection of %category% to ensure notices are not thrown. Props jfarthing84 for pointing out possibility. See #11907
git-svn-id: https://develop.svn.wordpress.org/trunk@13798 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 07:05:50 +00:00 |
Nikolay Bachiyski
|
7fcffb8d12
|
Wrap transtable strings used in Network install in WP_I18N_SOMETHING, because translations still aren't loaded. Fixes #12357
git-svn-id: https://develop.svn.wordpress.org/trunk@13797 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 06:51:49 +00:00 |
Andrew Nacin
|
eea330b58c
|
More ms-options cleanup. Add label elements, and transition to checkboxes from radios where we can. Also fix notice in global_terms_enabled post handling.
git-svn-id: https://develop.svn.wordpress.org/trunk@13796 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 06:02:04 +00:00 |
Andrew Nacin
|
30a7c8d8b6
|
More cleanup of ms-options.php. Allow textarea.large-text class to be applied to inputs as well.
git-svn-id: https://develop.svn.wordpress.org/trunk@13795 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 04:19:10 +00:00 |
Andrew Nacin
|
fb28554cf0
|
Move the MS option for upload limit inline w/ the enabling/disabling of the upload limit.
git-svn-id: https://develop.svn.wordpress.org/trunk@13794 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 03:48:01 +00:00 |
Andrew Nacin
|
747fd91e0a
|
Fix typo in inline docs for register_post_type(). fixes #12664 props sillybean.
git-svn-id: https://develop.svn.wordpress.org/trunk@13793 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 03:11:15 +00:00 |
Andrew Nacin
|
f5262bb86e
|
Fix the MS admin notice feed.
git-svn-id: https://develop.svn.wordpress.org/trunk@13792 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 02:23:45 +00:00 |
Andrew Nacin
|
450fa7374f
|
Restore a missing moderate_comments cap check in Right Now dashboard widget. see #12202
git-svn-id: https://develop.svn.wordpress.org/trunk@13791 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 01:31:18 +00:00 |
Dion Hulse
|
ff1ec0a955
|
Add @since to Custom Header functions
git-svn-id: https://develop.svn.wordpress.org/trunk@13790 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-21 11:02:05 +00:00 |
Andrew Nacin
|
752e02538a
|
Move unregistered check to proper branch of code. prevents options.php panel from throwing errors. see #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13789 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-21 07:38:10 +00:00 |
Dion Hulse
|
3ca4e60665
|
Cleanup of Custom Background. Move JS to external file, Add @since, Remove redundant steps functionality, Preview of Image alignment. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13788 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-21 06:06:18 +00:00 |
Dion Hulse
|
af3144f092
|
When viewing a Parent term in a hierarchical taxonomy, display objects contained within children too. Props scribu. Fixes #12533
git-svn-id: https://develop.svn.wordpress.org/trunk@13787 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-21 02:52:00 +00:00 |
Dion Hulse
|
6f62362b96
|
Use correct cap checks and nonces for custom post_type's
git-svn-id: https://develop.svn.wordpress.org/trunk@13786 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-21 02:29:11 +00:00 |
Andrew Nacin
|
ef46c26f1b
|
Simplify the deprecated notice for unregistered settings. fixes #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13785 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-21 01:49:00 +00:00 |
Dion Hulse
|
f24da9abad
|
Fix WP_User::remove_role(). See #10285
git-svn-id: https://develop.svn.wordpress.org/trunk@13784 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-21 01:36:54 +00:00 |
Dion Hulse
|
cf430f20d0
|
Do not display empty Appearance menu for subscribers. Need to use Menu API after the _admin_menu hook has fired.
git-svn-id: https://develop.svn.wordpress.org/trunk@13783 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-21 01:01:45 +00:00 |
Andrew Nacin
|
1559240917
|
Some improvements to the network.php mod_rewrite checks. see #12255
git-svn-id: https://develop.svn.wordpress.org/trunk@13782 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 22:44:07 +00:00 |
Dion Hulse
|
691bd47301
|
Only allow %category% to be a valid category attached to the current post when using %category% in a permalink structure. Fixes #11807
git-svn-id: https://develop.svn.wordpress.org/trunk@13781 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 06:27:27 +00:00 |
Dion Hulse
|
9e75e9944d
|
Update Canonical paging to reconise /page(\d+)/? as a valid paging path. See #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13780 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 03:22:08 +00:00 |
Dion Hulse
|
9b70561913
|
Fix Quick edit for non-page Hierarchical post_types. See #12643
git-svn-id: https://develop.svn.wordpress.org/trunk@13779 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 03:05:25 +00:00 |
Dion Hulse
|
f9660db25a
|
Add parent selection support for custom post_types to the Page Attributes metabox. See #12643
git-svn-id: https://develop.svn.wordpress.org/trunk@13778 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 02:46:31 +00:00 |
Dion Hulse
|
1cf092565c
|
Tabs are better than spaces. Whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@13777 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 02:39:58 +00:00 |
Dion Hulse
|
724fc1b7e5
|
Fix notice in Page Templates when a Template is not set for the current page.
git-svn-id: https://develop.svn.wordpress.org/trunk@13776 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 02:37:16 +00:00 |
Dion Hulse
|
f5795be7af
|
Add additional columns to the Posts Comments view. Props arena. Fixes #11231
git-svn-id: https://develop.svn.wordpress.org/trunk@13775 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 02:35:17 +00:00 |
Dion Hulse
|
6be1550e75
|
Add hierarchical support for custom post_types in Rewrite Rules & Querying. See #12643
git-svn-id: https://develop.svn.wordpress.org/trunk@13774 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 02:23:52 +00:00 |
Dion Hulse
|
513dc9d474
|
Allow for a custom Endpoint Mask to be passed to add_endpoint(). Allows for endpoints to be targeted to specific rewrite rules. Allow custom post_types to specify their Endpoint mask. Allows for post_type's rewrite rules to inherit Post endpoints, or alternatively, allows for add_endpoint() to target specific post_types. Fixes #12605
git-svn-id: https://develop.svn.wordpress.org/trunk@13773 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 02:05:32 +00:00 |
Dion Hulse
|
60d2b654ac
|
Fix unset notice on Revisions page for custom post_types. Use $post object instead of relying on a Global
git-svn-id: https://develop.svn.wordpress.org/trunk@13772 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 01:10:01 +00:00 |
Andrew Nacin
|
26db844b28
|
MS admin string improvements. fixes #12436, props mrmist.
git-svn-id: https://develop.svn.wordpress.org/trunk@13771 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-19 22:09:34 +00:00 |
Andrew Nacin
|
dd306def81
|
Remove redundant isset() and empty() checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@13770 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-19 21:29:21 +00:00 |
Andrew Nacin
|
ddc506f01c
|
Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: https://develop.svn.wordpress.org/trunk@13769 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-19 21:15:00 +00:00 |
Ron Rennick
|
2bcc218df8
|
add NONCE_SALT to secret_salt_warning(), see #11764
git-svn-id: https://develop.svn.wordpress.org/trunk@13768 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-19 20:48:59 +00:00 |
Mark Jaquith
|
37cfd7d0c6
|
Update search engines blocked text so that we do not imply that the blog is actually private.
git-svn-id: https://develop.svn.wordpress.org/trunk@13767 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-19 14:40:50 +00:00 |
Dion Hulse
|
ef886dfdfe
|
Add min-height and a black border to the Background Image preview. Min-height to allow for no image present, black border to show preview area when no image or colour is available. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13766 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-19 09:37:36 +00:00 |