Commit Graph

8102 Commits

Author SHA1 Message Date
Andrew Ozz 53d3dae91f Don't refresh the admin menu after page load, apply the user-state from PHP, fix behaviour after folding the menu, props nacin, props nuxwin, fixes #10646, fixes #17058
git-svn-id: https://develop.svn.wordpress.org/trunk@17623 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 18:45:22 +00:00
Mark Jaquith cce6b87946 Add mb_substr() back to compat.php (it is non-default). see #16918. props joostdevalk
git-svn-id: https://develop.svn.wordpress.org/trunk@17621 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 15:46:57 +00:00
Mark Jaquith f5078e5c93 Add _() back to compat.php (it is non-default). see #16918. props aaroncampbell
git-svn-id: https://develop.svn.wordpress.org/trunk@17620 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 15:46:48 +00:00
Dion Hulse 281bc984ab Ensure that the Update API's are always using a non-modified $wp_version. Props nacin. Fixes #14384
git-svn-id: https://develop.svn.wordpress.org/trunk@17619 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 10:04:45 +00:00
Dion Hulse 5f476a9f03 Prevent update API requests on every load of themes.php when no updates are available. Fixes #16362
git-svn-id: https://develop.svn.wordpress.org/trunk@17618 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 09:56:20 +00:00
Dion Hulse 2b6b333f6b Verify certificate matches both the common name and the provided hostname. WP_HTTP_Curl requires CURLOPT_SSL_VERIFYHOST be either 2 or false. Props sivel. Fixes #16904
git-svn-id: https://develop.svn.wordpress.org/trunk@17616 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-07 08:38:36 +00:00
Andrew Nacin e376455b17 Make underscores valid in sanitize_html_class. fixes #17067.
git-svn-id: https://develop.svn.wordpress.org/trunk@17614 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-06 21:28:52 +00:00
Ryan Boren 259c415b7b Deprecate wp_clone(). Call clone directly. Props hakre. fixes #16813
git-svn-id: https://develop.svn.wordpress.org/trunk@17613 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-06 17:44:29 +00:00
Ryan Boren 71eeebc9bc Remove setcookie() back compat. Props hakre. see#16920
git-svn-id: https://develop.svn.wordpress.org/trunk@17612 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-06 17:07:59 +00:00
Ryan Boren 1e9c26c3ab There is not a NOT operator. Props scribu. fixes #17054 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17610 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-06 16:08:23 +00:00
Dion Hulse 6549a0aa0e Revert [17608] adding back [17596] and actually include the dummy function this time. See #17057 Fixes #17050
git-svn-id: https://develop.svn.wordpress.org/trunk@17609 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-06 00:42:07 +00:00
Andrew Nacin f9a44bc328 Revert [17596] for now. props kawauso, see #17057, see #17050.
git-svn-id: https://develop.svn.wordpress.org/trunk@17608 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-05 23:17:10 +00:00
Ryan Boren 81d1fdcb3d Set is_* flags for AND taxonomy queries. fixes #17054 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17606 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-05 18:48:53 +00:00
Ryan Boren d470b22d59 Remove PHP4 constructors. Props hakre. see #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17604 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-05 17:25:08 +00:00
Ryan Boren 9691cb5eb2 Take out unnecessary compat functions from compat.php. Props hakre, ptahdunbar. see #16918
git-svn-id: https://develop.svn.wordpress.org/trunk@17603 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-05 17:13:04 +00:00
Dion Hulse 6a7acd8252 explode always returns an array in this context. Props hakre. Fixes #16958
git-svn-id: https://develop.svn.wordpress.org/trunk@17600 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-05 06:41:51 +00:00
Dion Hulse 7b08c38074 Fix warning in HTTP Header parsing where response message is not specified. Props hakre. Fixes #16885
git-svn-id: https://develop.svn.wordpress.org/trunk@17599 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-05 06:21:56 +00:00
Dion Hulse 6fef66fc89 Streamline WP_Http_*::test() methods: Check basic SSL requirements, only allow filters to disable transports, not enable them after ::test() has failed. Props mdawaffe for the initial patch. See #16606
git-svn-id: https://develop.svn.wordpress.org/trunk@17598 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-05 06:09:43 +00:00
Dion Hulse 14d2e5d358 Return 4xx errors as a standard response from WP_HTTP, Brings it in line with the rest of the transports for 4xx error handling. See #17010
git-svn-id: https://develop.svn.wordpress.org/trunk@17597 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-05 04:06:40 +00:00
Dion Hulse bf777d1369 Pass image URL's to thickbox via L10n in script-loader.php. Allows thickbox to be used on any page in the install without defining the image URL variables. Fixes #17050
git-svn-id: https://develop.svn.wordpress.org/trunk@17596 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-05 03:58:25 +00:00
Andrew Ozz 44a5c913d8 Fix display of apostrophes in the user's first and last names on the User Profile page, partial props andrewryno, see #17004
git-svn-id: https://develop.svn.wordpress.org/trunk@17587 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 20:40:16 +00:00
Ryan Boren cb873824ee s/esc_url_raw/esc_url/. Props duck_.
git-svn-id: https://develop.svn.wordpress.org/trunk@17582 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 19:29:06 +00:00
Dion Hulse 746173b4b8 Default WP_LANG_DIR to `WP_CONTENT_DIR/languages` when `wp-includes/languages/` doesn't exist. Fixes #17006
git-svn-id: https://develop.svn.wordpress.org/trunk@17575 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-31 08:11:30 +00:00
Ryan Boren 4b40ff5454 Reduce backtracking in make_clickable() regex. Reduce pcre.recursion_limit to avoid segfaulting. Props hakre. For trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17570 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-28 21:39:16 +00:00
Dion Hulse 6901f20e9b Use the correct variable name; Simpler static initialisation. Props hakre. See #11613 & #16978
git-svn-id: https://develop.svn.wordpress.org/trunk@17566 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-28 09:55:15 +00:00
Andrew Ozz d400b19f92 Handle error response in autosave_update_slug(), props nacin, fixes #16975
git-svn-id: https://develop.svn.wordpress.org/trunk@17565 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-27 20:09:09 +00:00
Andrew Nacin 43d4c448bf Initialize a variable. props boonebgorges, fixes #16977.
git-svn-id: https://develop.svn.wordpress.org/trunk@17564 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-27 19:46:18 +00:00
Dion Hulse fbb5ad3afc Correct logic for cURL Errors, add extra sanity protection in ::processHeaders to guard against null inputs. See #16236
git-svn-id: https://develop.svn.wordpress.org/trunk@17563 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-26 03:32:05 +00:00
Andrew Ozz bf42a84fa0 Fix position of submenus when showing avatar, props johnjamesjacoby, see #16667 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17558 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-25 20:32:07 +00:00
Dion Hulse ec8280cfd8 First run of introducing Stream-To-File for the WP_HTTP API. Reduces memory consumption during file downloads. Implemented in download_url() for upgraders. Props sivel. See #16236
git-svn-id: https://develop.svn.wordpress.org/trunk@17555 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-25 02:42:20 +00:00
Andrew Nacin a1822ad76c Change this string to one that already exists. props ericmann, fixes #16806.
git-svn-id: https://develop.svn.wordpress.org/trunk@17554 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-24 16:12:47 +00:00
Ryan Boren 19d8af83d3 Parse the meta query again if query vars change. Set a global query_vars_changed flag instead of doing multiple hash creation calls. Props greuben. see #16742 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17552 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-24 16:07:24 +00:00
Dion Hulse 3591957d49 Allow for array('redirection' => 0) to bypass WP_Error on redirects being encountered; Allows HEAD requests WITH 'redirection' > 0 specified at call time to follow redirections; Standardises on return values from all transports to act the same based on the Unit Tests. Fixes #16855
git-svn-id: https://develop.svn.wordpress.org/trunk@17551 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-24 05:18:34 +00:00
Dion Hulse 048fcd1cce Fix WP_HTTP to only make a request upon a working transport, as well as to allow Unit Testing. Removes the getTransport() & postTransport() methods as they're no longer needed, replaces them with a single _dispatch_request() method. Fixes #11613
git-svn-id: https://develop.svn.wordpress.org/trunk@17550 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-24 02:16:13 +00:00
Mark Jaquith 3395cc4a62 Prevent Notice if the author object is not set.
git-svn-id: https://develop.svn.wordpress.org/trunk@17548 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 21:25:35 +00:00
Ryan Boren 04aea0e128 Don't die inside db_connect() if connection fails. Let dead_db() handle it. fixes #16640 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17546 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 19:57:35 +00:00
Andrew Nacin fd76a68a2d Bail early in dynamic_sidebar() if there are no sidebars. fixes #14816.
git-svn-id: https://develop.svn.wordpress.org/trunk@17545 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 18:59:52 +00:00
Andrew Nacin 20b7808094 Document that the size parameter in image_downsize() can also be an array. props scribu, fixes #16263.
git-svn-id: https://develop.svn.wordpress.org/trunk@17542 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 18:46:38 +00:00
Andrew Nacin 04f55d16ff Reference proper function equivalents in deprecated.php. props pross, fixes #15253.
git-svn-id: https://develop.svn.wordpress.org/trunk@17541 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 18:44:07 +00:00
Andrew Nacin 4876de9bed Fix copypasta typo in docblock. props scribu, fixes #16384.
git-svn-id: https://develop.svn.wordpress.org/trunk@17540 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 18:42:59 +00:00
Andrew Nacin 21c2c70e25 Remove dead globals. props mitchoyoshitaka. fixes #16571.
git-svn-id: https://develop.svn.wordpress.org/trunk@17538 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 18:39:16 +00:00
Ryan Boren 43b0ccccbc Don't die for failed db connects during install. Props westi. fixes #16640 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17536 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 17:46:40 +00:00
Dion Hulse 615e0c5bc7 Prune PHP5 compat checks in WP_Http, WP_Http_Curl & WP_Http_Streams. Only removes pre PHP 5.2.4 conditional code. See #13915
git-svn-id: https://develop.svn.wordpress.org/trunk@17535 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 11:58:09 +00:00
Dion Hulse 1a22b56c53 Remove PHP4 based WP_Http_Fopen class. Props sivel for initial patch. See #16917 Fixes #13915
git-svn-id: https://develop.svn.wordpress.org/trunk@17534 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 11:35:41 +00:00
Ryan Boren a4d818978c Fix display of oversized custom user/site icons in the admin bar. Props jtsternberg, JohnONolan. see #16667 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17532 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-22 20:42:43 +00:00
Ryan Boren 42e432bd94 Avoid var name conflict in _get_meta_sql(). Fixes type var passed to get_meta_sql filter. Props Rahe, nacin. fixes #16825 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17530 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-22 20:35:47 +00:00
Ryan Boren 8cd811538e Add back compat fields to queried category objects. Props scribu, duck_. fixes #16857 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17528 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-22 20:27:45 +00:00
Ryan Boren 52cbde8270 Return false instead of WP_Error from get_term_by() if the term does not exist. Makes fetching a term by id consistent with slug and name. Props hakre. fixes #16464 #16717 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17526 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-22 20:06:38 +00:00
Mark Jaquith 97587c5374 Bump PHP requirement to 5.2.4. Bump MySQL requirement to 5.0. see #16917
git-svn-id: https://develop.svn.wordpress.org/trunk@17523 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-21 18:30:56 +00:00
Andrew Nacin 04bc9c01cb Add TinyMCE version number. props SergeyBiryukov, fixes #16674 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17521 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-10 18:47:44 +00:00
Mark Jaquith 0984bae175 Correctly handle PATHINFO CPTs and CTs that specify with_front=false. fixes #16807 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17518 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-10 04:24:48 +00:00
Mark Jaquith d79937e6a3 Make plugin header parsing slightly more liberal (like it was in 3.0), to allow for PHPdoc style headers. props miqrogroove. fixes #16751 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17516 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-09 05:46:58 +00:00
Mark Jaquith f490877ab4 Use with_front properly when creating rules for CPT archive pages. props scribu. fixes #16626 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17514 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-09 05:40:52 +00:00
Mark Jaquith c15c6f2b23 Prevent double index.php preprend on PATHINFO custom taxonomy permalinks. Proper use of with_front. props greuben. fixes #16918. fixes #16622. see #15813. see #12659. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17512 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-09 05:18:45 +00:00
Ryan Boren 65ecd2daaa Don't show admin bar on login screen. Props nacin. fixes #16588 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17508 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-08 22:48:05 +00:00
Ryan Boren b08c4772fa Check for WP_Error return from get_term_by(). Props fabifott, kawauso, nacin. fixes #16717 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17506 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-08 22:06:35 +00:00
Ryan Boren 13058d536e Don't perform taxonomy queries for single post requests. Props scribu. fixes #16793 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17504 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-08 22:01:19 +00:00
Ryan Boren 63f4028ba5 Don't double process the tag query var. Props scribu. fixes #16730 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17500 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-03 16:11:02 +00:00
Ryan Boren 0e84a66e49 Do not do canonical redirects for unregistered feeds. fixes #16704 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17498 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-03 15:55:24 +00:00
Mark Jaquith 1ca947074d Revert to the cat=X permalinks from 3.0 and earlier. props dd32. fixes #16644 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17494 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-02 17:29:11 +00:00
Ryan Boren c292114f91 Do not perform canonical redirects for IISto avoid redirect loops on some IIS setups. fixes #16639 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17492 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-02 15:33:11 +00:00
Mark Jaquith 9c2707c3e7 Reparse the taxonomy query if query vars change. fixes #16622 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17489 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-02 04:10:21 +00:00
Andrew Nacin 0c45aa5b10 3.2-bleeding
git-svn-id: https://develop.svn.wordpress.org/trunk@17488 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-23 16:51:47 +00:00
Mark Jaquith 1068e1c6fc 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@17485 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-23 14:44:55 +00:00
Mark Jaquith 90a2c2c945 Make a written offer pointing to a central WordPress.org URL for obtaining the source to any binary programs included in WordPress, instead of relying on third party sites. Include the MIT license file that the swfupload project omitted from their codebase. fixes #16517 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17472 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-21 19:36:16 +00:00
Mark Jaquith 8f7a3680ad Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17467 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-18 06:08:07 +00:00
Mark Jaquith 0cdc6d2e61 Do not attach wp_enqueue_scripts to login_head. New login_enqueue_scripts hook. props nacin. fixes #16586 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17465 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-18 05:10:58 +00:00
Ryan Boren 3846f7dd95 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17463 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-17 01:30:56 +00:00
Andrew Nacin 28f60802b8 Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@17461 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-16 19:38:22 +00:00
Ryan Boren 170a0cf96b Lose create_function() in links_add_target() and links_add_base_url(). esc_attr() the target to provide extra coverage for plugins. Props Justin Rainbow, nacin. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17459 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-16 19:24:18 +00:00
Ryan Boren 5bfe6fa2b1 Use ->query instead of . Always kick off the parse_query action. fixes #16545 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17455 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-16 16:25:52 +00:00
Ryan Boren d4e9bb7183 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17453 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-15 23:59:45 +00:00
Ryan Boren db31b732eb Run parse_query() in get_posts() so that the query vars are always parsed for set(), get_posts() patterns. fixes #16545 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17451 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-15 23:57:13 +00:00
Andrew Nacin b6d982827e s/owpbody/wpbody/. props ptahdunbar, fixes #16559 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17448 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-14 22:57:18 +00:00
Ryan Boren a57952b5c9 Don't allow passing slugs to get_tag_link() and get_category_link(); they are too ambiguous. Restore WP_Error return to get_term_link(). fixes #16521 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17443 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-10 21:48:40 +00:00
Ryan Boren db54fd77fe Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17441 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-10 20:41:08 +00:00
Ryan Boren 81a1787248 Return empty strings instead of WP_Errro from get_category_link(), get_term_link(), and get_tag_link() when passed an invalid term. Clarify phpdoc. Props nacin. fixes #16521 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17437 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-10 20:17:54 +00:00
Ryan Boren 451d7d8ffb Pink the whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@17435 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:35:36 +00:00
Andrew Nacin 683912a877 Cleanup crew.
git-svn-id: https://develop.svn.wordpress.org/trunk@17434 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:35:24 +00:00
Ryan Boren 4d95849968 Don't query the post format for post types that don't support formats. Props nacin. fixes #16503 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17429 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:13:28 +00:00
Ryan Boren 40ef969983 Return early if list is not an array. Props nacin. fixes #16499 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17427 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:06:22 +00:00
Andrew Nacin 15ea5342e5 Use wp_kses_post instead of wp_kses_data for a better balance between security and flexibility. fixes #16489 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17422 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-08 20:17:09 +00:00
Ryan Boren 2adf4a0f7f RC4
git-svn-id: https://develop.svn.wordpress.org/trunk@17417 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-07 23:01:06 +00:00
Ryan Boren e3c732da0c Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17413 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-07 19:19:41 +00:00
Ryan Boren f98f93f137 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17409 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-06 19:20:00 +00:00
Ryan Boren 579eb2ab28 Run sanitize_key() on post_status, comment_status, and ping_status on the way into the DB. Props duck_. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17404 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-06 18:37:20 +00:00
Mark Jaquith 118fb7f8ed Do not use PHP5-only array_combine. props duck_. see #16459 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17402 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-05 18:46:07 +00:00
Ryan Boren 777b15311d Preserve tag escaping. Props koopersmith, Nils Jueneman. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17398 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-05 18:31:05 +00:00
Mark Jaquith acfa8f4e60 No translation for post format slugs. Too fragile for the future. fixes #16459 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17391 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-05 18:24:01 +00:00
Mark Jaquith 04ab78140f Improvement to check_admin_referer() when called without first argument (PLUGIN AUTHORS: STOP DOING THAT). props indie-ulf. fixes #16449 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17385 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-03 20:42:00 +00:00
Mark Jaquith 5b5b5e7747 restore_current_blog() in add_user_to_blog() and remove_user_from_blog() before early return, to avoid being stuck in a switched state. props mdawaffe. fixes #16444 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17379 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-03 00:17:30 +00:00
Mark Jaquith 17c837ee67 Remove admin bar CSS cruft that darkened the bar in RTL languages. props ocean90. fixes #16427 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17377 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-01 01:42:09 +00:00
Andrew Nacin 0e87bd1f4d D'oh.
git-svn-id: https://develop.svn.wordpress.org/trunk@17375 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-31 17:28:27 +00:00
Andrew Nacin a8c4559c38 Keep trunk and branches/3.1 in sync for now, for the beta tester plugin. Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@17374 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-31 17:27:29 +00:00
Andrew Nacin 861b32c855 Add context to 'Format' string. props scribu, SergeyBiryukov, fixes #16423 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17372 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-31 12:18:57 +00:00
Mark Jaquith ad5baf38be Please switch to branches/3.1! See: http://wp.me/pbNCB-lf for background.
git-svn-id: https://develop.svn.wordpress.org/trunk@17371 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-30 21:23:55 +00:00
Ryan Boren 0d8d463048 Admin bar CSS fix; removes unnecessary scrollbars. Props WraithKenny. fixes #15507
git-svn-id: https://develop.svn.wordpress.org/trunk@17368 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-27 15:18:22 +00:00
Ryan Boren 10cd8cb856 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17365 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-25 20:04:24 +00:00
Ryan Boren e131cde02f Pagination fixes. Props garyc40. fixes #16357
git-svn-id: https://develop.svn.wordpress.org/trunk@17361 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-25 19:20:20 +00:00
Mark Jaquith e51e83d0c9 Get is_post_type_archive( 'my-post-type' ) working properly outside of the loop. props bit4. fixes #16347
git-svn-id: https://develop.svn.wordpress.org/trunk@17358 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-24 21:15:50 +00:00
Mark Jaquith daecb5d36d Revert [16832]. see #9591. fixes #16282
git-svn-id: https://develop.svn.wordpress.org/trunk@17357 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-24 06:26:38 +00:00
Andrew Nacin b5de468b5b RC3.
git-svn-id: https://develop.svn.wordpress.org/trunk@17355 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:50:23 +00:00
Ryan Boren bdd25aad05 Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
git-svn-id: https://develop.svn.wordpress.org/trunk@17354 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 18:47:42 +00:00
Ryan Boren 9ab413e3fc Admin bar RTL fixes. Props ocean90. fixes #16340
git-svn-id: https://develop.svn.wordpress.org/trunk@17348 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 13:40:58 +00:00
Ryan Boren a73eee9c84 Revert [17327] and [15858]. Props markmcwilliams, JohnONolan, et al. see #16298 #8352
git-svn-id: https://develop.svn.wordpress.org/trunk@17347 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 03:25:29 +00:00
Ryan Boren 9a0960f97a jQuery UI 1.8.9. Props demetris. fixes #16331
git-svn-id: https://develop.svn.wordpress.org/trunk@17346 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-22 02:30:03 +00:00
Mark Jaquith 4bca42b961 Fix the comments "river." issue 9. props garyc40. see #16262
git-svn-id: https://develop.svn.wordpress.org/trunk@17344 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-21 21:17:12 +00:00
Mark Jaquith 19b385450e Fix inter-page navigating on Edit Comments screen when using keyboard shortcuts. props garyc40. see #16262
git-svn-id: https://develop.svn.wordpress.org/trunk@17343 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-21 20:28:41 +00:00
Andrew Nacin b5d92c4354 Correct the @return for get_term_link. It always has been able to return WP_Error. props SergeyBiryukov, see #16282.
git-svn-id: https://develop.svn.wordpress.org/trunk@17341 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 23:36:42 +00:00
Andrew Nacin a79c8d9715 Compress and bump, see #16308.
git-svn-id: https://develop.svn.wordpress.org/trunk@17335 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 20:59:53 +00:00
Ryan Boren 2e90e4c5e5 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17330 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-19 18:56:21 +00:00
Andrew Nacin 23b061fae6 Only show 'Edit %s' in the admin bar when show_ui. fixes #16304.
git-svn-id: https://develop.svn.wordpress.org/trunk@17329 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-19 16:58:30 +00:00
Andrew Nacin 01bf30c760 Remove Lucida Grande from the remaining font stacks. We should at least be consistent. props demetris, fixes #16298, see #8352.
git-svn-id: https://develop.svn.wordpress.org/trunk@17327 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-19 09:44:17 +00:00
Mark Jaquith 57571e6675 Several list table JS fixes. restores XHR comment status changes. props garyc40. see #16262
git-svn-id: https://develop.svn.wordpress.org/trunk@17326 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-18 17:32:35 +00:00
Andrew Nacin 2b4674a3b4 Remove AJAX from list tables. first pass. see #16262.
git-svn-id: https://develop.svn.wordpress.org/trunk@17322 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 21:47:24 +00:00
Andrew Nacin 71b24d4577 Revert [17270], [17273], see #16166, see #16262.
git-svn-id: https://develop.svn.wordpress.org/trunk@17321 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 21:34:38 +00:00
Andrew Nacin 4615ef1fa3 Remove cruft overflow:hidden from the admin bar items. props ocean90, fixes #15654.
git-svn-id: https://develop.svn.wordpress.org/trunk@17317 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 04:36:46 +00:00
Peter Westwood bdb4930bbe Remove this new filter as it didn't get enough discussion prior to addition.
Revisit later. See #14310.

