Commit Graph

15902 Commits

Author SHA1 Message Date
ryan d8912e1b29 Make sure ext passes through sanitize_file_name()
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 15:56:40 +00:00
ryan 5966a08d07 Prepare some LIKEs
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 15:55:39 +00:00
ryan 6fcc6b739a Use correct keys
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 15:55:03 +00:00
ryan 5fdbe93b26 Cast width and height to int in WP_oEmbed:fetch() so we don't have to rely on providers.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 15:54:07 +00:00
ryan 4c0827af14 Sanitize guid on save and display. Sanitize mime type on save. Don't allow changing mime type via edit form handlers. Protect hidden meta.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 15:53:22 +00:00
ryan 9428fe6b04 Use esc_url() once again.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 15:51:20 +00:00
ryan 17ba8a49f5 Add a nonce.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 15:49:47 +00:00
ryan aed9098381 Don't do a canonical redirect from author=x to /author/foo/ if the user is not an author
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 15:49:02 +00:00
ryan ddb08ef64c Properly anchor mime preg.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 15:47:45 +00:00
ryan 635e7cdd2d Send X-Frame-Options: SAMEORIGIN for admin and login pages. see #12293
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@18013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 15:29:12 +00:00
dd32 51014a6638 * Allow Pagination for Must-Use/Dropin plugins
* Move help text into WP_Plugins_List_Table
Fixes #17327 for 3.1

git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 05:54:19 +00:00
dd32 695d2fa734 Do not return duplicate posts for Meta Queries. Props Greuben. Fixes #17264 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 04:08:22 +00:00
ryan 61e239a533 Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 18:30:09 +00:00
ryan ad2b485a1e Validate post status against capabilities in press this. Props nacin. for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 18:06:50 +00:00
ryan e13b1c82de Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 15:47:16 +00:00
nacin fb4caf3e06 Add the filter in display_rows, rather than _display_rows. for 3.1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 10:20:04 +00:00
nacin b4a7b06241 Remove vestige code, prevent over-escaping of post titles when using Quick Edit for hierarchical post types. fixes #17218 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 10:19:16 +00:00
nacin 3aa1494dc6 Apply esc_html properly in Walker_PageDropdown. fixes #17217 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-22 18:43:00 +00:00
ryan 5c7e289e0f Use proper prefix in query. Fixes user queries ordered by post count. Props ziofix, ericmann. fixes #17123 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-13 17:02:52 +00:00
ryan d4ad475e82 There is not a NOT operator. Props scribu. fixes #17054 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-06 16:09:13 +00:00
ryan aaab3bbdbe Set is_* flags for AND taxonomy queries. fixes #17054 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 18:50:28 +00:00
ryan 56c6950788 Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 18:17:34 +00:00
ryan 335cffab4e Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-04 15:38:54 +00:00
ryan ca878a5a21 Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 19:44:37 +00:00
ryan bc052a10bf esc_url_raw() when doing urlencode()
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 19:36:04 +00:00
ryan b21b855c52 s/esc_url_raw/esc_url/. Props duck_. For 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 19:30:28 +00:00
ryan 69eb0bb44d Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-29 01:22:11 +00:00
ryan 6393921f0b Reduce backtracking in make_clickable() regex. Reduce pcre.recursion_limit to avoid segfaulting. Props hakre. For 3.1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-28 21:39:39 +00:00
ryan c68f7ef382 Add some nonce checks to the uploaders. Props duck_. For 3.1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-28 21:32:01 +00:00
nacin b6d689386b Remove two out of date strings from network contextual help. see #16988 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-28 18:01:30 +00:00
nacin 4dd235d1e3 3.1.1 beta 1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 21:13:38 +00:00
azaozz c1315f1aa1 Fix position of submenus when showing avatar, props johnjamesjacoby, see #16667 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 20:33:30 +00:00
azaozz 15629d2e5f Fix discrepancy in the nested loop in the Recent Comments dashboard widget, props ocean90, fixes #16846 for 3.1.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 20:13:53 +00:00
ryan e0c7538280 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 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-24 16:08:02 +00:00
dd32 ff7a775638 Reinstate [15462] for 3.1; Prevents canonical redirects for custom rewrite rules for taxonomies. See #16627
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-24 01:18:41 +00:00
ryan 000c091b09 Don't die inside db_connect() if connection fails. Let dead_db() handle it. fixes #16640 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 19:58:03 +00:00
ryan 1e995c979b Don't die for failed db connects during install. Props westi. fixes #16640 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 17:47:20 +00:00
ryan b2c412ebcc Fix display of oversized custom user/site icons in the admin bar. Props jtsternberg, JohnONolan. see #16667 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 20:43:16 +00:00
ryan 4e71b1a011 Avoid var name conflict in _get_meta_sql(). Fixes type var passed to get_meta_sql filter. Props Rahe, nacin. fixes #16825 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 20:36:20 +00:00
ryan 852860648d Add back compat fields to queried category objects. Props scribu, duck_. fixes #16857 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 20:28:09 +00:00
ryan b5528f516d 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 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 20:07:50 +00:00
nacin 0f785851c8 Add TinyMCE version number. props SergeyBiryukov, fixes #16674 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-10 18:47:36 +00:00
markjaquith 9168d77a75 Correctly handle PATHINFO CPTs and CTs that specify with_front=false. fixes #16807 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-10 04:25:40 +00:00
markjaquith fbff9bf162 Make plugin header parsing slightly more liberal (like it was in 3.0), to allow for PHPdoc style headers. props miqrogroove. fixes #16751 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-09 05:47:25 +00:00
markjaquith 946a00ceb0 Use with_front properly when creating rules for CPT archive pages. props scribu. fixes #16626 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-09 05:41:10 +00:00
markjaquith fc28e3f83f 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 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-09 05:19:20 +00:00
ryan 5e09c87f1d Anchor network and user admins at the network domain and path rather than at the main site. Makes the redirects consistent with network_admin_url(). fixes #16652 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 22:56:43 +00:00
ryan db890f3ef9 Don't show admin bar on login screen. Props nacin. fixes #16588 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 22:49:14 +00:00
ryan 1c704a2db8 Check for WP_Error return from get_term_by(). Props fabifott, kawauso, nacin. fixes #16717 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 22:07:06 +00:00
ryan 60e0ec7adb Don't perform taxonomy queries for single post requests. Props scribu. fixes #16703 for trunk
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 22:02:12 +00:00