ryan
|
c3c6a3721f
|
Fix notices and logic errors in get_page_by_path(). Props duck_. see #17670
git-svn-id: http://svn.automattic.com/wordpress/trunk@19075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-10-28 19:32:19 +00:00 |
ryan
|
62afab8db3
|
Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-10-24 19:13:23 +00:00 |
nacin
|
00a31d6d19
|
Correct docs for get_post_field(). props JustinSainton, fixes #19025.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-10-21 17:13:26 +00:00 |
ryan
|
fca9f2e2e3
|
In wp_trash_post(), rename the trash_post action to wp_trash_post to avoid collision with the wp_transition_post_status() trash_post state transition. Props SergeyBiryukov. fixes #15628
git-svn-id: http://svn.automattic.com/wordpress/trunk@18974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-10-14 18:39:31 +00:00 |
ryan
|
0370bda8bc
|
Count only published posts when updating term counts. Fire term count updates on transition_post_status. Props joehoyle. see #17548
git-svn-id: http://svn.automattic.com/wordpress/trunk@18932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-10-10 20:52:44 +00:00 |
ryan
|
d7a17b96e9
|
Avoid refetching a post in get_post() when passed a post object that has already been raw sanitized. Clean up sanitize loop. Props scribu. fixes #18822
git-svn-id: http://svn.automattic.com/wordpress/trunk@18846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-30 19:06:18 +00:00 |
ryan
|
e46e579ce5
|
Restore sorting by post_name in get_pages(). Props SergeyBiryukov. fixes #18805
git-svn-id: http://svn.automattic.com/wordpress/trunk@18845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-30 18:12:14 +00:00 |
westi
|
b5a3362c70
|
Fire an action when a post type or taxonomy is registered so plugins can react. Fixes #18802 props simonwheatley.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-30 09:53:35 +00:00 |
azaozz
|
75432d53b0
|
Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235
git-svn-id: http://svn.automattic.com/wordpress/trunk@18823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-29 21:47:52 +00:00 |
nacin
|
f4c5d43326
|
Revert [18783], as it breaks term relationship counts for attachment taxonomies. see #17548.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-29 05:29:20 +00:00 |
ryan
|
d187cf2559
|
Count only published posts when updating term counts. Fire term count updates on transition_post_status. Props joehoyle. fixes #17548
git-svn-id: http://svn.automattic.com/wordpress/trunk@18783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-26 22:24:46 +00:00 |
nacin
|
9f216ad715
|
delete_post_thumbnail(). props CoenJacobs, duck_. fixes #17895.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-24 19:31:38 +00:00 |
duck_
|
4a6513185a
|
Documentation fixes. See #18560.
- Add missing parameters
- Add missing @param data types
- s/format_where/where_format/
git-svn-id: http://svn.automattic.com/wordpress/trunk@18753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-22 12:02:31 +00:00 |
ryan
|
23db619491
|
Don't send page slugs through prepare() to avoid breaking octets in i18n page slugs. Props SergeyBiryukov. see #10249 #166687
git-svn-id: http://svn.automattic.com/wordpress/trunk@18652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-08 17:17:17 +00:00 |
duck_
|
2f51b9be0d
|
Fix typos in documentation (wp-includes/[i-z]). See #18560.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-09-05 19:08:15 +00:00 |
markjaquith
|
31a016614d
|
Cast to array in get_page_by_path() foreach
git-svn-id: http://svn.automattic.com/wordpress/trunk@18627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-31 06:46:16 +00:00 |
dd32
|
f1ac48873b
|
Display 'Edit Media' instead of 'Edit Post' for Attachments/Media in the admin bar. Props johnbillion. Fixes #18529
git-svn-id: http://svn.automattic.com/wordpress/trunk@18613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-28 03:39:06 +00:00 |
westi
|
35838967a7
|
Add a general filter to wp_unique_post_slug to allow for full customisation of the uniqueness functionality. Fixes #14111.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-13 21:00:24 +00:00 |
markjaquith
|
4a610eaa7b
|
Eliminate verbose rewrite rules for ambiguous rewrite structures, resulting in massive performance gains. props andy, otto42, duck_. Nice work everyone! see #16687
git-svn-id: http://svn.automattic.com/wordpress/trunk@18541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-12 01:55:08 +00:00 |
ryan
|
ec4ccf2900
|
Deprecate get_userdatabylogin() and get_user_by_email(). Props scribu. fixes #18333
git-svn-id: http://svn.automattic.com/wordpress/trunk@18513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-05 16:57:31 +00:00 |
ryan
|
24d480d088
|
Turn delete_meta() , get_post_meta_by_id(), update_meta(), delete_post_meta_by_key() into wrappers around the metadata API. Add back compat *_postmeta actions to metadata API. Props jgadbois. see #18196
git-svn-id: http://svn.automattic.com/wordpress/trunk@18500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-08-03 16:48:37 +00:00 |
ryan
|
496081f898
|
phpdoc for all_items and menu_name. Props ocean90. fixes #18036
git-svn-id: http://svn.automattic.com/wordpress/trunk@18472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-07-26 21:31:36 +00:00 |
ryan
|
2d148f51de
|
Fix CPT rewrite generation when turning on permalinks. Props andy. see #18040 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-07-15 15:49:42 +00:00 |
ryan
|
7a466b9ed9
|
Unset filter when inserting/updating posts. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-06-28 21:46:18 +00:00 |
azaozz
|
f2abed5956
|
Fix phpdoc for register_post_status(), props aaroncampbell, fixes #17900
git-svn-id: http://svn.automattic.com/wordpress/trunk@18352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-06-27 21:22:31 +00:00 |
ryan
|
08b6aa116e
|
Sanitize sort_column and sort_order in get_pages(). Escape search_term in WP_User_Search. Cast blog_id to int in get_blog_prefix(). Props duck_
git-svn-id: http://svn.automattic.com/wordpress/trunk@18350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-06-27 20:47:04 +00:00 |
nacin
|
2d54db5d7c
|
Introduce name_admin_bar label and the show_in_admin_bar (Add New menu) argument for post types. Allows for proper translations of these strings and provides for consolidated logic. fixes #16406.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-06-11 02:20:18 +00:00 |
markjaquith
|
856c2742ca
|
Fix mistaken use of publicly_queryable when public was what was intended. props nacin. fixes #17040
git-svn-id: http://svn.automattic.com/wordpress/trunk@18234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-06-10 17:02:03 +00:00 |
westi
|
4360343656
|
Only show Comments are Closed when they are supported.
Tidy up the logic to be clearer.
Mark attachements as supporting comments.
Fixes #17568 props duck_
git-svn-id: http://svn.automattic.com/wordpress/trunk@18211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-06-09 11:12:39 +00:00 |
ryan
|
7b1a753fc9
|
Use array_combine() to avoid a hard-coded copy of the post format slugs. Props mfields. fixes #17576
git-svn-id: http://svn.automattic.com/wordpress/trunk@18083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-05-31 19:52:38 +00:00 |
ryan
|
b188576030
|
phpdoc typo fix. Props Caspie. fixes #17616
git-svn-id: http://svn.automattic.com/wordpress/trunk@18080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-05-31 15:23:21 +00:00 |
ryan
|
c1bb49bb55
|
Rename duplicate delete_post and deleted_post actions to before_delete_post and after_delete_post. Props scribu. fixes #13731
git-svn-id: http://svn.automattic.com/wordpress/trunk@18012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-05-23 23:43:14 +00:00 |
ryan
|
2cfb1592f0
|
Mark import attachments as private. Schedule job to delete old import attachments. Introduce attachment context.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-05-22 23:25:28 +00:00 |
nacin
|
dfdc7d22a9
|
Allow get_pages() to take multiple post statuses. see #8592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-05-12 03:53:46 +00:00 |
markjaquith
|
301be4eeef
|
Rename submenus to not clash with top level menus. Introduce all_items CPT string, defaulting to menu_name. fixes #17378
git-svn-id: http://svn.automattic.com/wordpress/trunk@17864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-05-11 20:09:28 +00:00 |
nacin
|
9cb6e158fc
|
Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-04-28 15:24:49 +00:00 |
nacin
|
24ea36e302
|
Use the post type object in get_posts_by_author_sql() and add a post type parameter to count_many_users_posts(). The formerly somewhat useless and now totally useless pub_priv_sql_capability filter is considered deprecated. fixes #17220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-04-28 11:27:39 +00:00 |
ryan
|
ed6d0bbd37
|
Typo fix. Props ocean90, guyn. fixes #17234
git-svn-id: http://svn.automattic.com/wordpress/trunk@17698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-04-25 14:33:27 +00:00 |
nacin
|
a678aa115a
|
Fix copypasta typo in docblock. props scribu, fixes #16384.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-03-23 18:42:59 +00:00 |
markjaquith
|
59f5dff476
|
Correctly handle PATHINFO CPTs and CTs that specify with_front=false. fixes #16807 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-03-10 04:24:48 +00:00 |
markjaquith
|
1a7a1d9986
|
Use with_front properly when creating rules for CPT archive pages. props scribu. fixes #16626 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-03-09 05:40:52 +00:00 |
ryan
|
3cd43bf6b8
|
Don't query the post format for post types that don't support formats. Props nacin. fixes #16503 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-02-09 17:13:28 +00:00 |
markjaquith
|
57eeed9f3e
|
Do not use PHP5-only array_combine. props duck_. see #16459 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-02-05 18:46:07 +00:00 |
markjaquith
|
7cfc0088d6
|
No translation for post format slugs. Too fragile for the future. fixes #16459 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-02-05 18:24:01 +00:00 |
nacin
|
6423c620f8
|
Don't allow an empty rewrite slug for CPT. If you need something like this, do rewrite=>false. fixes #15082.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-14 15:42:56 +00:00 |
nacin
|
adb4f75729
|
Limit post format queries to the post types registered for the taxonomy. see #16149.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-11 18:30:37 +00:00 |
ryan
|
85f1feed84
|
Bring out the shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-06 04:11:14 +00:00 |
markjaquith
|
cc81b6adf0
|
Funnel unknown values to blank (standard) post format in set_post_format()
git-svn-id: http://svn.automattic.com/wordpress/trunk@17224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-05 22:26:55 +00:00 |
nacin
|
e32a14de12
|
Have menu_name work with show_in_menu = submenu. fixes #14832.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-01-01 00:21:18 +00:00 |
nacin
|
84119f6e0b
|
Correct the docs for register_post_status. fixes #15947, props simonwheatley.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-26 22:45:34 +00:00 |
markjaquith
|
5053c62d64
|
Translate post format term names on the fly. props mfields. fixes #15899
git-svn-id: http://svn.automattic.com/wordpress/trunk@17092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-20 21:59:16 +00:00 |
nacin
|
0bc42a98cc
|
Docs for get_post_format_slugs(). props demetris, fixes #15867.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-20 10:22:06 +00:00 |
westi
|
6a69bdd2d5
|
Allow a plugin to filter our slugs if it wants to. Fixes #15726
git-svn-id: http://svn.automattic.com/wordpress/trunk@16960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-15 17:56:25 +00:00 |
ryan
|
3949ce12d0
|
Pink trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-13 21:21:50 +00:00 |
ryan
|
dea20dd26b
|
s/default/standard/ for post format slug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-13 20:50:10 +00:00 |
nacin
|
5aafa64e34
|
Use correct query var. see #15378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-09 14:23:54 +00:00 |
nacin
|
6a83feb219
|
Remove post_type_supports check from register_post_type caps all together. fixes #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-08 22:07:29 +00:00 |
markjaquith
|
c1a0cf30c3
|
Do not store empty _wp_old_slug values. fixes #15736
git-svn-id: http://svn.automattic.com/wordpress/trunk@16820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-08 21:22:16 +00:00 |
markjaquith
|
298c858c5b
|
Use is_page_type_hierarchical(). props nacin. see #15140
git-svn-id: http://svn.automattic.com/wordpress/trunk@16819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-08 21:17:01 +00:00 |
markjaquith
|
218867ff3c
|
Do not do slug logging/redirects for hierarchical post types. see #15140
git-svn-id: http://svn.automattic.com/wordpress/trunk@16818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-08 21:10:38 +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 |
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 |
nacin
|
47cfe8dd05
|
Post format indexes. First pass. see #15378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-03 10:13:17 +00:00 |
nacin
|
562c038e71
|
Remove sticky arg from post support. props michaelh, see #12702.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-02 23:16:04 +00:00 |
markjaquith
|
e98e5b094b
|
Missed a s/default/standard/ in [16679]. props PeteMall. see #15582.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-02 04:36:00 +00:00 |
markjaquith
|
e7140d23cb
|
The name of the standard post format is now Standard (might offer ability to change Default). fixes #15582
git-svn-id: http://svn.automattic.com/wordpress/trunk@16679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-02 03:19:14 +00:00 |
markjaquith
|
5b37b224f8
|
Throw WP_Error if post_type passed to register_post_type() is longer than schema allows. props phrostypoison. fixes #13709
git-svn-id: http://svn.automattic.com/wordpress/trunk@16670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-01 20:43:39 +00:00 |
scribu
|
57d6d72d2f
|
Remove archaic reference return in get_children(). Props filosofo. Fixes #12372
git-svn-id: http://svn.automattic.com/wordpress/trunk@16667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-01 20:23:57 +00:00 |
ryan
|
1b72cb22a4
|
Prevent default post formats from entering the DB. see #15629 #15582
git-svn-id: http://svn.automattic.com/wordpress/trunk@16662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-01 20:03:39 +00:00 |
ryan
|
ce490df051
|
Export filtering. Props duck_. fixes #15197
git-svn-id: http://svn.automattic.com/wordpress/trunk@16652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-01 17:21:58 +00:00 |
scribu
|
2ec0d0509e
|
Fix 'timeinfo' cache invalidation. Fixes #14922
git-svn-id: http://svn.automattic.com/wordpress/trunk@16537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-22 21:45:45 +00:00 |
nacin
|
69b3167678
|
Revert [15688], [15689], [15691]. Try again in 3.2. see #14966.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-22 17:17:26 +00:00 |
nacin
|
0d56b69953
|
Add the audio post format, the final format we plan to support. see #14746.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-22 17:05:14 +00:00 |
markjaquith
|
8cd425bf92
|
Use "default" as the key (not "0") for the default post format string in the translation array. props josephscott
git-svn-id: http://svn.automattic.com/wordpress/trunk@16477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-19 04:32:33 +00:00 |
nacin
|
b8ce0261df
|
More param fixes, props duck_. see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-18 19:12:48 +00:00 |
ryan
|
847499e531
|
Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@16438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-17 18:47:34 +00:00 |
markjaquith
|
6482610f9a
|
esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
git-svn-id: http://svn.automattic.com/wordpress/trunk@16431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-17 17:12:01 +00:00 |
nacin
|
e5f944a913
|
Don't check post_type_supports in map_meta_cap. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-17 06:21:34 +00:00 |
scribu
|
aa0e750a9f
|
Update some @since tags. Props demetris. Fixes #15438
git-svn-id: http://svn.automattic.com/wordpress/trunk@16400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-16 13:16:13 +00:00 |
nacin
|
29203134cb
|
Sanity cast. see #15192.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-15 18:06:57 +00:00 |
nacin
|
bd638424fc
|
set_post_thumbnail(). fixes #15192.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-15 17:59:25 +00:00 |
nacin
|
c5aa88412a
|
capability_type = page and no custom caps should also kick on map_meta_cap. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-15 17:11:34 +00:00 |
scribu
|
03dd41a0d2
|
Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
git-svn-id: http://svn.automattic.com/wordpress/trunk@16365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-14 15:50:02 +00:00 |
nacin
|
3ccfb56e3c
|
Set map_meta_cap to true when capability_type = post and no custom caps are specified. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-13 08:40:38 +00:00 |
nacin
|
96835b99d0
|
Use term cache in get_post_format() to save a boatload of queries. see #15396.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-12 09:49:34 +00:00 |
nacin
|
5f4a583fb1
|
Remove more create_function calls. props huichen, see #14424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-11 22:50:36 +00:00 |
ryan
|
d26a1aa4ef
|
Pass post ID to get_enclosed filter. Props willnorris. fixes #14018
git-svn-id: http://svn.automattic.com/wordpress/trunk@16275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-10 16:40:49 +00:00 |
nacin
|
795ab6d0f3
|
Cripple capability_type. Produced inconsistent, janky meta cap mapping; now only acts as a capability base. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-10 14:50:14 +00:00 |
nacin
|
42fbeea783
|
Properly set up menu_name. We're handling it differently because it defaults off other labels. fixes #14832.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-10 00:42:43 +00:00 |
nacin
|
faa53fa488
|
Better better message.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-09 20:37:47 +00:00 |
westi
|
b14547df9b
|
Better message.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-09 10:45:30 +00:00 |
westi
|
01c45f4bad
|
Mark the calling of wp_get_recent_posts() with just a count as deprecated - only use in core was from XMLRPC.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-09 10:14:38 +00:00 |
nacin
|
91d3b6bea9
|
Introduce menu_name label for taxonomies and post types. Defaults to name. fixes #14832.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-09 02:09:00 +00:00 |
ryan
|
fccb87dbcb
|
Eliminate some queries in get_page_by_path() by consulting cache. Props Denis-de-Bernardy, wojtek.szkutnik. fixes #11373
git-svn-id: http://svn.automattic.com/wordpress/trunk@16206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-05 15:26:15 +00:00 |
markjaquith
|
92159ea0c2
|
Allow get_post_format() to assume current post if none passed in. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-05 09:40:36 +00:00 |
markjaquith
|
a4ac7eca6f
|
get_post_format_string() to get nice version of a post format slug. Try appending post format as a post-status label. Enclose in square brackets to help it stand out. Remove post format strings filter. If this is going to be standard, it should be standard. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-05 03:04:13 +00:00 |
markjaquith
|
920bfad390
|
Use post_type_supports() to check for whether a post type supports post formats. Only posts support it by default. props mikeschinkel. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-05 02:04:22 +00:00 |
markjaquith
|
b581a43b30
|
Translate and prettify post formats for display. Also, filterable by themes/plugins to add new ones. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-04 18:33:50 +00:00 |
scribu
|
c8bd2835a0
|
make not_found puctuation translatable. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-31 23:21:56 +00:00 |
nacin
|
a512dbefb2
|
Move code out of the conditional. props duck_, fixes #14415.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-30 18:21:23 +00:00 |