Skip to content

Commit f0212e6

Browse files
author
Mark Vincent
authored
Merge pull request #19 from WildcardSearch/maintenance
2.0.3 Release
2 parents 5e597e5 + 9fded2c commit f0212e6

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## YourCode 2.0.2
1+
## YourCode 2.0.3
22
for MyBB 1.8.x
33

44
*Forget MyCode. Take control of YourCode-- a much better way of handling BB Code for MyBB forums*

Upload/inc/plugins/yourcode/forum.php

+6-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,12 @@ function yourcode_run_modules($message)
132132
$plugins->add_hook('datahandler_post_update', 'yourcode_datahandler_post_update');
133133
function yourcode_datahandler_post_update($this_post)
134134
{
135-
global $cache, $posthandler, $db, $message;
135+
global $mybb, $cache, $posthandler, $db, $message;
136+
if (THIS_SCRIPT == 'xmlhttp.php' &&
137+
$mybb->input['action'] == 'edit_subject') {
138+
return;
139+
}
140+
136141
$yourcode = $cache->read('yourcode');
137142

138143
$all_codes = array_merge((array) $yourcode['active']['restricted_use']['standard'], (array) $yourcode['active']['restricted_use']['nestable']);

Upload/inc/plugins/yourcode/install.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function yourcode_info()
6969
"website" => 'https://github.com/WildcardSearch/YourCode',
7070
"author" => $author,
7171
"authorsite" => 'http://www.rantcentralforums.com',
72-
"version" => '2.0.2',
72+
"version" => '2.0.3',
7373
"compatibility" => '18*',
7474
"guid" => '36a18ebc285a181a42561141adfd1d7f',
7575
);

0 commit comments

Comments
 (0)