Commit Graph

5889 Commits

Author SHA1 Message Date
Andrew Nacin 59701fcaec Use sprintf() in hard-coded string. Use same comment and error code as other identical message. See #11644 props hakre
git-svn-id: https://develop.svn.wordpress.org/trunk@13327 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 09:44:27 +00:00
Andrew Nacin 2a86f138e8 Ensure we're back compat with return values and actions in deprecated *_usermeta() family. See #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13326 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 09:15:47 +00:00
Andrew Nacin c4449c4cb2 Change inline docs to reflect [13324]
git-svn-id: https://develop.svn.wordpress.org/trunk@13325 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 09:08:50 +00:00
Andrew Nacin 8282ad9bfa Improvements and fixes to wpdb::tables(). See #12083 see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13324 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 09:06:50 +00:00
Dion Hulse e3cd873481 Restore [13194] which was accidentally overwritten in [13315]. See #12256
git-svn-id: https://develop.svn.wordpress.org/trunk@13323 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 07:10:47 +00:00
Ron Rennick 7915dbb80a add function for deleting individual menus, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13322 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 03:19:30 +00:00
Ron Rennick 2e25b92eb2 fix debug notice in wp_set_object_terms(), props jeremyclarke, fixes #12344
git-svn-id: https://develop.svn.wordpress.org/trunk@13321 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 02:37:19 +00:00
Ryan Boren b2471216cd Revert [13187] pending further debate. see #12267
git-svn-id: https://develop.svn.wordpress.org/trunk@13318 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 01:13:37 +00:00
Ryan Boren f550f5ce35 Formatting cleanups. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13317 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 23:14:03 +00:00
Mark Jaquith fc77a1d879 Whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@13316 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 23:12:48 +00:00
Mark Jaquith 7ff8d50bd4 Serve a real 404 for ?p=does-not-exist, ?cat=does-not-exist, etc. fixes #12250. fixes #10930.
git-svn-id: https://develop.svn.wordpress.org/trunk@13315 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 22:54:21 +00:00
Andrew Nacin 8ca4dceb9e Docs and code convention cleanups. see #11644 props hakre
git-svn-id: https://develop.svn.wordpress.org/trunk@13314 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 22:53:54 +00:00
Andrew Nacin d17b86f3fc Don't use PHP short tag. Fixes #12337 props junsuijin
git-svn-id: https://develop.svn.wordpress.org/trunk@13312 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 21:26:48 +00:00
Andrew Nacin 670b8d8bfb Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13311 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 21:25:32 +00:00
Ryan Boren b1ee08dcbe jQuery 1.4.2. fixes #12305
git-svn-id: https://develop.svn.wordpress.org/trunk@13310 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 20:27:14 +00:00
Andrew Nacin 59167f1593 Remove unused 'secret' option. Fixes #12221
git-svn-id: https://develop.svn.wordpress.org/trunk@13309 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 20:27:02 +00:00
Andrew Nacin 65ff4db415 Introduce is_textdomain_loaded(). Fixes #10527 props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@13304 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 19:10:03 +00:00
Ryan Boren 485dd8a9c4 Custom background styling fixes. Props yoavf. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13303 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:46:29 +00:00
Andrew Nacin 214d6b2ab0 Fix notice in WP_Http. Fixes #12316 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@13302 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:45:45 +00:00
Andrew Nacin 1543bdbf56 Introduce *_user_meta() functions, deprecate *_usermeta() family. Fixes #10837 props scribu, technosailor.
git-svn-id: https://develop.svn.wordpress.org/trunk@13300 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:35:35 +00:00
Andrew Nacin 6c154d97c9 Deprecate clean_url() for esc_url(). Fixes #12309
git-svn-id: https://develop.svn.wordpress.org/trunk@13299 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:25:51 +00:00
Andrew Nacin 05a37728b1 Use esc_url() instead of clean_url(). See #12309
git-svn-id: https://develop.svn.wordpress.org/trunk@13297 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:15:10 +00:00
Ron Rennick 117a68163d improve custom menu hierarchy logic, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13293 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 17:27:34 +00:00
Ryan Boren f07d93ef40 Don't require a default category for attachment types other than 'post'. Props jfarthing84. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13291 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 17:19:54 +00:00
Dion Hulse c7be408d4a Introduce assign_cap for Taxonomies, Defaults to 'edit_posts'. Allows for Authors/Contributors to tag/categorise their posts. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13289 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 08:36:32 +00:00
Ron Rennick f6c3fab34d output correct parent id, visual hierarchy in admin, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13287 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 02:01:44 +00:00
Ron Rennick 0f2f0a82ec add custom menu hierarchy support to admin, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13286 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 00:26:21 +00:00
Ryan Boren 6c64fffe3a Use nav_menu as the taxonomy name and nav_menu_item as the post type. Set object_id in postmeta. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13284 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 18:24:41 +00:00
Dion Hulse c7e8fc7675 Set svn:eol-style on new navigation file, Temporarily fix Notice in Menu code. See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13280 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 10:55:47 +00:00
Dion Hulse 9d3ea3bbae add show_tagcloud to Taxonomy registration & add basic PHPDoc, See #11612
git-svn-id: https://develop.svn.wordpress.org/trunk@13277 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 02:55:07 +00:00
Dion Hulse 46caaba88b Allow the Tag Cloud Widget to support non-tag taxonomies. Props Sivel. Fixes #11612
git-svn-id: https://develop.svn.wordpress.org/trunk@13276 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 02:47:58 +00:00
Dion Hulse f68b5c6093 Add FunnyOrDie.com oEmbed support. Props Viper007Bond. Fixes #11899.
git-svn-id: https://develop.svn.wordpress.org/trunk@13275 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 02:17:39 +00:00
Dion Hulse 03f690c3ff Split WP_Http classes into separate file. Fixes #11559
git-svn-id: https://develop.svn.wordpress.org/trunk@13274 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 02:06:24 +00:00
Ron Rennick 8f7ed98113 use map_meta_cap for multisite superadmins, props dd32, fixes #12109
git-svn-id: https://develop.svn.wordpress.org/trunk@13270 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:19:05 +00:00
Ryan Boren 8726b1d116 Use core jQuery UI. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13269 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:10:20 +00:00
Ryan Boren f24e88359e Trim trailing whites
git-svn-id: https://develop.svn.wordpress.org/trunk@13268 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:03:42 +00:00
Ryan Boren 8abd24ce0d Make js noConflict compat. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13266 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 23:58:00 +00:00
Ryan Boren b71cec1a15 Move autocomplete to standard jquery directory. Use core jQuery. Use jQuery instead of $. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13263 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 23:35:05 +00:00
Ryan Boren 12b118e514 Rename file. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13262 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 23:18:57 +00:00
Ryan Boren 123b6244e3 Remove custom post states. Register taxonomy against menu_item post type. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13260 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 22:35:39 +00:00
Ryan Boren 8c3feb431b Don't show menu for menu taxonomy. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13259 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 22:24:47 +00:00
Ryan Boren 63238b1667 Set taxonomy label if none given.
git-svn-id: https://develop.svn.wordpress.org/trunk@13258 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 22:21:20 +00:00
Ron Rennick f97af13505 introduce custom menus, props jeffikus, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13257 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:57:43 +00:00
Andrew Nacin b7308ebe6c Set svn eol-style native on new files
git-svn-id: https://develop.svn.wordpress.org/trunk@13255 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:00:19 +00:00
Andrew Nacin d17afeb98e Minor MS startup cleanups. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13254 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 14:07:23 +00:00
Andrew Nacin 8c10673185 Rename is_installed() to ms_not_installed(). See #12083
git-svn-id: https://develop.svn.wordpress.org/trunk@13253 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 13:51:32 +00:00
Andrew Nacin e7c02e7e53 Add template_include filter, to modify the template path before it is included. Fixes #11242
git-svn-id: https://develop.svn.wordpress.org/trunk@13252 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 12:58:25 +00:00
Andrew Nacin dc428cec96 Always pass widget instance to widget_title filter. Also add widget type, props scribu, fixes #11362
git-svn-id: https://develop.svn.wordpress.org/trunk@13248 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 11:56:00 +00:00
Andrew Nacin ea9e869ea8 Fix wpdb::tables() prefix handling. Ensures PHP4 compat. See #12083
git-svn-id: https://develop.svn.wordpress.org/trunk@13245 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 10:50:57 +00:00
Dion Hulse 468d0d7cff Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 02:01:46 +00:00