git-svn-id: https://develop.svn.wordpress.org/trunk@17316 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 23:44:06 +00:00
Peter Westwood 3a069aab56 Things that go bump in the night
git-svn-id: https://develop.svn.wordpress.org/trunk@17315 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 22:39:35 +00:00
Andrew Nacin bda519ae53 Stop localizing the admin bar. props ocean90, fixes #16155.
git-svn-id: https://develop.svn.wordpress.org/trunk@17313 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 21:13:49 +00:00
Peter Westwood 9d3c8eb6f8 Add explit link to the licence for this file. Fixes #16078
git-svn-id: https://develop.svn.wordpress.org/trunk@17312 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 17:49:03 +00:00
Andrew Nacin fca7f0c9a3 jQuery UI 1.8.8. props demetris, fixes #16234.
git-svn-id: https://develop.svn.wordpress.org/trunk@17304 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 00:39:38 +00:00
Mark Jaquith 02e5dcccdb WordPress contains libraries only available under the GPL v2 or later. No one cares about the GPL v1 anymore. We are now specifically saying that WordPress is available under the GPL version 2 or (at your option) any later version. This was discussed with the entire core team.
git-svn-id: https://develop.svn.wordpress.org/trunk@17301 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 19:26:43 +00:00
Andrew Nacin fe7705a8cb For admin bar padding, use margin on the html element instead of padding on the body element. Causes far less conflicts. props aldenta, fixes #16222.
git-svn-id: https://develop.svn.wordpress.org/trunk@17299 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 17:52:51 +00:00
Andrew Nacin b735118cd7 Don't allow an empty rewrite slug for CPT. If you need something like this, do rewrite=>false. fixes #15082.
git-svn-id: https://develop.svn.wordpress.org/trunk@17298 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 15:42:56 +00:00
Andrew Nacin d9b266ed25 Rename wp_admin_bar_init to _wp_admin_bar_init and add a note that removing this action is the wrong way to do it.
git-svn-id: https://develop.svn.wordpress.org/trunk@17296 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 05:57:25 +00:00
Peter Westwood 376207d61b Switch to using min-width so long titles can be displayed instead of using elipsis. Fixes #15654 props koopersmith.
git-svn-id: https://develop.svn.wordpress.org/trunk@17295 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 02:25:24 +00:00
Andrew Nacin dc864d94e8 Only add the post format post classes when the post type supports post formats. posts posts posts posts. props iandstewart, fixes #16224.
git-svn-id: https://develop.svn.wordpress.org/trunk@17292 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 23:02:24 +00:00
Andrew Nacin a711d9b671 Remove the TinyMCE media plugin. fixes #14647.
git-svn-id: https://develop.svn.wordpress.org/trunk@17288 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 21:57:30 +00:00
Mark Jaquith 852a939130 Recompress some JS scripts that were done without YUI munging.
git-svn-id: https://develop.svn.wordpress.org/trunk@17286 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 08:04:58 +00:00
Mark Jaquith a31ca04ccc script compress and bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17285 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 07:17:22 +00:00
Ryan Boren 08ac2b7fe6 Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@17283 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 05:26:06 +00:00
Andrew Nacin bf475c9d6f Just a typo of the class name. fixes #14786.
git-svn-id: https://develop.svn.wordpress.org/trunk@17282 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 05:08:40 +00:00
Andrew Nacin 4fcde740f1 Fix plugin-install column hiding and widths. props PeteMall, fixes #16210.
git-svn-id: https://develop.svn.wordpress.org/trunk@17281 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 01:50:23 +00:00
Peter Westwood 343b3c8a12 Bump script loader versions. See #16211
git-svn-id: https://develop.svn.wordpress.org/trunk@17280 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 01:35:28 +00:00
Peter Westwood de9eb02d8e Add unique ids as well as of classes in the admin bar to make it easier for plugins to extend.
Ensure we escape the classname.
Fixes #16211 props koopersmith.

