Commit Graph

12489 Commits

Author SHA1 Message Date
dd32
ceb1acf3f7 Implement the 2nd parameter of json_decode() for back-compat purposes. Returns an associative array instead of an object. For the recursive object handling, Props carbolineum. Fixes #11963
git-svn-id: http://svn.automattic.com/wordpress/trunk@13863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 04:42:44 +00:00
dd32
adb825f6d0 Implement the 2nd parameter of json_decode() for back-compat purposes. Returns an associative array instead of an object. Fixes #11963
git-svn-id: http://svn.automattic.com/wordpress/trunk@13862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 04:35:42 +00:00
dd32
8abdcecbfe Fix notices in post_custom(). Props sirzooro. Fixes #11839
git-svn-id: http://svn.automattic.com/wordpress/trunk@13861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 04:19:44 +00:00
dd32
bf6510abd1 Fix image_resize() dependencies by moving wp_load_image() from admin includes to wp-includes. Fixes #7279
git-svn-id: http://svn.automattic.com/wordpress/trunk@13860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 03:39:00 +00:00
dd32
32c90a6883 Mark auto-deactivated plugins as recently active after the Plugin Editor deactivates them. Fixes #10925
git-svn-id: http://svn.automattic.com/wordpress/trunk@13859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 03:28:52 +00:00
dd32
a0d734beea Do not allow empty option names. Trim leading and trailing whitespace from option names. Partial patch props ericmann. Fixes #11506
git-svn-id: http://svn.automattic.com/wordpress/trunk@13858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 03:10:37 +00:00
dd32
47c064b890 Check if function exists before using it. imageistruecolor() requires PHP 4.3.2, WordPress requires 4.3.0 at this stage. Fixes #12297
git-svn-id: http://svn.automattic.com/wordpress/trunk@13857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:57:09 +00:00
dd32
f0088e38eb Add Repeat-x/repeat-y support to Custom Backgrounds, Add Live preview of Repeat option, Use Thumbnail of background for Background Preview. Props jshreve. See #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:53:04 +00:00
dd32
4422f6d1fd Display the list of Terms in a non-hierarchical taxonomy on the Post Edit page even if they cannot modify them. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@13855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:37:10 +00:00
dd32
0e4aaa13d3 Update wp_list_categories() to be custom taxonomy aware. Props jfarthing84. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:07:31 +00:00
dd32
7bafa5ee43 Validate Table Prefix in wp-config.php generator. Props johnl1479. Fixes #12622
git-svn-id: http://svn.automattic.com/wordpress/trunk@13853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 01:57:45 +00:00
dd32
8c6fb6f8ec Change form field ID's to prevent ID clashes with listing table column headers. See #11937
git-svn-id: http://svn.automattic.com/wordpress/trunk@13852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 01:42:34 +00:00
dd32
8f30ffcb9e Properly escape plugin admin menu URL's for display. Crops up with custom post_type's with a custom submenu item with & instead of &
git-svn-id: http://svn.automattic.com/wordpress/trunk@13851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 01:32:35 +00:00
dd32
a47cdd86cb Attempt to work around Mac FTP Server security implications of using '-a' in FTP. Props eoinomurchu. See #12232
git-svn-id: http://svn.automattic.com/wordpress/trunk@13850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 01:07:03 +00:00
dd32
c0974fb518 Avoid notices for requests with no body. Also fixes a few race conditions related to headers. Fixes #11872
git-svn-id: http://svn.automattic.com/wordpress/trunk@13849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 00:56:43 +00:00
dd32
5a42dae784 Fix WP_HTTP -> Snoopy Compat layer for Magpie RSS. Fixes #12045
git-svn-id: http://svn.automattic.com/wordpress/trunk@13848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 00:33:25 +00:00
dd32
334670a67a Correct Array style for returning Multiple HTTP Headers. See #12045
git-svn-id: http://svn.automattic.com/wordpress/trunk@13847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 00:23:40 +00:00
iammattthomas
45b1a1fe24 A compromise approach for #12542 -- Treat site-title as H1 on front page, unless it's a static page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 21:50:39 +00:00
nacin
fca5b63772 Bail in wp_unique_term_slug if the slug is unique and we don't need to come up with a new one. fixes #10712.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 07:56:54 +00:00
nacin
d0404ed946 Password nag string cleanup. Could be good to also increase the line-height on div.updated/error at some point.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 07:22:05 +00:00
nacin
2cb4abfa63 New WP logo for admin header. Props Ben Dunkle and Matt Thomas. see #12586 (checks in images for [13842])
git-svn-id: http://svn.automattic.com/wordpress/trunk@13843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 06:42:52 +00:00
nacin
7c968b2962 New WP logo for admin header. Props Ben Dunkle and Matt Thomas. see #12586
git-svn-id: http://svn.automattic.com/wordpress/trunk@13842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 06:41:01 +00:00
dd32
284a6cbc63 Use $ptype_obj->edit_type_cap instead of 'edit_posts' for custom post_type menu's & edit.php access. Allows for a user to have the capability to edit a post_type irrespective of their Posts access. Props rovo89. Fixes #12691
git-svn-id: http://svn.automattic.com/wordpress/trunk@13841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 06:40:59 +00:00
dd32
99c832385e Fix Link Category Tab styling. Props ocean90. Fixes #12712
git-svn-id: http://svn.automattic.com/wordpress/trunk@13840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 06:21:53 +00:00
dd32
644427dd63 Remove Debug cruft.. See #12704
git-svn-id: http://svn.automattic.com/wordpress/trunk@13839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 06:03:58 +00:00
dd32
f6129316ef Support multiple post_type query params/post_type's to be specified in a query. See #12704
git-svn-id: http://svn.automattic.com/wordpress/trunk@13838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 05:56:27 +00:00
nacin
b5fa6854b5 Standardize db config-sample values. fixes #11523
git-svn-id: http://svn.automattic.com/wordpress/trunk@13837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 05:42:08 +00:00
iammattthomas
209d4a7a2e Twenty Ten: Don't use post thumbnail as the custom header if it's smaller than the header size. See #12661. Props iandstewart
git-svn-id: http://svn.automattic.com/wordpress/trunk@13836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 01:59:46 +00:00
nacin
f16de21ca5 Use correct var in MS dashboard_quota(). props ocean90, see #12710. also fixes sprintf string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 21:50:54 +00:00
nacin
2ab1e7d4e8 Update string to better reflect the times. see #11301
git-svn-id: http://svn.automattic.com/wordpress/trunk@13834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 21:07:12 +00:00
nacin
2794e060dc Remove 'Turbo' link from admin header. see #11301
git-svn-id: http://svn.automattic.com/wordpress/trunk@13833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 20:59:57 +00:00
nacin
39b3db4e20 Move ajax spinner to be adjacent to the Quick Edit Update button. also, the dashboard recent comments Submit Reply button. fixes #12345
git-svn-id: http://svn.automattic.com/wordpress/trunk@13832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:55:48 +00:00
nacin
7957161819 Remove references to wp-ajax.php. props TobiasBg, fixes #12400
git-svn-id: http://svn.automattic.com/wordpress/trunk@13831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:44:43 +00:00
nacin
40773a776b Remove trailing whites and double semicolons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:36:49 +00:00
nacin
3918b75cbe Change @since 2.9 to @since 2.9.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:23:39 +00:00
nacin
fdca5f9029 Remove wp-ajax.php. admin-ajax.php can be used (and is better for) for front-end/nopriv AJAX requests. fixes #12400
git-svn-id: http://svn.automattic.com/wordpress/trunk@13828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:17:14 +00:00
nacin
a7feaed0e6 Change @since 3.0 to @since 3.0.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:13:36 +00:00
nacin
d138bc1f38 Remove one-pixel white bottom border off new light gray header. After some discussion, mainly due to screen options/help tabs. see #12586
git-svn-id: http://svn.automattic.com/wordpress/trunk@13826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 18:40:29 +00:00
nacin
6e0976117a Fix potential notice in wp_handle_sideload().
git-svn-id: http://svn.automattic.com/wordpress/trunk@13825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 17:42:34 +00:00
ryan
6dcc05bd54 Ligten header and footer for gray color scheme. Props johnonolan. see #12586
git-svn-id: http://svn.automattic.com/wordpress/trunk@13824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 17:09:53 +00:00
nacin
662902a045 Syndication feeds show the (#) most recent 'items', not posts, as it applies to comments as well. See #12556, see #7092
git-svn-id: http://svn.automattic.com/wordpress/trunk@13823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 14:17:19 +00:00
nacin
82720ead31 WP_I18N_* for .maintenance strings. fixes #12485
git-svn-id: http://svn.automattic.com/wordpress/trunk@13822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 14:06:12 +00:00
nacin
258430405b Correct inline docs and parameter names for get_objects_in_term() to reflect that it uses term ids, not term slugs. fixes #11835
git-svn-id: http://svn.automattic.com/wordpress/trunk@13821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 14:00:17 +00:00
nacin
eb709ded05 Use a generic string instead of "Your username" in user-edit.php to account for non-profile edits. props caesarsgrunt, fixes #11353
git-svn-id: http://svn.automattic.com/wordpress/trunk@13820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 13:56:10 +00:00
nacin
1eabd22805 Introduce get_index_template(). Allows child themes to override a parent theme's index.php. Props koopersmith, fixes #12635
git-svn-id: http://svn.automattic.com/wordpress/trunk@13819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 13:52:43 +00:00
iammattthomas
8babcc5d7c Replace query strings with arras in Twenty Ten, see #12698. Props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 05:37:55 +00:00
nacin
637d557aca 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: http://svn.automattic.com/wordpress/trunk@13817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 04:42:08 +00:00
westi
1111996fe1 Switch to get_template_part Fixes #12371. Try on some narrative comments for size see #12695.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-25 22:04:27 +00:00
westi
4f46d6537c 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: http://svn.automattic.com/wordpress/trunk@13815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-25 22:02:45 +00:00
ryan
39fbccfd56 Add scheme argument to admin_url() and get_admin_url() to allow forcing a particular scheme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-25 22:00:36 +00:00