PluginProbe
ActivityPub / 8.0.2
ActivityPub v8.0.2
9.3.1 9.3.0 9.2.2 9.2.1 9.2.0 9.1.0 9.0.2 9.0.1 9.0.0 8.3.0 8.2.1 8.2.0 8.1.1 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.2.0 1.3.0 2.0.0 2.0.1 2.1.0 2.1.1 All 160 releases
← All changes | includes/activity/class-base-object.php +3 -8 9.2.08.0.2 View file →
@@ -126,11 +126,8 @@
126 126 'Hashtag' => 'as:Hashtag',
127 127 'sensitive' => 'as:sensitive',
128 128 'dcterms' => 'http://purl.org/dc/terms/',
129 129 'gts' => 'https://gotosocial.org/ns#',
130 - 'schema' => 'http://schema.org/',
131 - 'exifData' => 'schema:exifData',
132 - 'PropertyValue' => 'schema:PropertyValue',
133 130 'interactionPolicy' => array(
134 131 '@id' => 'gts:interactionPolicy',
135 132 '@type' => '@id',
136 133 ),
@@ -161,10 +158,8 @@
161 158 'always' => array(
162 159 '@id' => 'gts:always',
163 160 '@type' => '@id',
164 161 ),
165 - 'toot' => 'http://joinmastodon.org/ns#',
166 - 'blurhash' => 'toot:blurhash',
167 162 ),
168 163 );
169 164
170 165 /**
@@ -635,9 +630,9 @@
635 630 * @return mixed The value.
636 631 */
637 632 public function get( $key ) {
638 633 if ( ! $this->has( $key ) ) {
639 - return new \WP_Error( 'invalid_key', \__( 'Invalid key', 'activitypub' ), array( 'status' => 404 ) );
634 + return new \WP_Error( 'invalid_key', __( 'Invalid key', 'activitypub' ), array( 'status' => 404 ) );
640 635 }
641 636
642 637 return parent::get( $key );
643 638 }
@@ -651,9 +646,9 @@
651 646 * @return mixed The value.
652 647 */
653 648 public function set( $key, $value ) {
654 649 if ( ! $this->has( $key ) ) {
655 - return new \WP_Error( 'invalid_key', \__( 'Invalid key', 'activitypub' ), array( 'status' => 404 ) );
650 + return new \WP_Error( 'invalid_key', __( 'Invalid key', 'activitypub' ), array( 'status' => 404 ) );
656 651 }
657 652
658 653 return parent::set( $key, $value );
659 654 }
@@ -667,9 +662,9 @@
667 662 * @return mixed The value.
668 663 */
669 664 public function add( $key, $value ) {
670 665 if ( ! $this->has( $key ) ) {
671 - return new \WP_Error( 'invalid_key', \__( 'Invalid key', 'activitypub' ), array( 'status' => 404 ) );
666 + return new \WP_Error( 'invalid_key', __( 'Invalid key', 'activitypub' ), array( 'status' => 404 ) );
672 667 }
673 668
674 669 return parent::add( $key, $value );
675 670 }