ActionScheduler_wpPostStore::validate_action( ActionScheduler_Action $action )

InnoDB indexes have a maximum size of 767 bytes by default, which is only 191 characters with utf8mb4.


Description Description

Previously, AS wasn’t concerned about args length, as we used the (unindex) post_content column. However, as we prepare to move to custom tables, and can use an indexed VARCHAR column instead, we want to warn developers of this impending requirement.


Parameters Parameters

$action

(Required)


Top ↑

Source Source

File: packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.