Commit Graph

13940 Commits

Author SHA1 Message Date
Ryan Boren 432adc1c33 Make posts per page filters consistent and back compat. Props wpmuguru. fixes #14135 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15450 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-21 17:27:04 +00:00
Andrew Nacin c9d4749ed7 Doc update for [15402]. fixes #14301.
git-svn-id: https://develop.svn.wordpress.org/trunk@15449 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-21 00:50:01 +00:00
Nikolay Bachiyski 1ed9585257 Do not include space in the beginning of internationalized string
git-svn-id: https://develop.svn.wordpress.org/trunk@15448 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-19 20:36:30 +00:00
Nikolay Bachiyski e1e6ce1e97 Do not include newline character in the beginning if the database error string
git-svn-id: https://develop.svn.wordpress.org/trunk@15447 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-19 20:35:15 +00:00
Ryan Boren 0e8e96649b Default posts per page to 20. Props wpmuguru. fixes #14342 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15445 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-19 16:28:26 +00:00
Ryan Boren 8915af45b3 Remove rededundant code. see #14292
git-svn-id: https://develop.svn.wordpress.org/trunk@15444 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-18 14:06:14 +00:00
Ryan Boren ef992f592c Add cap check. see #14343
git-svn-id: https://develop.svn.wordpress.org/trunk@15441 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-18 13:59:53 +00:00
Ryan Boren 38563c2521 Add cap check. Props duck_. see #14343
git-svn-id: https://develop.svn.wordpress.org/trunk@15439 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-18 13:53:58 +00:00
Ryan Boren 02580f7b0b Hex octets are case-insenstive. Don't 301 when the only octet case differs. Props hakre. fixes #14292 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15437 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-18 13:46:35 +00:00
Peter Westwood 785c20b082 Remove debug cruft. See #14315 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@15435 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-17 11:13:35 +00:00
Peter Westwood 8d72c5172c Fix the theme compat file require paths to be fully absolute so they don't rely on a particular php path to work. Fixes #14315 for trunk props dougal.
git-svn-id: https://develop.svn.wordpress.org/trunk@15433 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-16 09:40:09 +00:00
potbot 666b031fdb POT, generated from r15430
git-svn-id: https://develop.svn.wordpress.org/trunk@15431 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-14 16:21:33 +00:00
Andrew Nacin bf425efae3 Don't publish the first menu to the first menu location immediately on create. Bad UX. for 3.1.
git-svn-id: https://develop.svn.wordpress.org/trunk@15430 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-14 15:13:01 +00:00
Andrew Nacin 21ee162f34 s/TwentyTen/Twenty Ten/ so we don't wipe theme mods and the current theme cache. for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15428 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-14 14:16:14 +00:00
Ryan Boren 70358dc160 If category already exists, return its ID. Restores previous behavior. fixes #14067 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15425 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-14 14:12:23 +00:00
Andrew Nacin 26e4490a6b Fix admin memu link for tax assigned to pages. props SeyelentEco, fixes #13560 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15424 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-14 04:53:45 +00:00
Andrew Nacin 44bc91eedd Twenty Ten minor image style edits. props iandstewart, fixes #14303 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15421 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-14 01:16:08 +00:00
potbot d8fd779ffc POT, generated from r15418
git-svn-id: https://develop.svn.wordpress.org/trunk@15419 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-14 00:21:42 +00:00
Andrew Nacin 1a826a4506 Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@15417 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 22:27:20 +00:00
Andrew Nacin 51f14ccbc4 style.css cleanup. props lancewillett, see #14298 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15416 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 22:20:26 +00:00
Andrew Nacin 9fa8ec9493 Twenty Ten: Rename to appease the theme directory gods, version bump, and new description from lancewillett and iandstewart. fixes #14298.
git-svn-id: https://develop.svn.wordpress.org/trunk@15413 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 22:09:36 +00:00
Andrew Nacin 0d687968ef get_post_permalink() should take a post ID and pass the post object to the filter. Note that the filter received a post object previously as the variable. props filosofo, fixes #14299 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15411 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:56:49 +00:00
Andrew Nacin 6e5abae06a Don't throw 404 in the backend. fixes #14088 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15409 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:47:12 +00:00
Andrew Nacin 0e2a53e8c9 Prevent the same menu item from receiving duplicate IDs if the menu is used twice. All menu items now get a class with their post ID; only the first item now gets an ID. fixes #13976 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15407 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:30:59 +00:00
Ryan Boren 4fb68cd5e8 Sanity check properties in wp_get_single_post(). Props filosofo. fixes #13904 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15405 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:30:09 +00:00
Andrew Nacin 97366f31f0 Fix checking for whether WP_User object is actually a user. props filosofo, fixes #13903 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15404 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:27:05 +00:00
Andrew Nacin dc3140a664 Have wp_set_post_terms return wp_set_object_terms. fixes #14301.
git-svn-id: https://develop.svn.wordpress.org/trunk@15402 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:01:48 +00:00
Andrew Nacin 11d4c3287c It's called WordPress. props zeo, fixes #14293.
git-svn-id: https://develop.svn.wordpress.org/trunk@15400 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 03:00:08 +00:00
potbot 88df62bfe0 POT, generated from r15397
git-svn-id: https://develop.svn.wordpress.org/trunk@15398 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 20:21:38 +00:00
Andrew Nacin 8c40edd236 style.css updates for theme repo sync. see #14284.
git-svn-id: https://develop.svn.wordpress.org/trunk@15397 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 20:00:35 +00:00
Andrew Nacin 56489b6404 Center images on attachment pages in Twenty Ten. props lancewillett. see #14284.
git-svn-id: https://develop.svn.wordpress.org/trunk@15393 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 19:45:09 +00:00
Andrew Nacin 2e19f3d22e Update to Twenty Ten 1.0.3 from theme dir. see #14284.
git-svn-id: https://develop.svn.wordpress.org/trunk@15392 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 19:40:21 +00:00
Ryan Boren d079129f86 Perform strict equality comparison. Props shawnparker. fixes #13350 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15389 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 15:28:31 +00:00
Ryan Boren 63503c5022 Back compat load actions. Props simonwheatley. fixes #14083 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15387 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 15:09:32 +00:00
Ryan Boren b155b1e304 Block editing of sites in a network other than the current one. Props wpmuguru. see #14185 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15385 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 15:01:25 +00:00
Ryan Boren 8d9d4817a3 Add equal sign to blacklist. Props Pádraic Brady. for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15383 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 14:30:39 +00:00
Peter Westwood e9aae4a53a Ensure the language selection dropdown is output correctly. Fixes #14255 for trunk props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@15381 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-10 07:25:10 +00:00
Andrew Nacin 20c540feeb Add missing echo. props PhillKenoyer, fixes #14242 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15379 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-08 23:37:43 +00:00
Mark Jaquith 15b414837c More judicious Wordpress-to-WordPress correction, to avoid bungling reasonable URLs. fixes #13971
git-svn-id: https://develop.svn.wordpress.org/trunk@15377 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-08 19:35:29 +00:00
Andrew Nacin 9d381db2cb Only ask for active_sitewide_plugins in deactivate_plugins() if we're running multisite.
git-svn-id: https://develop.svn.wordpress.org/trunk@15376 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-07 20:35:51 +00:00
Ryan Boren 630cc3878b Introduce DO_NOT_UPGRADE_GLOBAL_TABLES. fixes #14221 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15374 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-07 13:55:14 +00:00
Andrew Nacin d4955c0264 Use page_rows() for quick edit for all hierarchical post types. fixes #14194 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15372 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-07 07:39:14 +00:00
Andrew Nacin 60c561889b Pass feed type from the_content_feed to get_the_content_feed. props peaceablewhale, fixes #14214.
git-svn-id: https://develop.svn.wordpress.org/trunk@15371 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-06 20:41:07 +00:00
Andrew Nacin 66a16124a4 Use correct variable in export. fixes #14213 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15367 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-06 20:24:38 +00:00
Ryan Boren 6149b94c48 Fix nonce for Press This category adder. fixes #14210 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15365 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-06 16:43:47 +00:00
Andrew Nacin fb83a22b94 Restore trackback_rdf(). reverts [13991]. fixes #11139 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15363 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-03 05:55:04 +00:00
Dion Hulse fd8152d074 Remove redundant strtolower() in WP_HTTP. Props rmccue. Fixes #14168
git-svn-id: https://develop.svn.wordpress.org/trunk@15362 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-02 07:52:14 +00:00
Andrew Nacin bea71072af Give nav-menus.php some better include paths.
git-svn-id: https://develop.svn.wordpress.org/trunk@15361 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-01 00:24:36 +00:00
Andrew Nacin ec40f6b186 Curses on PHP 5.0.5. see #14160 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15358 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-30 22:05:27 +00:00
Ryan Boren c6f385ea6a Don't use deprecated function. Blacklist curlies.
git-svn-id: https://develop.svn.wordpress.org/trunk@15356 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-30 17:46:37 +00:00