git-svn-id: https://develop.svn.wordpress.org/trunk@17279 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 01:34:15 +00:00
Ryan Boren fd8d4a6c02 Resurrect 'tag' query processing. see #16157
git-svn-id: https://develop.svn.wordpress.org/trunk@17272 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 21:44:47 +00:00
Andrew Nacin 19122c3516 Keep sorting and paging for bulk actions. props garyc40, see #16166.
git-svn-id: https://develop.svn.wordpress.org/trunk@17270 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 17:06:33 +00:00
Peter Westwood 0105bcadf7 Admin Bar - show fullsite name in the tooltip. Correct some escaping. Fixes #16197 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@17269 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 16:02:56 +00:00
Andrew Nacin d2f18e4040 Check for a property of the object as well. props koopersmith, see #16194.
git-svn-id: https://develop.svn.wordpress.org/trunk@17266 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 06:11:18 +00:00
Andrew Nacin 85ec22211e Admin bar shortlink improvements. props koopersmith, fixes #16155.
git-svn-id: https://develop.svn.wordpress.org/trunk@17265 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 00:32:00 +00:00
Ryan Boren d848f25d95 Expand shortlink menu when clicked. Fix displayed of shortlinks when rel shortlink is missing. Props koopersmith. fixes #16155
git-svn-id: https://develop.svn.wordpress.org/trunk@17263 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 22:45:14 +00:00
Andrew Nacin 87221c5a85 Give the format taxonomy a name. props SergeyBiryukov, see #16172.
git-svn-id: https://develop.svn.wordpress.org/trunk@17261 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 22:11:32 +00:00
Andrew Nacin c4e9ac89ba Disallow a self-reference on RSS widget save, which would DoS a site. Checking home/siteurl should cover the vast majority of cases. see #8910.
git-svn-id: https://develop.svn.wordpress.org/trunk@17260 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 21:37:12 +00:00
Peter Westwood ed6062f7cd Bumpity
git-svn-id: https://develop.svn.wordpress.org/trunk@17258 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 20:42:41 +00:00
Peter Westwood 2001385d38 Fix wplink version. Bump list-table version. Fixes #16188 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@17257 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 20:37:53 +00:00
Andrew Nacin 4c869552ff Nonce checks for internal linking and list table ajax. fixes #16188.
git-svn-id: https://develop.svn.wordpress.org/trunk@17255 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 20:03:50 +00:00
Mark Jaquith 3a2c242339 Minify and bump list-table.js see #16190
git-svn-id: https://develop.svn.wordpress.org/trunk@17253 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 19:40:31 +00:00
Ryan Boren e1b27b6bd9 Set tag_id for tag queries. Add NOT support to wp_list_filter(). Props scribu. fixes #16170
git-svn-id: https://develop.svn.wordpress.org/trunk@17251 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 18:56:59 +00:00
Andrew Nacin dd4329a4bc Limit post format queries to the post types registered for the taxonomy. see #16149.
git-svn-id: https://develop.svn.wordpress.org/trunk@17249 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 18:30:37 +00:00