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
|
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
|
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 |
|
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 |
|
Andrew Nacin
|
997913449c
|
Restore accidental removal of get_usernumposts(). This function is now deprecated in favor of count_user_posts() for naming consistency. fixes #12642 props Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@13761 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-19 01:11:21 +00:00 |
|
Peter Westwood
|
f93010c7ff
|
Make use of apply_filters_ref_array() when running the query. Fixes #9886 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@13758 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-18 21:55:25 +00:00 |
|
Peter Westwood
|
8d9aac849f
|
Introduce apply_filters_ref_array(). See #9886 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@13756 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-18 21:24:07 +00:00 |
|
Andrew Nacin
|
21c4e3e30e
|
Account for old type=link (now taxonomy=link_category) in wp_dropdown_categories(). Don't use the deprecated argument in options-writing. Sprinkle in some deprecated warnings. fixes #12630
git-svn-id: https://develop.svn.wordpress.org/trunk@13754 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-18 20:17:15 +00:00 |
|
Andrew Nacin
|
39547dbeb9
|
Check in the script version bump for [13752]
git-svn-id: https://develop.svn.wordpress.org/trunk@13753 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-18 19:25:55 +00:00 |
|
Andrew Nacin
|
6eb9146145
|
Fix notice for when no menus are located. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13743 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 21:34:24 +00:00 |
|
Andrew Nacin
|
2256bb9a70
|
Remove JS nav-menu functions that we no longer use. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13742 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 20:44:59 +00:00 |
|
Mark Jaquith
|
23f3d3f190
|
nav_menu taxonomy should be _builtin. props sillybean. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13741 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 20:03:02 +00:00 |
|
Mark Jaquith
|
f9c0a28884
|
Bump nav-menu JS version
git-svn-id: https://develop.svn.wordpress.org/trunk@13740 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 20:01:31 +00:00 |
|
Peter Westwood
|
fc7db66476
|
Fix notice in wp_nav_menu when the menu doesn't exist.
git-svn-id: https://develop.svn.wordpress.org/trunk@13738 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 19:33:20 +00:00 |
|
Ryan Boren
|
e89d1c5dcb
|
Introduce WP_DEFAULT_THEME
git-svn-id: https://develop.svn.wordpress.org/trunk@13737 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 17:42:49 +00:00 |
|
Ryan Boren
|
e61755c853
|
Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 16:27:25 +00:00 |
|
Ryan Boren
|
a62734b401
|
Fix menu item type labels. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13731 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 16:18:41 +00:00 |
|
Mark Jaquith
|
a333213a6f
|
No need for three separate JS files if they are only ever enqueued together. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13730 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 16:13:16 +00:00 |
|
Mark Jaquith
|
8bca8131a6
|
More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: https://develop.svn.wordpress.org/trunk@13725 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 04:39:50 +00:00 |
|
Ryan Boren
|
5e9792f9f7
|
Menu item -> append should be a key/name, not a label. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13722 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-16 22:01:49 +00:00 |
|
Ryan Boren
|
1bb04ed42a
|
Default target to _self. Add some sanitization and gettext. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13719 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-16 19:20:10 +00:00 |
|
Ryan Boren
|
35236d8291
|
Introduce sanitize_key().
git-svn-id: https://develop.svn.wordpress.org/trunk@13718 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-16 19:19:32 +00:00 |
|
Andrew Nacin
|
39d8739a81
|
Prevent page(\d+) slugs, and force a suffix. props miqrogroove. fixes #11917. see #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13717 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-16 18:36:26 +00:00 |
|
Ron Rennick
|
9fe9b2390f
|
first pass on optional global terms, see #12589
git-svn-id: https://develop.svn.wordpress.org/trunk@13715 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-16 17:17:55 +00:00 |
|
Ryan Boren
|
586b69b6f6
|
Use get_permalink() instead of get_post_permalink(). Limit to published post types. see #11817 #12566
git-svn-id: https://develop.svn.wordpress.org/trunk@13714 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-16 16:34:30 +00:00 |
|
Ron Rennick
|
d6d03bf1a8
|
fix spelling/typo in nav menu message, props jorbin, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13712 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-15 22:46:30 +00:00 |
|
Ryan Boren
|
b8fb00fc92
|
Allow enabling/disabling title and editor per post type. Introdoce remove_post_type_support(). Add enable/disable for author override. Props scribu. fixes #12590
git-svn-id: https://develop.svn.wordpress.org/trunk@13710 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-15 21:16:41 +00:00 |
|
Ron Rennick
|
2f1c39ad75
|
fix warning on cookie_domain, see #12457
git-svn-id: https://develop.svn.wordpress.org/trunk@13707 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-15 17:43:18 +00:00 |
|
Ryan Boren
|
d710af9830
|
Menus rework. Props ptahdunbar. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13704 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-15 16:26:46 +00:00 |
|
Dion Hulse
|
f80cc183fa
|
Restore backwards compatibility of integer sidebars("sidebar-$i"). See #12606
git-svn-id: https://develop.svn.wordpress.org/trunk@13701 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-14 12:12:23 +00:00 |
|
Dion Hulse
|
20a430c8fb
|
Revert [13699], It breaks dynamic_sidebar(<int>) compatibility. Use a safer loop for clashes. See #12606
git-svn-id: https://develop.svn.wordpress.org/trunk@13700 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-14 11:58:53 +00:00 |
|
Dion Hulse
|
bd619cdb60
|
Simplify the Id uniqueness loops. Guard against more use-cases which might cause ID conflicts. See #12606
git-svn-id: https://develop.svn.wordpress.org/trunk@13699 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-14 11:34:51 +00:00 |
|
Dion Hulse
|
a486d9ed55
|
Ensure that for multiple sidebar additions, the ID is unique (even if specified). Append -2.. for > 1 sidebars. Props minusfive. Fixes #12606
git-svn-id: https://develop.svn.wordpress.org/trunk@13698 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-14 10:55:17 +00:00 |
|
Dion Hulse
|
47426465ed
|
Limit redirect_guess_404_permalink() to the same post_type if it's specified in the query. See #12601
git-svn-id: https://develop.svn.wordpress.org/trunk@13697 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-14 05:06:47 +00:00 |
|
Andrew Nacin
|
22506c9721
|
install.php password UI cleanup. see #10396
git-svn-id: https://develop.svn.wordpress.org/trunk@13696 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-14 02:30:50 +00:00 |
|
Ryan Boren
|
3cf21a9178
|
Add custom hierarchical post type support to get_pages(). Props ptahdunbar. see #12600
git-svn-id: https://develop.svn.wordpress.org/trunk@13695 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-13 20:01:02 +00:00 |
|
Ryan Boren
|
d59218dbce
|
Spacing between attributes. Props momo360modena. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13694 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-13 18:47:44 +00:00 |
|
Dion Hulse
|
e7b6cd83c7
|
Prevent PHP Notices on 404 pages
git-svn-id: https://develop.svn.wordpress.org/trunk@13691 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-13 07:47:20 +00:00 |
|
Dion Hulse
|
05889a6180
|
Whitespace additions to WP_Rewrite. A few coding standards too.
git-svn-id: https://develop.svn.wordpress.org/trunk@13689 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-13 07:29:10 +00:00 |
|
Dion Hulse
|
327d84d8f8
|
Add Endpoints for Attachments, Paging, Comment paging and custom Endpoints to custom post_type's. See #12597
git-svn-id: https://develop.svn.wordpress.org/trunk@13688 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-13 06:59:07 +00:00 |
|
Dion Hulse
|
af2148aaf0
|
Force Theme update check on GUU. See #12528
git-svn-id: https://develop.svn.wordpress.org/trunk@13687 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-13 04:05:54 +00:00 |
|
Ryan Boren
|
8ed4a506c4
|
Always use lowercase strings or menu type. Don't double save custom link menu items (remove the AJAX save). see #12566
git-svn-id: https://develop.svn.wordpress.org/trunk@13685 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-12 21:57:52 +00:00 |
|
Ryan Boren
|
e215851f8d
|
the_shortlink(). Props miqrogroove. fixes #10640
git-svn-id: https://develop.svn.wordpress.org/trunk@13683 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-12 16:08:37 +00:00 |
|
Andrew Nacin
|
363ba99066
|
Remove conditionally declared wp_check_filetype() from ms-files.php. It will always be defined in functions.php. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13682 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-12 00:38:04 +00:00 |
|
Andrew Nacin
|
b1ab90b3b3
|
Fix notice on users admin panel. More or less reverts earlier fix, [13617]. props miqrogroove. fixes #12555
git-svn-id: https://develop.svn.wordpress.org/trunk@13680 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-12 00:03:44 +00:00 |
|
Andrew Nacin
|
8a287c5c63
|
Don't check for the existence of index.php in the htaccess rewrite rules. props miqrogroove. see #11845
git-svn-id: https://develop.svn.wordpress.org/trunk@13678 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-11 23:33:01 +00:00 |
|