Commit Graph

8206 Commits

Author SHA1 Message Date
Andrew Ozz
a85c48a8f0 Not 12, 13px, see #17107
git-svn-id: https://develop.svn.wordpress.org/trunk@17627 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-11 08:01:34 +00:00
Andrew Ozz
ed73beade5 Stop themes and plugins from overriding the admin bar CSS, props johnjamesjacoby, fixes #17107
git-svn-id: https://develop.svn.wordpress.org/trunk@17626 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-11 07:51:53 +00:00
Andrew Ozz
4c572d1f03 Update TinyMCE to 3.4.2, includes native <iframe>, <audio>, <video> support and stops removing HTML 5.0 tags, fixes #17086
git-svn-id: https://develop.svn.wordpress.org/trunk@17625 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-10 18:36:05 +00:00
Andrew Ozz
69fe5f9755 Remove width: 99.5% from metaboxes, props andrewryno, fixes #17084
git-svn-id: https://develop.svn.wordpress.org/trunk@17624 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-08 20:35:51 +00:00
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
Andrew Nacin
9fe67f9a2f Set a background color for the admin bar css3 gradient. props koopersmith, fixes #16142.
git-svn-id: https://develop.svn.wordpress.org/trunk@17248 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 18:19:26 +00:00
Andrew Nacin
372caaea9d RTL fixes. props yoavf, SergeyBiryukov, fixes #16160.
git-svn-id: https://develop.svn.wordpress.org/trunk@17247 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 18:17:53 +00:00
Ryan Boren
634763c218 Don't parse cat query var twice. Don't include children for category__* queries. Props SergeyBiryukov. see #16152
git-svn-id: https://develop.svn.wordpress.org/trunk@17246 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-09 20:49:11 +00:00
Ryan Boren
99478d0c8c Cast category and tag query args to array to allow passing a single ID or slug. Props SergeyBiryukov. fixes #14892
git-svn-id: https://develop.svn.wordpress.org/trunk@17245 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-09 16:42:01 +00:00
Ryan Boren
f59c869e62 category__and, tag__and, tag_slug__in, tag_slug__and support. fixes #16157
git-svn-id: https://develop.svn.wordpress.org/trunk@17244 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-09 16:19:48 +00:00
Ryan Boren
91352574d7 Use correct var. Props westi. fixes #16145
git-svn-id: https://develop.svn.wordpress.org/trunk@17243 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-08 17:21:49 +00:00
Andrew Nacin
d3af28cd11 RTL contextual help fix. props rasheed, SergeyBiryukov, fixes #16151.
git-svn-id: https://develop.svn.wordpress.org/trunk@17242 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-08 08:25:31 +00:00
Andrew Nacin
eb5b299e70 Don't check for post format support when registering the post format taxonomy. fixes #16146.
git-svn-id: https://develop.svn.wordpress.org/trunk@17240 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 21:23:52 +00:00
Ryan Boren
d95ed80091 Selectively reset list-table forms rather than all forms to avoid stompage. Props koopersmith. fixes #16098
git-svn-id: https://develop.svn.wordpress.org/trunk@17239 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 20:52:42 +00:00
Andrew Nacin
465650292a Revert _admin_bar_preferences() and add a class to the table row to allow it to be hidden. Forcing the use of CSS at least attempts to ensure that the developer will recognize that the saving aspect isn't handled. Handle this in the future across all settings screens. Reverts [17161]. fixes #16004.
git-svn-id: https://develop.svn.wordpress.org/trunk@17234 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 16:39:18 +00:00
Andrew Nacin
02b5f977c9 Fix typo in phpdoc. props PeteMall, fixes #16120.
git-svn-id: https://develop.svn.wordpress.org/trunk@17231 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 09:06:55 +00:00
Ryan Boren
0af96a02ed Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17229 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 04:19:08 +00:00
Ryan Boren
eba71eb7c0 Bring out the shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@17228 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 04:11:14 +00:00
Ryan Boren
9908d4ae83 Add some cookie filters to allow plugins more control over SSL cookie delivery. see #15330
git-svn-id: https://develop.svn.wordpress.org/trunk@17227 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 04:08:23 +00:00
Ryan Boren
0c2c9f24a5 Revert [15987] [15988] [15989]. Props SergeyBiryukov. see #9824 fixes #16041
git-svn-id: https://develop.svn.wordpress.org/trunk@17226 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 03:59:22 +00:00
Mark Jaquith
6a79affc88 Funnel unknown values to blank (standard) post format in set_post_format()
git-svn-id: https://develop.svn.wordpress.org/trunk@17224 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-05 22:26:55 +00:00
Mark Jaquith
b50eccafb9 I bungled [17214]. Reverting the revert, so it can be reverted properly! see #14310
git-svn-id: https://develop.svn.wordpress.org/trunk@17220 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-04 20:55:59 +00:00
Andrew Nacin
249fb0bbad Giant chunk of phpdoc for multisite functions. props boonebgorges, SergeyBiryukov. fixes #14953.
git-svn-id: https://develop.svn.wordpress.org/trunk@17218 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-04 09:02:38 +00:00
Andrew Nacin
72e60a4df1 Quick RTL CSS fix in widgets admin. see #16082, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@17216 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-04 07:29:22 +00:00
Mark Jaquith
0f477199c3 Revert [15611] for 3.1. Needs more time for peer review and iteration. see #14310
git-svn-id: https://develop.svn.wordpress.org/trunk@17214 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-04 07:23:41 +00:00
Ryan Boren
26597c2e34 Ignore unsupported post types in add_theme_support(). Props garyc40. fixes #16073
git-svn-id: https://develop.svn.wordpress.org/trunk@17213 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-03 23:56:42 +00:00
Ryan Boren
457989ce16 PHP4 compat. Props SergeyBiryukov, westi. see #16080
git-svn-id: https://develop.svn.wordpress.org/trunk@17211 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-03 19:19:34 +00:00
Ryan Boren
7511c71d14 wp-admin css bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17210 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-03 19:18:02 +00:00
Andrew Nacin
70c1166ad1 Use correct variables. props garyc40, see #15503.
git-svn-id: https://develop.svn.wordpress.org/trunk@17206 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-02 10:55:10 +00:00
Andrew Nacin
8e18209bec Recommit [15986]. see #15226.
git-svn-id: https://develop.svn.wordpress.org/trunk@17205 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-02 08:34:11 +00:00
Andrew Nacin
e023bee4a7 RC2.
git-svn-id: https://develop.svn.wordpress.org/trunk@17204 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-01 23:39:05 +00:00
Andrew Nacin
a5653cf8d9 Compress and bump scripts for [17202]. see #15503.
git-svn-id: https://develop.svn.wordpress.org/trunk@17203 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-01 23:20:57 +00:00
Ryan Boren
7fe3731637 Introduce include_selected arg for wp_dropdown_users(). Add current author to dropdown in post_author_meta_box(). fixes #16045
git-svn-id: https://develop.svn.wordpress.org/trunk@17198 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-01 01:52:03 +00:00
Andrew Nacin
0bd60eb228 Have menu_name work with show_in_menu = submenu. fixes #14832.
git-svn-id: https://develop.svn.wordpress.org/trunk@17197 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-01 00:21:18 +00:00
Andrew Nacin
dfe0736002 Add a note about E_DEPRECATED in wp_debug_mode() because I keep seeing reports about people trying to define it.
git-svn-id: https://develop.svn.wordpress.org/trunk@17194 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-31 21:01:30 +00:00
Andrew Nacin
b627277146 Defense in depth for comment text.
git-svn-id: https://develop.svn.wordpress.org/trunk@17192 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-31 16:30:38 +00:00
Andrew Nacin
31285457f2 Small visual improvements to post formats on edit.php. see #16047.
git-svn-id: https://develop.svn.wordpress.org/trunk@17191 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-31 04:49:27 +00:00
Andrew Nacin
115f9d327d Use the blue background color around the blue gradient. see #15993.
git-svn-id: https://develop.svn.wordpress.org/trunk@17190 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-31 03:11:59 +00:00
Ryan Boren
a0a77f0380 Default to leading and trailing wildcards for site user searches. Require explicit trailing wildcard asterisk request for network user searches. Disallow leading wildcards for network user searches. Move wildcard policy up the stake, allowing more flexibility in WP_User_Query. Props SergeyBiryukov. fixes #16014
git-svn-id: https://develop.svn.wordpress.org/trunk@17189 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 23:38:21 +00:00
Ryan Boren
20380fb8b6 Show correct title for static page home. Props aaroncampbell, greuben, SergeyBiryukov. fixes #16041
git-svn-id: https://develop.svn.wordpress.org/trunk@17187 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 21:10:45 +00:00
Ryan Boren
2c35e7b475 Update @author tag contact info. Props hakre. see #16039
git-svn-id: https://develop.svn.wordpress.org/trunk@17185 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 20:07:12 +00:00
Ryan Boren
9a3c0e39d4 Clean up admin bar node removal. Make it PHP4 safe and prevent display of blank spots. Props sorich87, SergeyBiryukov. fixes #16005
git-svn-id: https://develop.svn.wordpress.org/trunk@17184 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 19:04:32 +00:00
Ryan Boren
97c77ba912 Add Copyright Statement, Licensing Information and Disclaimer to kses. Props hakre. Thanks Ulf Harnhammar. fixes #16039
git-svn-id: https://develop.svn.wordpress.org/trunk@17181 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 18:37:18 +00:00
Mark Jaquith
eb44707143 Fix some RTL CSS issues. props garyc40. props ocean90. fixes #16017
git-svn-id: https://develop.svn.wordpress.org/trunk@17179 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 16:26:25 +00:00
Mark Jaquith
30a8c8e418 Reinstitute Intall Now AYS that was accidentally disabled. props ocean90. fixes #16032
git-svn-id: https://develop.svn.wordpress.org/trunk@17176 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 16:04:07 +00:00
Ryan Boren
2bc1d7f588 Don't be case sensitive to attribute names. Handle padded entities when checking for bad protocols. Normalize entities before checking for bad protocols in esc_url(). Props Mauro Gentile, duck_, miqrogroove
git-svn-id: https://develop.svn.wordpress.org/trunk@17171 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-29 20:45:37 +00:00
Andrew Nacin
68692f0565 get_meta_sql should be private. see #14645.
git-svn-id: https://develop.svn.wordpress.org/trunk@17170 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-29 19:31:35 +00:00
Andrew Nacin
87facd0335 RTL fixes for sortable list headings. props RanYanivHartstein, fixes #16008.
git-svn-id: https://develop.svn.wordpress.org/trunk@17166 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-29 14:32:22 +00:00
Ryan Boren
5377597223 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17163 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-28 22:36:39 +00:00
Ryan Boren
051219360e Ignore an empty pagename when correcting is_* for page_on_front requests. Props donalmacarthur, SergeyBiryukov, filosofo. fixes #16002
git-svn-id: https://develop.svn.wordpress.org/trunk@17162 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-28 22:34:15 +00:00
Andrew Nacin
cf122e2b22 Move the admin bar profile preferences to a hook. fixes #16004.
git-svn-id: https://develop.svn.wordpress.org/trunk@17161 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-28 19:37:11 +00:00
Andrew Nacin
2fee9b3e7f Correct the docs for register_post_status. fixes #15947, props simonwheatley.
git-svn-id: https://develop.svn.wordpress.org/trunk@17158 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 22:45:34 +00:00
Andrew Nacin
6bc7a5cdce Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@17157 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 22:07:20 +00:00
Ryan Boren
3edaa30bed Always output pagination controls. Hide them when they are not needed. Show them upon AJAX result that requires pagination. Props nacin. fixes #15983
git-svn-id: https://develop.svn.wordpress.org/trunk@17156 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 22:06:15 +00:00
Ryan Boren
de1f10c283 Don't sanitize_key() the post type so that colons aren't stripped from attachment types. Props nacin. fixes #15982
git-svn-id: https://develop.svn.wordpress.org/trunk@17155 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 22:00:50 +00:00
Ryan Boren
6ee1075a4e RTL pagination fixes. Props yoavf. fixes #15974
git-svn-id: https://develop.svn.wordpress.org/trunk@17154 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 21:56:07 +00:00
Andrew Nacin
00eaa56f22 RTL for theme installer. props yoavf, fixes #15984.
git-svn-id: https://develop.svn.wordpress.org/trunk@17149 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 06:31:46 +00:00
Andrew Nacin
78b256b7a9 Happy holidays :D
git-svn-id: https://develop.svn.wordpress.org/trunk@17148 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 23:38:33 +00:00
Dion Hulse
b8e50af2d7 Set taxonomy/term back-compat query vars for all views (not just taxonomy indexes). Fixes #15978
git-svn-id: https://develop.svn.wordpress.org/trunk@17147 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 23:26:09 +00:00
Ryan Boren
a748e507e5 link_notes and term_description escaping fixes. Props garyc40. fixes #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@17146 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 22:45:09 +00:00
Andrew Nacin
f3419ea181 Revert [16995] due to the way the data enters the db. props garyc40, see #15454.
git-svn-id: https://develop.svn.wordpress.org/trunk@17142 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 18:10:59 +00:00
Andrew Nacin
b98ffad893 RTL for the new style pagination links. fixes #15974.
git-svn-id: https://develop.svn.wordpress.org/trunk@17139 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 13:48:13 +00:00
Andrew Nacin
08a1d71621 More CSS reset for wplink. Give the dialog title a specific line height. see #15561.
git-svn-id: https://develop.svn.wordpress.org/trunk@17135 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-24 20:40:08 +00:00
Andrew Nacin
1931b69f10 Internal linking CSS resets to fix Press This formatting. props garyc40, ocean90. see #15561.
git-svn-id: https://develop.svn.wordpress.org/trunk@17133 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-24 17:52:45 +00:00
Ryan Boren
99750ff7ef Clear messages when searching, sorting, paginating. Props scribu. fixes #15973
git-svn-id: https://develop.svn.wordpress.org/trunk@17132 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-24 17:45:59 +00:00
Andrew Nacin
62ca1a7769 Fix some tab CSS in Press This. props dd32. Also adjust menu bits to default to gray, and then add rules to blue. see #15561.
git-svn-id: https://develop.svn.wordpress.org/trunk@17131 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-24 17:43:01 +00:00
Andrew Nacin
143ebe72bd CSS tweaks and arrow fixes for internal linking. props ocean90, see #15739.
git-svn-id: https://develop.svn.wordpress.org/trunk@17125 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 17:33:41 +00:00
Ryan Boren
ee09d38544 Fix comment reply colspan. Props garyc40. fixes #15876
git-svn-id: https://develop.svn.wordpress.org/trunk@17124 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 17:21:29 +00:00
Andrew Nacin
1c309312a0 Revert [16915]. Don't honor the page template for the posts page. Deal with this with a better UX in 3.2. see #15513, fixes #15945.
git-svn-id: https://develop.svn.wordpress.org/trunk@17123 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 17:05:47 +00:00
Ryan Boren
cd4f625268 Don't be so sensitive.
git-svn-id: https://develop.svn.wordpress.org/trunk@17119 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 15:26:49 +00:00
Andrew Nacin
80afe4eb65 The internal linking dialog should be 'Add Link' not 'Save Link'. Not a new string. props jane, see #15739.
git-svn-id: https://develop.svn.wordpress.org/trunk@17118 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 15:22:05 +00:00
Ryan Boren
b6b6693135 Expand/collapse arrows for internal linking. Props ocean90. fixes #15739
git-svn-id: https://develop.svn.wordpress.org/trunk@17117 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 14:44:51 +00:00
Ryan Boren
9f9f401c42 Fix comment manipulation on edit post screen. Props garyc40. fixes #15876
git-svn-id: https://develop.svn.wordpress.org/trunk@17113 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 19:03:43 +00:00
Ryan Boren
cc812c98d3 Put sort arrows in sprite. Make 100% of th clickable. Align sort indicators. Remove unneeded padding. Props scribu. fixes #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@17110 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 18:01:15 +00:00
Ryan Boren
48a0f157b1 Don't assume queried object is a term. Fixes non-existent var notice. Props filosofo. fixes #15944
git-svn-id: https://develop.svn.wordpress.org/trunk@17109 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 17:40:51 +00:00
Andrew Nacin
676394918c echo OR return, not both, in single_term_title(). props Viper007Bond, fixes #15939.
git-svn-id: https://develop.svn.wordpress.org/trunk@17107 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 00:04:53 +00:00
Ryan Boren
8109449e0b RTL for wplink. Props ocean90. see #15864
git-svn-id: https://develop.svn.wordpress.org/trunk@17105 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 20:19:56 +00:00
Mark Jaquith
40bc6b43c1 Remove overly broad CSS rule. fixes #15913
git-svn-id: https://develop.svn.wordpress.org/trunk@17104 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:46:39 +00:00
Ryan Boren
34ef8c8df9 Translations in title attributes require esc_attr().
git-svn-id: https://develop.svn.wordpress.org/trunk@17102 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:17:58 +00:00
Ryan Boren
661e41e55b Retrieve only IDs and then do a user fetch loop so that all required user data is present. Props scribu. fixes #15888
git-svn-id: https://develop.svn.wordpress.org/trunk@17100 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 16:27:34 +00:00
Mark Jaquith
135bd083a4 Translate post format term names on the fly. props mfields. fixes #15899
git-svn-id: https://develop.svn.wordpress.org/trunk@17092 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 21:59:16 +00:00
Ryan Boren
0987e3430f Add default for who arg. see #15871
git-svn-id: https://develop.svn.wordpress.org/trunk@17091 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 19:02:44 +00:00
Ryan Boren
1f3ea01d78 List table spinner. Props scribu. see #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@17090 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 18:45:05 +00:00
Ryan Boren
034024021a Comment reply and quick edit js fixes. Props garyc40. fixes #15908
git-svn-id: https://develop.svn.wordpress.org/trunk@17089 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 17:53:50 +00:00
Ryan Boren
aca2b86eaf Add 'who' arg to wp_dropdown_users() and get_users(). Add' hide_if_only_one_author' argument to get_users(). Query only authors (user level greater than 0) when who => author is passed. Query only authors for author meta box and quick edit dropdowns. Props scribu. fixes #15871
git-svn-id: https://develop.svn.wordpress.org/trunk@17088 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 17:25:39 +00:00
Andrew Nacin
dd449b12cc Minify plugin-install.js. see #15842.
git-svn-id: https://develop.svn.wordpress.org/trunk@17087 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:48:19 +00:00
Ryan Boren
76e77b1790 Revert get_users_of_blog() to 3.0 behavior and deprecate. Use get_users() in core. Props scribu. fixes #15854
git-svn-id: https://develop.svn.wordpress.org/trunk@17084 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:25:35 +00:00
Andrew Nacin
15efc0fa0a Clarify the _doing_it_wrong message for conditioanl tags. init prevents the fatal error, but the query still isn't run. Just drop the mention of a hook and we end up with better reasoning why this doesn't work to boot. see #14729.
git-svn-id: https://develop.svn.wordpress.org/trunk@17083 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:21:42 +00:00
Andrew Nacin
ed9ce46089 Fix placeholder issues when removing comments. props garyc40, fixes #15879.
git-svn-id: https://develop.svn.wordpress.org/trunk@17081 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 15:26:44 +00:00
Ryan Boren
3df8f3d4a5 Define net and user admin constants for fetch-list case. Props scribu. fixes #15903
git-svn-id: https://develop.svn.wordpress.org/trunk@17080 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 13:30:39 +00:00
Ryan Boren
75028c8b48 @since additions and updates. Props demetris. fixes #15867
git-svn-id: https://develop.svn.wordpress.org/trunk@17079 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 12:49:18 +00:00
Ryan Boren
c460268d15 Check is_network in the screen object for AJAX requests. Props scribu. fixes #15903
git-svn-id: https://develop.svn.wordpress.org/trunk@17077 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 11:57:25 +00:00
Ryan Boren
2423095bc1 Relocate isset check. Props TobiasBg, SergeyBiryukov. fixes #15041
git-svn-id: https://develop.svn.wordpress.org/trunk@17076 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 11:41:08 +00:00
Andrew Nacin
1df12424d1 Don't let the screen options text escape the box. props ohanesian, fixes #15329.
git-svn-id: https://develop.svn.wordpress.org/trunk@17075 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 11:06:54 +00:00
Andrew Nacin
9dd606211b Call comment_type() without arguments that way 'Comment' is translated internally with context. fixes #15798.
git-svn-id: https://develop.svn.wordpress.org/trunk@17074 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 10:44:14 +00:00
Andrew Nacin
23339857e5 Docs for get_post_format_slugs(). props demetris, fixes #15867.
git-svn-id: https://develop.svn.wordpress.org/trunk@17073 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 10:22:06 +00:00
Andrew Nacin
18edc09e6a More @since. props SergeyBiryukov, fixes #15445.
git-svn-id: https://develop.svn.wordpress.org/trunk@17071 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 09:25:21 +00:00
Andrew Nacin
9a5687bdfd Don't fatal error when conditional tags are called before init. fixes #14729.
git-svn-id: https://develop.svn.wordpress.org/trunk@17068 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:17:52 +00:00
Andrew Nacin
28604faac7 Have 'My Sites' in admin bar actually link to my-sites.php. props ocean90, fixes #15900.
git-svn-id: https://develop.svn.wordpress.org/trunk@17067 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:14:52 +00:00
Andrew Nacin
d8871ce771 Don't refill the comment list when undoing a spam action on a comment. props greuben, fixes #15884.
git-svn-id: https://develop.svn.wordpress.org/trunk@17066 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:14:09 +00:00
Andrew Nacin
9aaa805cfb Thorough CSS reset of the admin bar to avoid theme conflicts. props ocean90, JohnONolan, filosofo, duck_. fixes #15851.
git-svn-id: https://develop.svn.wordpress.org/trunk@17064 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:11:24 +00:00