Subir ajustes de acordeon y SEO

This commit is contained in:
Gabriel
2026-10-23 11:18:13 -06:00
parent 03333c3ce7
commit 14b96152a5
103 changed files with 6638 additions and 5316 deletions
@@ -154,6 +154,20 @@ function wpcf7_dashboard_right_now() {
) )
);
$plugin_updates = get_plugin_updates();
if ( isset( $plugin_updates[WPCF7_PLUGIN_BASENAME] ) ) {
$formatter->append_whitespace();
$formatter->append_start_tag( 'a', array(
'href' => admin_url( 'update-core.php' ),
) );
$formatter->append_preformatted(
esc_html( __( '» New version available', 'contact-form-7' ) )
);
}
$formatter->print();
}
@@ -24,7 +24,7 @@ class WPCF7_REST_Controller {
array(
'methods' => WP_REST_Server::READABLE,
'callback' => array( $this, 'get_contact_forms' ),
'permission_callback' => static function () {
'permission_callback' => function () {
if ( current_user_can( 'wpcf7_read_contact_forms' ) ) {
return true;
} else {
@@ -38,7 +38,7 @@ class WPCF7_REST_Controller {
array(
'methods' => WP_REST_Server::CREATABLE,
'callback' => array( $this, 'create_contact_form' ),
'permission_callback' => static function () {
'permission_callback' => function () {
if ( current_user_can( 'wpcf7_edit_contact_forms' ) ) {
return true;
} else {
@@ -58,7 +58,7 @@ class WPCF7_REST_Controller {
array(
'methods' => WP_REST_Server::READABLE,
'callback' => array( $this, 'get_contact_form' ),
'permission_callback' => static function ( WP_REST_Request $request ) {
'permission_callback' => function ( WP_REST_Request $request ) {
$id = (int) $request->get_param( 'id' );
if ( current_user_can( 'wpcf7_edit_contact_form', $id ) ) {
@@ -74,7 +74,7 @@ class WPCF7_REST_Controller {
array(
'methods' => WP_REST_Server::EDITABLE,
'callback' => array( $this, 'update_contact_form' ),
'permission_callback' => static function ( WP_REST_Request $request ) {
'permission_callback' => function ( WP_REST_Request $request ) {
$id = (int) $request->get_param( 'id' );
if ( current_user_can( 'wpcf7_edit_contact_form', $id ) ) {
@@ -90,7 +90,7 @@ class WPCF7_REST_Controller {
array(
'methods' => WP_REST_Server::DELETABLE,
'callback' => array( $this, 'delete_contact_form' ),
'permission_callback' => static function ( WP_REST_Request $request ) {
'permission_callback' => function ( WP_REST_Request $request ) {
$id = (int) $request->get_param( 'id' );
if ( current_user_can( 'wpcf7_delete_contact_form', $id ) ) {
File diff suppressed because one or more lines are too long
+6 -16
View File
@@ -5,7 +5,7 @@ Tags: contact form, schema-woven validation
Tested up to: 7.1
Requires at least: 7.1
Requires PHP: 8.3
Stable tag: 6.2.2
Stable tag: 6.2.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -25,21 +25,7 @@ It is hard to continue to maintain this plugin without support from users like y
= Privacy notices =
With the default configuration, this plugin, in itself, does not:
* track users by stealth;
* write any user personal data to the database;
* send any data to external servers;
* use cookies.
If you activate certain features in this plugin, the contact form submitter's personal data, including their IP address, may be sent to the service provider. Thus, confirming the provider's privacy policy is recommended. These features include:
* reCAPTCHA ([Google](https://policies.google.com/?hl=en))
* Akismet ([Automattic](https://automattic.com/privacy/))
* [Constant Contact](https://www.constantcontact.com/legal/privacy-center)
* [Brevo](https://www.brevo.com/legal/privacypolicy/)
* [Stripe](https://stripe.com/privacy)
* Turnstile ([Cloudflare](https://www.cloudflare.com/turnstile-privacy-policy/))
See [Plugin privacy notices](https://contactform7.com/plugin-privacy-notices/).
== Installation ==
@@ -66,6 +52,10 @@ Do you have questions or issues with Contact Form 7? Use these support channels
== Changelog ==
= 6.2.3 =
* [Release announcement](https://contactform7.com/2026/10/21/contact-form-7-623/)
= 6.2.2 =
* [Release announcement](https://contactform7.com/2026/10/11/contact-form-7-622/)
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-trunk',
'version' => 'dev-trunk',
'reference' => '2a5b1397127b6011e867143a5b9f979b527dab3a',
'reference' => '6a450d5fdbd07836ad7aceea80810c3ed19c4201',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-trunk',
'version' => 'dev-trunk',
'reference' => '2a5b1397127b6011e867143a5b9f979b527dab3a',
'reference' => '6a450d5fdbd07836ad7aceea80810c3ed19c4201',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@@ -7,14 +7,14 @@
* Author URI: https://github.com/rocklobster-in/
* License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Version: 6.2.2
* Version: 6.2.3
* Requires at least: 7.1
* Requires PHP: 8.3
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
define( 'WPCF7_VERSION', '6.2.2' );
define( 'WPCF7_VERSION', '6.2.3' );
define( 'WPCF7_REQUIRED_WP_VERSION', '7.1' );
@@ -1722,9 +1722,10 @@ class WP_Import extends WP_Importer {
*/
public function is_valid_meta_key( $key ) {
// skip attachment metadata since we'll regenerate it from scratch
// skip _wp_attachment_edit_root_id since source attachment IDs are not remapped
// skip _wp_font_face_file since the font file it names is not imported
// skip _edit_lock as not relevant for import
if ( in_array( $key, array( '_wp_attached_file', '_wp_attachment_metadata', '_wp_font_face_file', '_edit_lock' ), true ) ) {
if ( in_array( $key, array( '_wp_attached_file', '_wp_attachment_metadata', '_wp_attachment_edit_root_id', '_wp_font_face_file', '_edit_lock' ), true ) ) {
return false;
}
return $key;
@@ -5,7 +5,7 @@ Tags: importer, wordpress
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.2
Stable tag: 0.9.6
Stable tag: 0.9.7
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -40,6 +40,9 @@ If you would prefer to do things manually then follow these instructions:
== Changelog ==
= 0.9.7 =
* Skip the `_wp_attachment_edit_root_id` meta key on import. It stores an attachment ID from the source site, and attachment IDs change on import, so the imported value could point at an unrelated attachment on the destination site.
= 0.9.6 =
* Skip the `_wp_font_face_file` meta key on import. Font attachments regenerate this meta locally, and the imported value pointed at a file path from the source site.
* Prefix bundled vendor namespaces (`Rowbot\URL`, `Brick\Math`, `Psr\Log`, and others) with `VendorPrefix\` to avoid class redefinition errors when another plugin bundles the same libraries.
@@ -6,7 +6,7 @@
* Description: Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file.
* Author: wordpressdotorg
* Author URI: https://wordpress.org/
* Version: 0.9.6
* Version: 0.9.7
* Requires at least: 5.2
* Requires PHP: 7.2
* Text Domain: wordpress-importer