Commit Graph

  • 2748b61322 Docs: Improve a few DocBlocks in wp-includes/formatting.php. Sergey Biryukov 2023-05-21 10:39:52 +00:00
  • 036d161e7f Docs: Fix a few more typos in DocBlocks. Sergey Biryukov 2023-05-20 10:17:57 +00:00
  • c25e29ce9b Editor: Restore shortcode support for block templates. Jonathan Desrosiers 2023-05-20 03:56:54 +00:00
  • faee35ab0d Docs: Fix a few more typos in DocBlocks and inline comments. Sergey Biryukov 2023-05-19 13:25:49 +00:00
  • 7d96c1d5f0 Networks and Sites: Load WP_Metadata_Lazyloader class file if class in meta.php. Jonny Harris 2023-05-19 12:44:54 +00:00
  • 23b007b126 Media: Prevent special images within post content to skew image counts and cause lazy-loading bugs. Felix Arntz 2023-05-18 19:53:37 +00:00
  • a10e2bcf05 Docs: Fix a few more typos in inline comments. Sergey Biryukov 2023-05-18 12:34:22 +00:00
  • bd53a88137 Docs: Fix typo in a comment in Bulk_Upgrader_Skin::header() and ::footer(). Sergey Biryukov 2023-05-18 11:35:21 +00:00
  • d5792c7a88 General: Use static on closures whenever $this is not used to avoid memory leaks. Weston Ruter 2023-05-17 22:44:21 +00:00
  • 5db31259ec Media: Introduce wp_get_attachment_image_context filter. Felix Arntz 2023-05-17 18:29:41 +00:00
  • 261ab3fa5d Docs: Correct default value for the $optimize option in Style Engine. Sergey Biryukov 2023-05-17 12:04:38 +00:00
  • 80f34c8aaa Docs: Improve Style Engine DocBlocks per the documentation standards. Sergey Biryukov 2023-05-17 11:56:47 +00:00
  • ac87b8701f Networks and Sites: Load WP_Metadata_Lazyloader class file if class does not exist. spacedmonkey 2023-05-17 09:42:02 +00:00
  • e4e3bb397e Editor: Disable lazy loading term meta in get_block_templates. Jonny Harris 2023-05-17 09:21:09 +00:00
  • a56a83fc6c Media: Increase default for wp_omit_loading_attr_threshold to 3. Felix Arntz 2023-05-16 18:50:11 +00:00
  • 35c0ab3c74 Media: Prevent CSRF setting attachment thumbnails. Jb Audras 2023-05-16 14:26:01 +00:00
  • a6f0f3ea29 Embeds: Add protocol validation for WordPress Embed code. Jb Audras 2023-05-16 14:23:10 +00:00
  • b64aa36aa3 Editor: Ensure block comments are of a valid form. Jb Audras 2023-05-16 14:21:35 +00:00
  • 1cbfa03510 Editor: Remove shortcode support from block templates. Jb Audras 2023-05-16 14:19:06 +00:00
  • abbf859d53 I18N: Introduce sanitization function for locale. Jb Audras 2023-05-16 14:16:39 +00:00
  • 4313210c82 Taxonomy: Do not prime term meta in wp_get_object_terms. Jonny Harris 2023-05-16 12:29:34 +00:00
  • 0b10d2fc06 Docs: Clarify @param types on get_sample_permalink_html filter. Jb Audras 2023-05-16 05:23:55 +00:00
  • f375b68447 General: Remove a few is_object() checks followed by instanceof operator. Sergey Biryukov 2023-05-15 10:26:54 +00:00
  • 002a3e38dd Tests: Remove expectation of a deprecation notice from WP_Posts_List_Table tests. Sergey Biryukov 2023-05-14 18:43:46 +00:00
  • fdd333fa47 Code Modernization: Correct fallback return value in get_the_author(). Sergey Biryukov 2023-05-14 17:56:26 +00:00
  • 02d89bc44d Tests: Split the tests from user/author.php into individual test classes. Sergey Biryukov 2023-05-13 13:33:33 +00:00
  • 2310db697f Docs: Various corrections and improvements to inline docs and docblocks. John Blackbourn 2023-05-12 21:33:08 +00:00
  • 0746cc7324 Code Modernization: Explicitly declare all properties in Text_Diff_Engine_native. Sergey Biryukov 2023-05-12 08:49:13 +00:00
  • d913a47f4e Coding Standards: Use esc_url() to escape link URL value in wp-admin/edit-link-form.php. Jb Audras 2023-05-11 15:03:59 +00:00
  • de4bdd2850 I18N: Replace "Roll back" with "Restore" in user facing strings. Jb Audras 2023-05-11 14:48:55 +00:00
  • 3114eda235 Comments: Always lazily load comment meta. Jonny Harris 2023-05-11 12:25:51 +00:00
  • 1534d12067 Plugins: Remove is_object() check in WP_Hook:build_preinitialized_hooks(). Sergey Biryukov 2023-05-11 11:42:00 +00:00
  • 1a5b52a17e Networks and Sites: Lazy load site meta. Jonny Harris 2023-05-11 11:13:10 +00:00
  • bd92ca233d Tests: Partial revert of r55745 Jonny Harris 2023-05-11 10:31:29 +00:00
  • 07fc459e7a Tests: Use the function get_num_queries across all unit tests. Jonny Harris 2023-05-11 10:05:51 +00:00
  • 55ee499f4e Docs: describe return type of _get_block_template_file(). André 2023-05-11 09:01:55 +00:00
  • c40e0c6f81 Revisions: Add edit link functionality for the wp_template and wp_template_part post types. David Baumwald 2023-05-10 17:34:13 +00:00
  • 16ffd36f5d Tests: Move wp_cache_flush_runtime() next to wp_cache_flush(). SergeyBiryukov 2023-05-10 14:00:01 +00:00
  • c204a6aa27 Build/Test Tools: Call wp_cache_flush_runtime in WP_UnitTestCase. Jonny Harris 2023-05-10 09:09:06 +00:00
  • 860d506a8d Editor: Update block editor packages to the latest patch releases. Jb Audras 2023-05-09 14:10:02 +00:00
  • bf11005366 Docs: Improve HTML API file and class headers per the documentation standards. Sergey Biryukov 2023-05-09 11:17:14 +00:00
  • 74adacb801 Docs: Improve Style Engine file and class headers per the documentation standards. Sergey Biryukov 2023-05-09 10:35:06 +00:00
  • 4a0598ebb8 Docs: A host of corrections and improvements to inline documentation. John Blackbourn 2023-05-08 22:35:38 +00:00
  • 8acd96b9bc Docs: Update code examples formatting in WP_HTML_Tag_Processor documentation. Sergey Biryukov 2023-05-08 17:30:41 +00:00
  • d62f858189 Coding Standards: Bring more consistency to PHP 8.0 string function polyfills. Sergey Biryukov 2023-05-07 11:42:18 +00:00
  • 24c4d56d51 Docs: Remove @return void from various DocBlocks. Sergey Biryukov 2023-05-06 11:38:17 +00:00
  • d744c4d397 Docs: Correct the placement of @see tags in WP_HTML_Tag_Processor class. Sergey Biryukov 2023-05-05 12:41:29 +00:00
  • 17ff7ac2a3 HTML API: Restore mistakenly-removed content in documentation. Jb Audras 2023-05-05 10:56:24 +00:00
  • a5f3087f6b HTML API: Adjust coding style to pass Gutenberg linter. Bernie Reiter 2023-05-04 08:41:01 +00:00
  • 3a6d1fb02a Upgrade/Install: Create a temporary backup of plugins and themes before updating. Sergey Biryukov 2023-05-04 02:34:58 +00:00
  • eb248dc65b Docs: Correct and improve inline docs relating to the style engine. John Blackbourn 2023-05-03 23:55:50 +00:00
  • a3ed152c54 Docs: Improve formatting of markup in the docs for WP_HTML_Tag_Processor. John Blackbourn 2023-05-03 23:53:19 +00:00
  • b54303cd82 Build/Test Tools: Fix the permissions that are granted to the Slack notifications workflow. John Blackbourn 2023-05-03 23:20:40 +00:00
  • a67f9a0483 Help/About: Left-align 6.2 about page subheading. Jb Audras 2023-05-03 22:30:51 +00:00
  • 3bfc6611ad Build/Test Tools: Restrict the permissions granted to jobs on GitHub Actions John Blackbourn 2023-05-03 22:15:27 +00:00
  • eb409e4cac Filesystem API: Correct and improve the return type documentation for the dirlist() method in WP_Filesystem_Base and its extending classes. John Blackbourn 2023-05-03 21:28:11 +00:00
  • d73323e969 Script Loader: Update jQuery version to 3.6.4 to match the current version. Jb Audras 2023-05-03 21:25:40 +00:00
  • 9db82aa219 Docs: Miscellaneous formatting corrections to inline docs and whitespace. John Blackbourn 2023-05-03 19:44:49 +00:00
  • 90fb45dfdd Docs: Corrections and improvements to docblocks for global styles, global settings, theme.json parsing, and shortcodes. John Blackbourn 2023-05-03 18:46:44 +00:00
  • 8a074052c5 General: Restore strpos() check in wp-admin/load-styles.php. Sergey Biryukov 2023-05-03 15:44:39 +00:00
  • 252570e437 Post Types: Add the view_items label to the wp_block post type. Andrea Fercia 2023-05-03 14:06:10 +00:00
  • e3d345800d HTML API: Accumulate shift for internal parsing pointer. Bernie Reiter 2023-05-03 11:29:42 +00:00
  • e848581008 Docs: Various improvements in Bookmark Administration API function descriptions, as per docblocks standards. Jb Audras 2023-05-03 10:01:52 +00:00
  • 137cf0d461 Coding Standards: Remove unnecessary variable escapement in Bookmark Administration API. Jb Audras 2023-05-03 09:56:32 +00:00
  • 4cb3e1582a Code Modernization: Replace usage of strpos() with str_starts_with(). Sergey Biryukov 2023-05-02 15:43:03 +00:00
  • 73dbbe5372 Cache API: Add helper function wp_cache_set_last_changed. Jonny Harris 2023-05-02 11:24:52 +00:00
  • 9ef194bc4b Taxonomy: Remove redundant call to get_term in wp_queue_posts_for_term_meta_lazyload. Jonny Harris 2023-05-02 10:55:57 +00:00
  • 1bd815adbb External Libraries: Update license URL in Text_Diff library. Sergey Biryukov 2023-05-01 11:04:12 +00:00
  • 3895f70db0 Upgrade/Install: Update sodium_compat to v1.20.0. Sergey Biryukov 2023-04-30 14:06:51 +00:00
  • 9eb82c2458 Coding Standards: Break out of the inner loop in make_site_theme_from_default(). Sergey Biryukov 2023-04-29 18:28:37 +00:00
  • 8a5daa6b44 Coding Standards: Bring some consistency to REST API revisions initialization. Sergey Biryukov 2023-04-28 15:04:19 +00:00
  • 5e4d1bc2d6 REST API: Remove unused variable from the permissions check for deleting a revision. Sergey Biryukov 2023-04-28 10:03:12 +00:00
  • 5c247f75f3 Enqueue registered assets once. oandregal 2023-04-28 08:49:02 +00:00
  • 991fa6bff2 Docs: All sorts of improvements and corrections to function and hook docs. John Blackbourn 2023-04-27 23:13:36 +00:00
  • 65d27e4485 Docs: Correct and improve various documented types for properties, functions, and hooks. John Blackbourn 2023-04-27 22:27:51 +00:00
  • 350a1a871f Docs: Typo fix in WP_REST_Block_Pattern_Categories_Controller docblock. Jb Audras 2023-04-27 22:23:15 +00:00
  • f6e523329b Coding Standards: Use __DIR__ magic constant in wp-admin/options-privacy.php. Sergey Biryukov 2023-04-27 13:12:11 +00:00
  • 250250d35e Text Changes: Typo fix in README.md. Jb Audras 2023-04-26 22:26:36 +00:00
  • 7a0cf18880 Editor: Improve the tag field loading spinner alignment. Jb Audras 2023-04-26 21:36:43 +00:00
  • 6d4fc50edc Coding Standards: Remove an empty else statement in dbDelta(). Sergey Biryukov 2023-04-26 15:08:35 +00:00
  • 9836f18614 Themes: improve performance of get_block_templates(). André 2023-04-26 14:38:43 +00:00
  • 3c112a6e1b Themes: remove unused parameter in query for get_block_templates(). André 2023-04-26 14:25:19 +00:00
  • ed83c6aae8 General: Don't pass $action to wp_get_session_token() in wp_create_nonce(). Sergey Biryukov 2023-04-25 14:55:28 +00:00
  • 26e3948fca I18N: Use correct translation function in wp-admin/includes/media.php. Jb Audras 2023-04-24 21:26:12 +00:00
  • bfdb1adc6a Coding Standards: Update code layout in default_password_nag() for readability. Sergey Biryukov 2023-04-24 16:55:40 +00:00
  • c2bd49c91f Coding Standards: Escape edit profile URL in default_password_nag(). Jb Audras 2023-04-24 16:42:19 +00:00
  • 16f9d4d2f9 Docs: Use third-person singular verbs in various function descriptions, as per docblocks standards. Jb Audras 2023-04-24 16:35:17 +00:00
  • 201a30d387 Users: Change cache group from users-queries to user-queries. Jonny Harris 2023-04-24 13:51:15 +00:00
  • 588d9a85ff Coding Standards: Use strict comparison in wp-admin/includes/class-wp-site-icon.php. Sergey Biryukov 2023-04-23 04:00:26 +00:00
  • c2f262971c Coding Standards: Use strict comparison where strtolower() is involved. Sergey Biryukov 2023-04-22 15:17:47 +00:00
  • b55b935ccb Coding Standards: Remove unused $key variable in wp-admin/network/sites.php. Sergey Biryukov 2023-04-21 13:31:20 +00:00
  • 87154ab87d HTML API: Fix a case where updates are overlooked when seeking to earlier locations. zieladam 2023-04-21 13:30:11 +00:00
  • fea66becf5 HTML API: Update code style so it passes when backported into Gutenberg. zieladam 2023-04-21 12:31:29 +00:00
  • f047b94d71 Editor: Add selectors field to block type definition Greg Ziółkowski 2023-04-21 10:41:58 +00:00
  • fa92c3fcf2 Networks and Sites: Use is_main_site() in a few more places. Sergey Biryukov 2023-04-21 09:48:41 +00:00
  • 2c6bf77a9e Taxonomy: Always lazily load term meta. Jonny Harris 2023-04-21 09:22:04 +00:00
  • 70054b77af Security: Update GitHub security policy to refer to H1. Peter Wilson 2023-04-21 03:17:29 +00:00
  • 4ff67caa58 Script Loader: Improve code style and readability in _wp_normalize_relative_css_links(). Andrew Ozz 2023-04-21 03:11:46 +00:00
  • bbe7290f29 HTML API: Add support for a few invalid HTML comment forms. Bernie Reiter 2023-04-20 17:08:47 +00:00
  • 0f28f4cf1a Networks and Sites: Simplify the check for main site on Network Admin → Sites screen. Sergey Biryukov 2023-04-20 14:28:50 +00:00